Yeah, I initially went with the enhanced panelFormLayout approach and decided against it.
The name is also frustrating, so how about <tr:panelCaptionGroup ...>? I'll give it 24hrs for other people to chime in, then I'll go with the above. Thanks, Danny On 9/4/07, Adam Winer <[EMAIL PROTECTED]> wrote: > > Yep, I agree that the Layout suffix shouldn't be there. > I'm wondering if we want a name more abstracted from > the HTML "fieldset" concept, though none really > come to mind. > > Or, as a perhaps more radical suggestion, could this be > something embedded inside panelFormLayout? Like if > we supported "caption" on af:group? > > <af:panelFormLayout> > <af:group caption="Personal Details"> > <af:inputText.../> > </af:group> > </af:panelFormLayout> > > This has some major disadvantages, though. It's probably > significantly harder to implement (more grunge in the > already grungy PanelFormLayout code) and no way to use it > outside of panelFormLayout. So I've probably just talked myself > out of this suggestion. :) > > -- Adam > > > > On 8/30/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > > Hello Danny, > > > > True, panelBox does not include the Layout suffix (a fact I somehow > > forgotten / overlooked), so stripping the Layout suffix is fine with me. > I > > like the attribute shortcut for the legend as well. > > > > > > ~ Simon > > > > > > On 8/30/07, Danny Robinson <[EMAIL PROTECTED]> wrote: > > > I knocked together this component to see what it would look like and > what > > skin selectors would be required. Here's some tag examples and an > attached > > screenshot. > > > > > > FWIW while Simon's name suggestion was better, I'm not fan of the > 'Layout' > > suffix, as it doesn't actually perform layout, and is therefore closer > in > > functionality to panelBox. > > > > > > <tr:panelFieldsetLayout captionText="Personal > Details"> > > > <tr:panelFormLayout> > > > <tr:inputText label="First Name" /> > > > <tr:inputText label="Middle Initial" > columns="1"/> > > > <tr:inputText label="Family Name" /> > > > <tr:selectOneChoice label="Suffix" /> > > > </tr:panelFormLayout> > > > </tr:panelFieldsetLayout> > > > > > > OR > > > <tr:panelFieldsetLayout > > > captionText="This shouldn't appear"> > > > <f:facet name="caption"> > > > <tr:icon name="error" /> > > > </f:facet> > > > <tr:inputDate label="Date of Birth" /> > > > </tr:panelFieldsetLayout> > > > > > > Thoughts anyone, > > > > > > D. > > > > > > > > > > > > On 8/29/07, Simon Lessard < [EMAIL PROTECTED]> wrote: > > > > Hello Danny, > > > > > > > > I would prefer something along the lines of tr:panelFieldSetLayout > with > > a legend facet. > > > > > > > > > > > > Regards, > > > > > > > > ~ Simon > > > > > > > > > > > > > > > > On 8/29/07, Danny Robinson <[EMAIL PROTECTED]> wrote: > > > > > Would there be interest in a skinnable/ajaxified component that > > rendered output using html fieldset/legend. We'd like to include this > in > > our applications and I'm keen to keep our users away from introducing > other > > component libraries just for the odd extra component. > > > > > > > > > > I'm struggling to think of a nice sounding tag name, other than > > tr:panelBoxAndLegend but it could look something like: > > > > > > > > > > <tr:panelBoxAndLegend title="The legend"> > > > > > ... > > > > > </tr:panelBoxAndLegend> > > > > > > > > > > Thanks, > > > > > > > > > > Danny > > > > > > > > > > -- > > > > > Chordiant Software Inc. > > > > > www.chordiant.com > > > > > > > > > > > > > > > > > > > > -- > > > Chordiant Software Inc. > > > www.chordiant.com > > > > > > > > -- Chordiant Software Inc. www.chordiant.com

