Re: svn commit: r566325 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java

2007-08-16 Thread Mario Ivankovits
Hi! Where does the responseWriter get the encoding from? Is that configured? Like your code, it gets it from pageContext.getRequest().getCharacterEncoding() (in UIComponentTag), however, there is no need to do any instanceof and cast if you ask the ResponseWriter later then. Ciao, Mario

Re: svn commit: r566325 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java

2007-08-15 Thread Mario Ivankovits
Hi! http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java?view=diffrev=566325r1=566324r2=566325 + String encoding = UTF-8 ; // Hardcoded default + if(externalContext.getRequest() instanceof

Re: svn commit: r566325 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/PPRPanelGroupRenderer.java

2007-08-15 Thread Ernst Fastl
Hi, Might be an option too. I thought it best to return the client the encoding he requests. Maybe the responseWriter-encoding should be used before the hardcoded default. Where does the responseWriter get the encoding from? Is that configured? cheers Ernst On 8/15/07, Mario Ivankovits [EMAIL