Hello everyone,
I tried to use jscookMenu (from tomahawk) in a facelet.
The HtmlJSCookMenuRenderer invokes
| AddResource.addJavaScriptToHeader(javascriptLocation, "JSCookMenu.js",
context)
|
but the implementation causes a class-cast-exception (as excepted, see the todo
comment from the tomahawk source):
| private static void addAdditionalHeaderInfoToRender(FacesContext
context, AdditionalHeaderInfoToRender info){
|
| //todo: fix this to work in PortletRequest as well
| HttpServletRequest request = (HttpServletRequest)
context.getExternalContext().getRequest();
| Set set = getAdditionalHeaderInfoToRender( request );
| set.add( info );
| }
|
Is there a workaround?
Thanks in advance,
Martin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925343#3925343
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925343
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user