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

petemuir do-not-reply at jboss.com
Thu Mar 15 20:47:43 EDT 2007


cavani, not really, as you could have multiple layoutForm's on the page, but you can only have *one* focus.  If

<h:inputXXX>
  |    <s:initialFocus />
  | </h:inputXXX>

is useful, put a feature request for s:initialFocus in JIRA.

cja987, I've added {before,after,around}RequiredField facet's to s:decorate (which can be used independently of s:layoutForm) and behave just like xxxInvalidField, but are always rendered (and inside of the other s:decorate facets) as well as {before,after,around}RequiredLabel, {before,after,around}InvalidLabel, {before,after,around}Label (which can only be used with s:layoutForm).

Ronald, ic :) - so, {before,after,around}RequiredField deals with the star.  What html would you suggest for a belowField when not inside the layoutForm table (there it's easy, just add an extra tr)?

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

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



More information about the jboss-user mailing list