[ https://issues.apache.org/jira/browse/MYFACES-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko reopened MYFACES-1431: ---------------------------------------- > missing javascript for subform (since myFacesCore 1.1.4) > -------------------------------------------------------- > > Key: MYFACES-1431 > URL: https://issues.apache.org/jira/browse/MYFACES-1431 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: myFacesCore 1.1.4 > tomahawk 1.1.3 > tomahawk sandbox 1.1.3 Snapshot > tomcat 5.5.17 > jdk 1.5.0.7 > Reporter: Michael Heinen > > This problem does occur after updating to myFacesCore 1.1.4. > I does not occur with myFacesCore 1.1.3!!! > (Therefore I entered this bug for myFacesCore 1.1.4 and not for tomahawk > 1.1.3) > I have two subforms inside a form. Each subform contains command buttons. > I receive JavaScript errors if I click the command buttons: > > Generated HTML for the button with core 1.1.4: > <input id="docform:singleFormId:_idJsp210" > name="docform:singleFormId:_idJsp210" type="submit" value="Accept" > onclick="clear_docform_3AsingleFormId();" style="z-index:1" > class="button_img_60" accesskey="a" /> > JS Error: clear_docform_3AsingleFormId not defined > Generated HTML for the button with core 1.1.3: > <input id="docform:singleFormId:_idJsp210" > name="docform:singleFormId:_idJsp210" type="submit" value="Accept" > onclick="clear_docform();" style="z-index:1" class="button_img_60" > accesskey="a" /> > > JSP source: > <x:subForm id="singleFormId"> > ... > <h:commandButton actionListener="#{MyController.accept}" value="accept" > styleClass="button_img_60" style="z-index:1" accesskey="a"/> > ... -- This message was sent by Atlassian JIRA (v6.3.4#6332)