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
<<attachment: panelFieldsetLayout.GIF>>

