[ http://issues.apache.org/jira/browse/MYFACES-950?page=comments#action_12361390 ]
Andrej Konkow commented on MYFACES-950: --------------------------------------- Just for info: I have found out about one of the two problems: The first request to the webapp is just calling the name of the context. For example: http://localhost:8080/myapp This causes the webapp to search for the index.jsp which makes a forward to my mainview.jsf That's the problem. If sending a redirect instead of a forward then the jscookmenu is rendered from the beginning. As subsequent requests directly call any jsf pages the problem is solved after the first request. The remaining problem with the apostrophe is not yet solved. > Missing singlequote in javascript codegeneration > ------------------------------------------------ > > Key: MYFACES-950 > URL: http://issues.apache.org/jira/browse/MYFACES-950 > Project: MyFaces > Type: Bug > Components: Tomahawk > Environment: tomcat, jdk5 > Reporter: Andrej Konkow > > using the attribute styleLocation/imageLocation in the element jscookmenu > causes the following code: > jsp: > <t:jscookMenu id="mainnav" layout="hbr" theme="ThemeIE" > styleLocation="/myapp/jscookmenu/ThemeIE/" > imageLocation="/myapp/jscookmenu/ThemeIE/"> > Generated code: > <script type="text/javascript"><!-- > myThemeIEBase='/myapp/jscookmenu/ThemeIE/ > //--></script> > The closing quote at the variable myThemeIEBase is missing!!! -- 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
