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