Tree2 Client Rendered when using MyFaces tiles support will not inject javascript tags correctly. -------------------------------------------------------------------------------------------------
Key: TOMAHAWK-434 URL: http://issues.apache.org/jira/browse/TOMAHAWK-434 Project: MyFaces Tomahawk Type: Bug Components: Tree2 Versions: 1.1.2 Environment: Rendered on client and on a page using the MyFaces Tiles integration. Reporter: Chris Hornsey When I put the tree control on a pge which uses the tiles support from MyFaces, then rendere page has the injected javascript references broken up. The page can not parse the rendered html to get a proper reference to the javascript files, thus the javascript functions needed when clicking the expand nodes will not execute. The javascript tags are rendered slightly above the begining of the controls form tag. You can see that the comment tag was interputed, it may be as simple as flushing the buffer in the appropriate spots: clear_propertyListResult(); //--></script></form></td></tr> </tbody></table> <!-- MYFACES JAVASCR <script type="text/javascript" src="/CARE/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11474621/tree2.HtmlTreeRenderer/javascript/tree.js"><!-- //--></script> -- 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