You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/02/07 11:30:59 UTC
[jira] Commented: (MYFACES-1097) Duplicated id generation for
jsf_tree, jsf_state and jsf_viewid
[ http://issues.apache.org/jira/browse/MYFACES-1097?page=comments#action_12365417 ]
Martin Marinschek commented on MYFACES-1097:
--------------------------------------------
It is strongly recommended to use only one form on a page - and use the s:subForm feature for handling partial model-update and validation.
regards,
Martin
> Duplicated id generation for jsf_tree, jsf_state and jsf_viewid
> ---------------------------------------------------------------
>
> Key: MYFACES-1097
> URL: http://issues.apache.org/jira/browse/MYFACES-1097
> Project: MyFaces
> Type: Bug
> Components: Implementation
> Versions: Nightly
> Environment: JDK5, Tomcat-5.5 and MyFaces SVN
> Reporter: Jesper Pedersen
>
> The forms included in the resulting HTML page contains the same value for the id attributes.
> F.ex:
> <input type="hidden" name="jsf_tree_64" id="jsf_tree_64" value="H4...."/>
> <input type="hidden" name="jsf_state_64" id="jsf_state_64" value="H4...."/>
> <input type="hidden" name="jsf_viewid" id="jsf_viewid" value="..."/>
> are used for all forms on the page.
> This make the page fail W3C/HTMLvalidation.
> Line 239 column 2703: ID "jsf_state_64" already defined.
> Line 165 column 2703: ID "jsf_state_64" first defined here.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira