Hi, just for your information. I solved it for me by just using <trh:tableLayout> instead of the innermost <tr:panelFormLayout>. The labels, messages and inputs will be lined up correctly.
-- Regards, Mathias > -----Original Message----- > From: Mathias Walter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2008 7:36 PM > To: 'MyFaces Discussion' > Subject: [Trinidad] nested tr:panelFormLayout > > > Hi, > > I'd like to have the following component structure: > > <tr:table> > <f:facet name="detailStamp"> > <tr:panelFormLayout> > some <tr:inputText> > <tr:table> > <f:facet name="detailStamp"> > <tr:panelFormLayout> > some <tr:inputText> > </tr:panelFormLayout> > </f:facet> > </tr:table> > </tr:panelFormLayout> > </f:facet> > </tr:table> > > Unfortunately, the innermost tr:panelFormLayout does not align the > inputTexts like the outermost tr:panelFormLayout. The input > element will be > placed below the label. That's not what I want and what's expected. > > According to the documentation: If this panelFormLayout is > inside of another > panelFormLayout, maxColumns will always be 1. > But that sould not affect a nondirect nested panelFormLayout. And > maxColumns=1 does not mean that label and input will be > aligned one upon the > other. > > How can I achive a correct panelFormLayout for the innermost > components? > > BTW: I'm using Trinidad 1.2.8 with Facelets 1.1.14. > > -- > Kind regards, > Mathias