Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-10-05 Thread hu.brett
I also got ppr error when I tried 1.2.2 branch demo. After replacing the MyFaces 1.2 by sun's JSF RI 1.2_04, this problem is solved. Since myFaces 1.2 causes ppr error, I am just wondering why myFaces 1.2 is packaged into trinidad 1.2.2 demo but not sun's JSF RI 1.2_04. Could you tell me if there

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-09-20 Thread Tobias Freier
The Wikipedia article says that the XML declaration is optional if I use the default encoding UTF-8. Otherwise I need the declaration. So we can't use trinidad with anything else than utf-8 (I use utf-8 anyway). tr:document or trh:html/trh:head/trh:body load the default css which I don't want.

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-09-19 Thread Adam Winer
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

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-09-19 Thread Tobias Freier
Thanks for your help Adam, It doesn't work on Firefox or IE. I don't use Facelets. Just normal JSF with RI 1.2.04P02 and there is no MyFaces. No this was not the full page (too long). But thanks to your hint with the xhtml I found the error. The page started with: ?xml version=1.0 encoding=UTF-8

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-09-19 Thread Adam Winer
Ah, great, now we've got a compact description of the bug. :) If you have an XML declaration, in the doc, we end up generating two XML declarations on a PPR response. There's code in Trinidad (in the XmlOutput code) to strip anything before an XML declaration, but it gets tripped up if there are

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-09-18 Thread Tobias Freier
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

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-17 Thread Adam Winer
I can't reproduce a problem on that page using the latest 1.2.2, and Glassfish with the JSF RI 1.2_04-b10-p01. I haven't had a chance to test against the MyFaces 1.2. -- Adam On 8/15/07, Leonardo Uribe [EMAIL PROTECTED] wrote: Hi I have probed the trinidad demo example of 1.2.2 branch of

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-17 Thread Simon Lessard
Couldn't reproduce on OC4J 11g TP with RI on my side, neither with Firefox nor MSIE. Didn't try with MyFaces either. ~ Simon On 8/17/07, Adam Winer [EMAIL PROTECTED] wrote: I can't reproduce a problem on that page using the latest 1.2.2, and Glassfish with the JSF RI 1.2_04-b10-p01. I

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-16 Thread Simon Lessard
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

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-16 Thread Adam Winer
On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote: Please also note that I'm stupid and forgot the always rendered panelGroup around the outputText to set the partialTriggers... That shouldn't be necessary at all! I'll have a look at this, and the nested table bug listed below. -- Adam

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-16 Thread Adam Winer
On 8/16/07, Simon Lessard [EMAIL PROTECTED] wrote: 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

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-16 Thread Adam Winer
On 8/16/07, Adam Winer [EMAIL PROTECTED] wrote: On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote: Please also note that I'm stupid and forgot the always rendered panelGroup around the outputText to set the partialTriggers... That shouldn't be necessary at all! I'll have a look at this,

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-15 Thread Simon Lessard
Please note that there's no white space in the partialTriggers property, I don't know why one showed up in the post. Regards, ~ Simon On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello all, The following page fail to update after the PPR event with current 1.2.2branch using RI on

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-15 Thread Simon Lessard
Please also note that I'm stupid and forgot the always rendered panelGroup around the outputText to set the partialTriggers... However, I do have a PPR issue in a big application using the new XmlHttpRequest that I'll have to investigate further, but for now I'll go open my belly with a daisho and

Re: [TRINIDAD] PPR problem with 1.2.2 branch

2007-08-15 Thread Leonardo Uribe
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