[jboss-user] [JBoss Seam] - s:decorate input control ID change from 1.2 to 2.0

tynor do-not-reply at jboss.com
Tue Sep 25 13:14:03 EDT 2007


I reported a Seam2 bug to Richfaces that turned out to be a Seam bug 
and apparently already fixed in CVS (http://jira.jboss.org/jira/browse/JBSEAM-1947)
(thanks Sergey and Pete!) 

I have a related question: another change in JSF ID names have broken our selenium test and many of our Javascript functions which refer to input controls by ID.

Given something like: 

 <s:decorate id="fooDecoration" template="/WEB-INF/facelets/templates/edit.xhtml">
  |    <ui:define name="label">Foo</ui:define>
  |    <h:inputText id="foo" value="#{fooHome.instance.foo}"/>
  |  </s:decorate>	

In Seam1.2.1, the control was addressable as "fooForm:foo". In Seam2, that has changed and we must address it as "fooForm:fooDecoration:foo".

Is this intentional? Is it likely to change before 2.0.0GA? 

Thanks!


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

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



More information about the jboss-user mailing list