javax.faces.STATE_SAVING_METHOD produces invalid XHTML

Hi to all,

it seems that setting the value javax.faces.STATE_SAVING_METHOD in the web.xml causes invalid XHTML code.

I checked the produced code using the validator of w3.org.

All of the errors are caused by the input field which should save the state. Here are the errors:

ID"jsf_tree_64" already defined.

ID"jsf_state_64" already defined.

ID"jsf_viewid" already defined.

These 3 errors are repeated very often. What's wrong here?

Please help. Thanks

Manuel

[599 byte] By [GaCo_Warlocka] at [2007-11-26 15:03:15]
# 1
My guess is that you have multiple forms per page. This means for each form, those state fields will be written out - this is a necessary evil in order to preserve view state for the entire view.
rlubkea at 2007-7-8 8:52:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...