You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Heinen (JIRA)" <de...@myfaces.apache.org> on 2006/10/04 11:46:19 UTC
[jira] Created: (MYFACES-1431) missing javascript for subform
(since myFacesCore 1.1.4)
missing javascript for subform (since myFacesCore 1.1.4)
--------------------------------------------------------
Key: MYFACES-1431
URL: http://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 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