Hello Leonardo, I don't have any JavaScript error on my side.
Also, I found my problem. It was on my side (quite obviously), but I think the community could benefit from knowing the cause. In previous version of PPR one could have something like the following (assuming it was generated for a single component): <div> <div id="foo">Some text</div> </div> Of course with nested divs it doesn't make much sense, but the usual case is a layout container with a nested input. In that case the clientId must be pushed on the input control itself, not the container for decode method to work. Anyway, with old PPR, when the response came back, it was able to update the component with id="foo" without any problem. This is not the case with the new AJAX PPR, where you HAVE to set an id on the root element generated for the component. Of course this should always have been the case with the old version as a good practice but I somehow overlooked that in one of my classes (that was a parent class for many others), killing mostly all PPR in my application. Should we document that little change? Regards, ~ Simon On 8/15/07, Leonardo Uribe <[EMAIL PROTECTED]> wrote: > > Hi > > I have probed the trinidad demo example of 1.2.2 branch of trinidad, > running a tomcat 6.0.14 web server, and firefox 2.0.0.6, myfaces 1.2.0 and > I have experience a javascript error. I tried to execute the following page > (the pom of trinidad demo needs to add jstl 1.2 jar on the war file to > run) > > > http://localhost:7080/trinidad-demo-1.2.2-SNAPSHOT/faces/components/table_nested.jspx > > compiling the actual code hosted here: > > http://svn.apache.org/repos/asf/myfaces/trinidad/branches/1.2.2-branch/ > > And tried to click "Show" to expand the element properties. Nothing > happends. In the JSF 1.1 version everything works well, but in this > version I have seen the following using firebug: > > ["Invalid PPR response. The response-headers were:\nServer: > Apache-Coyote/1.1\nContent-Type: text/xml;ch..." ] > > I have probed another examples: > > > http://localhost:7080/trinidad-demo-1.2.2-SNAPSHOT/faces/components/treeTable_selection.jspx > > http://localhost:7080/trinidad-demo-1.2.2-SNAPSHOT/faces/components/showDetail.jspx > ..... > > And has the same error > > I also tested with IE and throws the same error. The version 1.2.1 of > trinidad does not have the error. > > regards > > Leonardo Uribe > > >
