Rendered java script is broken inside subView with subForm.
-----------------------------------------------------------
Key: TOMAHAWK-445
URL: http://issues.apache.org/jira/browse/TOMAHAWK-445
Project: MyFaces Tomahawk
Type: Bug
Environment: last SVN head version
Reporter: Grigoras Cristinel
Priority: Critical
The java script is broken.
I have page like in example:
<body>
<h:form id="pageForm">
<f:subview id="header">
<s:subForm id="headerForm">
<h:commandLink ..../>
</s:subForm
</f:subview>
<f:subview id="manyOther...">
.........
</f:subview>
</h:form>
<body>
The java scrip rendered on onclick form command is like that..:
onclick="clear_pageForm_3Aheader_3AheaderForm();document.forms['pageForm:header:headerForm'].elements['autoScroll'].value=getScrolling();
.........
The clear function is clear_pageForm() The rendered result is bad.
Cristi
--
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