looks like attaching stuff works... (see markmail service ;-) ) Ok... FWIW, here are the
Response Headers X-Powered-By JSF/2.0 Content-Type text/xml; charset=utf-8 Cache-Control no-cache Content-Length 9539 Server Jetty(6.1.16) Request Headers Host localhost:8080 User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Faces-Request partial/ajax Content-Type application/x-www-form-urlencoded; charset=UTF-8 Referer http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx Content-Length 427 Cookie JSESSIONID=mn2ix7318jdw Pragma no-cache Cache-Control no-cache -Matthias On Thu, Dec 3, 2009 at 1:44 PM, Matthias Wessendorf <[email protected]> wrote: > Hi Pavitra, > > ok. Not sure I really got everything here... > > Once I apply the "IllegalStateException.patch", and I run the > "pprDemos.jspx" (there is no ajaxPPRDemos.jspx; not in the demo, nor > in the patch), > I get the following JS alert() Error, when I do some ajax stuff (e.g. > clicking the "partialSubmit Button" button in the pprDemos.jspx page): > (I had to modify the pprDemos.jspx page by adding <h:outputScript /> > to trigger the JS rendering, for the Ajax library) > > => malformed XML: Top level node must be one of: changes, redirect, > error, received: #text instead > I am running on => Ubuntu 9.10 and Firefox is 3.5.5. A screenshot of > the response is attached to this mail > > I also don't get any server-side error regarding the IllegalStateException. > > Are you talking about a specific page, which you forgot to include in > your page ? > Or am I just missing something here ? Let me know :-) > > PS: I only CC'd you as I want to make sure you receive the attached image... > ;-) > > Greetings, > Matthias > > > > On Wed, Dec 2, 2009 at 9:01 PM, Pavitra Subramaniam > <[email protected]> wrote: >> Hi, >> >> I have provided a patch which fixes issue 1649. The fix is to update the >> Trinidad ResponseWriter classes to override the new APIs added to >> javax.faces.context.ResponseWriter in JSF2.0. I am working on a project that >> uses the JSF 2.0 Ajax channel over Trinidad's and without these changes, the >> partial response never gets built properly. >> >> The changes made are: >> ResponseWriterDecorator.java (now extends ResponseWriterWrapper. Ideally we >> should remove ResponseWriterDecorator entirely and just use JSF2.0 >> ResponseWriterWrapper) >> HtmlResponseWriter.java (overrides 2 new methods added to >> javax.faces.context.ResponseWriter but never really gives a compilation >> error). >> XmlResponseWriter.java (same as above) >> XhtmlResponseWriter.java (-do-) >> >> If there are no questions regarding this change, I would like to submit my >> patch for approval. >> >> Thanks >> Pavitra > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
