This content has been marked as final.
Show 2 replies
-
1. Re: Chart generation fails with URL rewriting
norman Oct 17, 2008 5:18 PM (in response to nicolasr)Are you saying that without URL rewriting this works correctly? Can you show your rewrite rules?
-
2. Re: Chart generation fails with URL rewriting
nicolasr Oct 17, 2008 5:30 PM (in response to nicolasr)I didn't mean that I defined any complicated rewrite rules. I just used the <Context cookies="false"/> option to tell the JBoss not to use cookies but to append ;jsessionid=... to every URL.
The chart is shown if I append the jsessionid manually.
I already did a patch in the UIChart class, line 316:
I added this line to enable URL-Rewriting.
url = ((javax.servlet.http.HttpServletResponse)context.getExternalContext().getResponse()).encodeRedirectURL(url);
It seems to work.