[ 
http://issues.apache.org/jira/browse/MYFACES-1097?page=comments#action_12365418 
] 

Jesper Pedersen commented on MYFACES-1097:
------------------------------------------

I agree, but it is difficult when using a tiles based application where each 
tile may or may not contain a form.

The two problems I see:

 1) When should the <h:form> be inserted/ended ?
 2) What about <x:saveState> ? 

The subForm.jsp example nicely shows how to use the tag, but it doesn't take 
more advanced things into account IMHO.

Please, don't take this as negative feedback - I see JSF as *the* web framework.

Best regards,
 Jesper


> 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

Reply via email to