Re: wocomponent wizard preview

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Feb 24 2009 - 00:18:20 EST

  • Next message: Anjo Krank: "Re: wocomponent wizard preview"

    On Feb 23, 2009, at 9:14 PM, Q wrote:

    >
    > On 24/02/2009, at 2:53 PM, Chuck Hill wrote:
    >
    >>
    >> On Feb 23, 2009, at 8:37 PM, Q wrote:
    >>
    >>>
    >>> On 24/02/2009, at 9:26 AM, Lachlan Deck wrote:
    >>>
    >>>> On 24/02/2009, at 9:27 AM, Q wrote:
    >>>>
    >>>>> On 24/02/2009, at 2:16 AM, John Huss wrote:
    >>>>>
    >>>>>> +1 for simplicity.
    >>>>>>
    >>>>>> Would it be possible have a default value for "package" which
    >>>>>> is the same package as Main.java?
    >>>>>
    >>>>> From memory the current wizard might already do this, and is
    >>>>> also slightly smarter than that again. It should default the
    >>>>> package to the package of the component that was selected before
    >>>>> you ran new wocomponent, failing that, if you selected a folder
    >>>>> I think it actually looks in the folder and uses the same
    >>>>> package as the first wo component it finds in there. So when
    >>>>> organising components into folders and corresponding packages
    >>>>> the first one you create in a new folder may not have the
    >>>>> desired package as the default, but every one after that should.
    >>>>
    >>>> Now auto-populating the package... (some extra tweaking will come)
    >>>
    >>>
    >>> Looking better. Here are a few thoughts using mike's red pen:
    >>>
    >>> <Picture 5.jpg>
    >>>
    >>> - There is no validation failure reason for not being able to
    >>> click finish.
    >>> - Providing a no content option in the doctype combo could
    >>> possibly eliminate the need for the doctype checkbox.
    >>
    >> Are you thinking of using this for templates? e.g. No Content,
    >> Full Page, My Custom Template etc?
    >
    > Yes, that's exactly what I was thinking of as the end game. Although
    > until we have custom templates it's probably going to be limited to
    > just selecting a doctype.

    I like. I'd definitely use that for custom templates.

    Chuck

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Tue Feb 24 2009 - 00:18:57 EST