Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2010-03-07 Thread Thiago H. de Paula Figueiredo
On Sun, 07 Mar 2010 15:12:49 -0300, wdahu wrote: I solved this problem. It is not caused by org.apache.tapestry5.services.ComponentSource.getPage(pageName) in my Dispatcher only by the argument of this method. I used the example from http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess a

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2010-03-07 Thread wdahu
I solved this problem. It is not caused by org.apache.tapestry5.services.ComponentSource.getPage(pageName) in my Dispatcher only by the argument of this method. I used the example from http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess and there is int nextslashx = path.length();

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2010-03-06 Thread wdahu
I have the same problem. I noticed that it occurs when I invoke method org.apache.tapestry5.services.ComponentSource.getPage (pageName) in my Dispatcher. If someone has already solved this problem? -- View this message in context: http://old.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-upgrade-t

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread zack1403
Knowing that that simple example worked for everyone, I started hacking away at my app module. Finally narrowed down what was causing the issue: public void contributeMasterDispatcher(OrderedConfiguration configuration, @InjectService("AuthDispatcher") Dispatcher authDispatcher) { config

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread zack1403
Well the thing is that its reproducible when I deploy on my staging server to tomcat 6 from the generated war file. As well as locally with jetty 6.1.6. I am using the maven plugin to run goal jetty:run locally. Zack Ulrich Stärk wrote: > > Your exact same code is working fine using 5.1.0.5-S

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread Ulrich Stärk
Your exact same code is working fine using 5.1.0.5-SNAPSHOT on Jetty 6.1.6 run from inside Eclipse. Could you elaborate on your environment? Also give removing and reinstalling all libs a try and make sure that there aren't multiple versions of the same lib in your classpath. Uli Am 29.04.20

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread DH
Hi, Zack I just tried your example, but nothing wrong. Mine is 5.1.0.3. DH - Original Message - From: "zack1403" To: Sent: Wednesday, April 29, 2009 2:56 PM Subject: Re: AjaxFormLoop Exception on 5.1.0.2 upgrade > > Alright this is the simplest setup I could

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Alright this is the simplest setup I could do. This is way simpler than even the example thats in the nightly docs. I am getting the same error. If someone could please help me out as to what I am missing here I would be eternally grateful. This is the complete source, there is no other source

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Upgraded to 5.1.0.3 with same result. I also removed any hibernate entities whatsoever. I made an AjaxFormLoop of Strings and I get the same result. Has anyone out there ever gotten this error in any context I just cant believe I am the only one having these issues, seeing as how even the s

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread Joost Schouten (mailing lists)
I'm using 5.1.0.3 On Tue, Apr 28, 2009 at 7:27 PM, zack1403 wrote: > > Joost, > > Are you using this code on >5.1.0.2? > > Zack > > > Joost Schouten (mailing lists) wrote: >> >> Here is the code related to my AjaxFormLoop which works (besides a few >> non T5 related persistance issues in my own c

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread Joost Schouten (mailing lists)
in my case onAddRow will not do any persisting. I will only persist the added row once the user saves the whole form. Also, I use my own transaction handling which is all done in a filter outside Tapestry. So any exception will actually roll back the transaction. The fact that I don't use any of t

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Joost, Are you using this code on >5.1.0.2? Zack Joost Schouten (mailing lists) wrote: > > Here is the code related to my AjaxFormLoop which works (besides a few > non T5 related persistance issues in my own code ;-) > > -- View this message in context: http://www.nabble.com/AjaxFormLoop

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Thanks Joost! While I'm sorting through that to find out what youre doing that I am missing, here is a question. When my onAddRow event is throwing an exception, shouldn't the transaction be rolled back? I would think that is expected behavior but the transaction is being committed. When I refres

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
sorry, I forgot the encoder for the AjaxFormLoop: public ValueEncoder> getContactDetailEncoder() { final LegalEntityService service = serviceProvider.getService(LegalEntityService.class); return new ValueEncoder>() {

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
Here is the code related to my AjaxFormLoop which works (besides a few non T5 related persistance issues in my own code ;-) *** java file ** @Property @Persist private List> details; @Property p

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Hmm, the jumpstart example you gave uses t:submitnotifier as well as all examples (even nightly docs). The example you gave is running on 5.0.18. You are sure that example works on upgrade to 5.1.0.2? Even at the simplest form I am still getting my exception. The simplest possible form I could

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread Joost Schouten (mailing lists)
The example at http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformloop1 which I used as a guide worked well for me on 5.1.0.3. In your examples you use the t:submitnotifier. I never really used it but maybe you do some DOM alterations in those event methods that Tapestr

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Hey I hate to bump but this is a huge blocker for me. Is there more information I can give to try and help troubleshoot?? -- View this message in context: http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-upgrade-tp23175801p23269752.html Sent from the Tapestry - User mailing list archive

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-26 Thread zack1403
I just cant believe no one else is getting this with 5.1.0.2. Am I the only one having this issue? BTW, its happening with my AjaxFormLoops application wide so its not just limited to one instance. Zack -- View this message in context: http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-u

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-24 Thread zack1403
A single text field still triggers the exception. Thiago H. de Paula Figueiredo wrote: > > On Fri, Apr 24, 2009 at 1:34 AM, zack1403 wrote: > >> Is there something with the setup that I am doing wrong? > > Try using a TextField directly, without using BeanEditor and tell us > what happens. >

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-24 Thread Thiago H. de Paula Figueiredo
On Fri, Apr 24, 2009 at 1:34 AM, zack1403 wrote: > Is there something with the setup that I am doing wrong? Try using a TextField directly, without using BeanEditor and tell us what happens. -- Thiago - To unsubscribe, e-mail

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-23 Thread zack1403
Seems like this would be a pretty common exception since the most basic form of the component does not work. I mean this is way more basic than even the tutorial. Is there something with the setup that I am doing wrong? Zack -- View this message in context: http://www.nabble.com/AjaxFormLoop

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread zack1403
I trimmed my source down to the simplest form trying to isolate the issue. I pasted in the simplest form I could get to. My original contains a number of elements including a bean edit form: Remove It yields the same exception. There were many more elements in there when th

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread Howard Lewis Ship
Add a Comparison Remove Shouldn't there be a TextField or something in there? The rather odd error is that Tapestry has to "hunt around" to find a conforming location to add a hidden field; typically inside a or before an tag. Your