Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-06-02 Thread Chris Lowe
Hi Adam, I'm having difficulty running the latest version of Seam under glassfish: http://www.jboss.com/index.html?module=bbop=viewtopicp=4050702 Is there a simple Trinidad 1.2 project that I can download for Eclipse? I can start with that and add Ajax4Jsf then Seam. Cheers, Chris. On

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Adam Winer
Well, we've got a lot of variables here. It's a little suspicious to me hearing that an Ajax4JSF filter is now required, when this behavior doesn't appear to be reproducing for other users of Trinidad 1.2. I'd try, for example, the same page without Ajax4JSF installed - if that means taking

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
I've just done an update to my environment: Update to latest Ajax4Jsf snapshot from http://maven.exadel.com/org/ajax4jsf/ajax4jsf/ Update to latest Seam snapshot (CVS) and reconfigured filters in-line with new version (many of the Seam filters + Ajax4Jsf have been rolled into one); Changed

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
I take it back - it's now even stranger! First click that fires validation works. Click again and the duplication starts happening as before. On 5/31/07, Chris Lowe [EMAIL PROTECTED] wrote: I've just done an update to my environment: Update to latest Ajax4Jsf snapshot from

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
If I set CACHE_VIEW_ROOT to false the problem goes away. On 5/31/07, Chris Lowe [EMAIL PROTECTED] wrote: I take it back - it's now even stranger! First click that fires validation works. Click again and the duplication starts happening as before. On 5/31/07, Chris Lowe [EMAIL PROTECTED]

Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
Hello, I have a project that is running Trinidad and I recently upgraded to JBoss 4.2.0.GA. As part of this upgrade I also migrated to JSF 1.2 (the latest Seam version requires me to do this). Ever since then, whenever I submit a form that fails validation, the form renders the correct

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Adam Winer
I suspect that there's something wrong with the implementation of JSF 1.2 used by JBoss, probably in that implementation's UIComponentClassicTagBase code or something similar. The behavior you're describing doesn't occur with Glassfish. -- Adam On 5/30/07, Chris Lowe [EMAIL PROTECTED] wrote:

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
Thanks for the reply Adam. Do you happen to know what version of JSF Glassfish is using? From jsf-api.jar that is with JBoss 4.2.0.GA, the manifest states: Manifest-Version: 1.0 Specification-Title: JavaServer Faces Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.) Ant-Version: Apache Ant

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Brian Smith
Just an off the wall guess, but this couldn't be some sort of goofy caching issue? On 5/30/07, Chris Lowe [EMAIL PROTECTED] wrote: Is there anything I can do to help narrow this down? On 5/30/07, Adam Winer [EMAIL PROTECTED] wrote: Hrm, that looks like the same version as Glassfish! I

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Adam Winer
Hrm, that looks like the same version as Glassfish! I didn't know they were using the RI. So scrap that theory! It still *might* be something wrong in JBoss (maybe their implementation of JspIdConsumer in the JSP engine?), but this is more puzzling. -- Adam On 5/30/07, Chris Lowe [EMAIL

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
Is there anything I can do to help narrow this down? On 5/30/07, Adam Winer [EMAIL PROTECTED] wrote: Hrm, that looks like the same version as Glassfish! I didn't know they were using the RI. So scrap that theory! It still *might* be something wrong in JBoss (maybe their implementation of

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
Brian - I'm not sure how to test for this, did you have anything in mind? Adam - are you familiar with the Seam-Discs Trinidad example? http://pmuir.bleepbleep.org.uk/2007/04/seamdiscs-jboss-seam-and-apache.html I have made a minor mod to this and can reproduce the behaviour. Cheers, Chris

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Brian Smith
I was just thinking of the USE_APPLICATION_VIEW_CACHE context parameter in web.xml. This can cache view state and the Trinidad Dev guide says it can cause some unexpected behavior in rare cases. Make sure you have this set to False (good for development anyway). I am currently having trouble

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
LOL - I'd already replied to that! I'll give your suggestion a try and shall take a fresh look at your post... Cheers, Chris. (aka lowecg2004) On 5/30/07, Brian Smith [EMAIL PROTECTED] wrote: I was just thinking of the USE_APPLICATION_VIEW_CACHE context parameter in web.xml. This can

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
I also have an entry on the JBoss forum: http://www.jboss.com/index.html?module=bbop=viewtopicp=4049845#4049845 My post has details of a repro case based on some minor mods to the Seam-Discs example. Cheers, C. On 5/30/07, Chris Lowe [EMAIL PROTECTED] wrote: LOL - I'd already replied to

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Brian Smith
LOL, I guess I don't pay attention to who is replying sometimes. Thanks On 5/30/07, Chris Lowe [EMAIL PROTECTED] wrote: LOL - I'd already replied to that! I'll give your suggestion a try and shall take a fresh look at your post... Cheers, Chris. (aka lowecg2004) On 5/30/07, Brian Smith

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Brian Smith
Yeah I just saw that, I am trying to reproduce your error now. BTW, I get the same error java.lang.IndexOutOfBoundsException: Index: 4,Size: 4 when running the example. -Brian On 5/30/07, Chris Lowe [EMAIL PROTECTED] wrote: I also have an entry on the JBoss forum:

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-30 Thread Chris Lowe
I tried with USE_APPLICATION_VIEW_CACHE=false, but it made no difference. On 5/30/07, Brian Smith [EMAIL PROTECTED] wrote: Yeah I just saw that, I am trying to reproduce your error now. BTW, I get the same error java.lang.IndexOutOfBoundsException: Index: 4,Size: 4 when running the example.