I think you are trying to do it with the myfaces last release (1.0.9m9), because it is the version available in http://myfaces.apache.org/binary.cgi and I don't know if that worked then... can you try using a nightly? (from http://cvs.apache.org/builds/myfaces/nightly/). Sean and I have already tested the last examples and everything is working as expected. If this does not work, please tell me again....
Good luck! :-) Bruno 2005/8/2, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Bruno, thanks for the reply. I am looking at a file called forceId.jsp under > myfaces-simple-examples that was unwarred from a file I downloaded at > http://myfaces.apache.org/binary.cgi . I grepped the file > for "hidden" and I didn't get anything - I am nevertheless sure the example > works. Can you please review the below? > > 1.) > <f:view> > <h:form> without forceId > <x:inputText id="a" value="a" /> > <x:inputHidden id="b" value="b" /> > </h:form> > </f:view> > > ... yields the following. Notice both controls are prefixed with the > autogenerated form id. > > <form id="_id0" name="_id0" method="post" > action="/arims/test.jsf;jsessionid=988BFED4C137C3EE92284C10160779C4" > enctype="application/x-www-form-urlencoded"> without > forceId > <input id="_id0:a" name="_id0:a" type="text" value="a"/> > <input type="hidden" id="_id0:b" name="_id0:b" value="b"/> > <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" > name="autoScroll"/></form> > > 2.) But ... > > <f:view> > <h:form> > <x:inputText forceId="true" id="a" value="a" /> > <x:inputHidden forceId="true" id="b" value="b" /> > </h:form> > </f:view> > > ... yields the following. Notice that the form id is still prepended for > inputHidden. > > <form id="_id0" name="_id0" method="post" > action="/arims/test.jsf;jsessionid=1593D31E84224BDBDA41EE6326E8E0AC" > enctype="application/x-www-form-urlencoded"> with forceId > <input id="a" name="a" type="text" value="a"/> > <input type="hidden" id="_id0:b" name="_id0:b" value="b"/> > <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" > name="autoScroll"/></form> > > The only other code in the JSP are the following three lines. I get the > same behavior if the id for the form is specified. I'm using the 1.0.9 > release. Thanks again for the reply. > <[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html" prefix="h" %> > <[EMAIL PROTECTED] uri="http://java.sun.com/jsf/core" prefix="f"%> > <[EMAIL PROTECTED] prefix="x" > uri="http://myfaces.apache.org/extensions" %> > > Dennis Byrne >

