This is because the tr:panelHorizontalLayout is getting in the way.
The labelAlignment will only apply to inputs that are direct children
of the panelFormLayout.  If you want to force 2 columns of inputs, you
can also set rows="1" maxColumns="2" on the panelFormLayout.

Regards,
Matt

On Thu, Oct 2, 2008 at 5:02 PM, Danielle <[EMAIL PROTECTED]> wrote:
> I'm using the <tr:panelFormLayout> with the property labelAlignment="top"
> but the labels are still being displayed on the side.
>
> This is the segment:
>
> <tr:panelFormLayout labelAlignment="top">
>                                 <tr:panelHorizontalLayout valign="top">
>                                     <tr:inputText value="#{form.firstName}"
>                                         label="#{msgBundle['fname']}"
> required="true"
>                                         columns="22" />
>                                     <tr:inputText
> value="#{form.secondLastName}"
>                                         label="#{msgBundle['lname2']}"
> required="true"
>                                         columns="#22" />
>                                 </tr:panelHorizontalLayout>
> </tr:panelFormLayout>
>
> Any suggestions to change the label alignment correctly?
>
>
> Thanks.
>
>

Reply via email to