RE: Unable to process form submission

2008-08-21 Thread Adam Ayres
rname} ... -Original Message- From: Kevin Crenshaw [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 7:07 PM To: Tapestry users Subject: Re: Unable to process form submission Adam, Thanks for responding (again :-) ) . However, as you can see in my question, I'm not trying t

Re: Unable to process form submission

2008-08-21 Thread Martijn Brinkers (List)
Why don't you store the user ID as an application state object (aso)? Martijn On Thu, 2008-08-21 at 22:07 -0400, Kevin Crenshaw wrote: > Adam, > > Thanks for responding (again :-) ) . However, as you can see in my > question, I'm not trying to use the environment during an event phase - > sorr

Re: Unable to process form submission

2008-08-21 Thread Kevin Crenshaw
Adam, Thanks for responding (again :-) ) . However, as you can see in my question, I'm not trying to use the environment during an event phase - sorry if I misspoke before. The user object is placed on the environment in the SetupRender phase. The problem is that after I submit the form I get

RE: Unable to process form submission

2008-08-21 Thread Adam Ayres
The best way to achieve this is to put the userId on the context of the form using the "context" parameter. You will then have access to the userId in the OnEvent of the form to do a lookup of the User. If you insist on using the environment during the form submission event phase to get the User,