[jboss-user] [JBoss Seam] - Re: s:layoutForm

petemuir do-not-reply at jboss.com
Thu Mar 15 10:34:11 EDT 2007

I couldn't see a way of incorporating this into s:decorate - I assume you are suggesting:

<h:panelGrid columns="2">
  |    <s:decorate>
  |       <f:facet name="label">
  |          ...
  |       </f:facet>
  |       <h:inputText ... />
  |    </s:decorate>
  | </h:panelGrid>

as this actually involves adding/removing components to/from the tree (which is tricky).

I can't see an issue with custom components and s:layoutForm - all it does is create a two column table, place the label facet in the left hand column, the s:decorate in the righthand column, and optionally create an extra row for the belows.  You can style the table as you like (with style/styleClass) but the rows and cells can't be styled.  What sort of issues were you thinking of?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028405#4028405

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028405

More information about the jboss-user mailing list