You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2009/05/18 19:09:09 UTC

UIForm does not work inside DataList

<h:form> does not work inside <t:dataList>
 <h:dataList value="#{bean.beanList}" var="bean">

  <h:form>
      ....
  </h:form>

</h:dataList>

For more than one form in the data list, the UIForm's submitted value is 
overriden by the last one. For example, if I click a button in the first form, 
in processDecode(...), the submitted value is set to true by the first form, 
then is set to false by the 2nd form. As a result, there will be no Model 
update to the UIForm component.
 
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1120
 
I am using Jsf Ri 1.2.12 and Tomahark1.2.