[
http://issues.apache.org/jira/browse/MYFACES-950?page=comments#action_12361397
]
Andrej Konkow commented on MYFACES-950:
---------------------------------------
I have been investigating some time in this issue now. The results:
using <t:jscookMenu id="mainnav" layout="hbr" theme="ThemeIE"
styleLocation="#{profileBean.webcontext}#{profileBean.profilepath}"
imageLocation="#{profileBean.webcontext}#{profileBean.profilepath}">
leads to the problem as described above.
Leaving away the attribute imageLocation leads to the correct generation (with
closing quotes):
<script type="text/javascript"><!--
myThemeIEBase='/myapp/faces/myFacesExtensionResource/navmenu.jscookmenu.HtmlJSCookMenuRenderer/11302665/ThemeOffice/';
//--></script>
Seems to me that imageLocation is not working properly.
By the way: Although my specified theme is "ThemeIE" the generated link
references to ThemeOffice....
Happy new year!
> 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