PPR is totally overhauled from 1.2.1 to 1.2.2, so changes
aren't a surprise.  The question is why this is happening,
and we need more information, because we did (honest)
test this code quite a bit, so there's something different about
your set up, and ideally you could play around with a lot
of variables.

First up, are you really only using the RI?  No MyFaces
implementation also lying around on the classpath?  I'm
guessing this is Firefox?  Is this Facelets?  If so, what
version?  If JSP, is that really the full content of your page?
Are you using XHTML?  If so, is the problem specific
to XHTML (that is, does it go away if you build an
HTML page)?

-- Adam


On 9/18/07, Tobias Freier <[EMAIL PROTECTED]> wrote:
>
>
> Leonardo Uribe wrote:
> >
> > ["Invalid PPR response. The response-headers were:\nServer:
> > Apache-Coyote/1.1\nContent-Type: text/xml;ch..."]
> >
> I'm facing a similar error on my page.
> Tomcat 6.0.13 with Java 6 upd 2 and the newest version 1.2.2 of trinidad and
> RI jsf 1.2.4.
>
> trimmed jsf code:
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <f:view>
> <head>
> </head>
> <trh:body id="a1">
>   <tr:form id="form1">
>     <tr:table id="table1" ...>
>       <tr:column styleClass="mystyle">
>         <h:outputText value="#{table.value}" styleClass="boldText" />
>       </tr:column>
>     </tr:table>
>   </tr:form>
> </trh:body>
> </f:view>
> </html>
>
> So body, form and table have an id.
> When I try to change the range of the table or trigger any other event to
> update the tabele it doesn't work. The RangeChangeEvent method is executed
> but the page doesn't refresh. Instead I get the js error
>
> "Invalid PPR response. The response-headers were:\nServer:
> Apache-Coyote/1.1\nX-Powered-By: JSF/1.2\nContent-Type:
> text/xml;charset=utf-8\nContent-Language: de\nTransfer-Encoding:
> chunked\nDate: Tue, 18 Sep 2007 23:45:14 GMT\n\n The invalid response
> was:\n<?xml version=\"1.0\" encoding=\"UTF-8\"
> ?>\r\n\r\n\r\n\r\n\r\n\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
> Transitional//EN\"
> \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\";>\r\n<html
> xmlns=\"http://www.w3.org/1999/xhtml\";>\r\n<?xml version=\"1.0\"
> ?>\n<?Tr-XHR-Response-Type ?>\n.......
> content to replace...
>
> The same code worked under trinidad 1.2.1
> Does anyone has a clue why it doesn't work with 1.2.2?
>
> Tnx, Tobias
> --
> View this message in context: 
> http://www.nabble.com/-TRINIDAD--PPR-problem-with-1.2.2-branch-tf4275649.html#a12768364
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>

Reply via email to