Re: Some Redirect after Post issues

2006-12-13 Thread Ron Piterman
Did you try to use @Persist("client:page") ? this will encode your property in a hidden form field (and in links URLs, so the become quite ugly) - but you don't need the hidden fields... Cheers, Ron Bastian Voigt wrote: Andreas Andreou schrieb: Since the form is in an 'area page' and t

Re: Some Redirect after Post issues

2006-12-12 Thread andyhot
Bastian Voigt wrote: > > Andreas Andreou schrieb: >>> >>> Since the form is in an 'area page' and tapestry's submits trigger the >>> same page >>> (i.e. the listeners are found on the current page) it's only normal >>> that >>> the >>> validation listener will complain... >>> Can't you include th

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Andreas Andreou schrieb: Since the form is in an 'area page' and tapestry's submits trigger the same page (i.e. the listeners are found on the current page) it's only normal that the validation listener will complain... Can't you include the current area as a hidden form field, so that it get

Re: Some Redirect after Post issues

2006-12-12 Thread Andreas Andreou
Bastian Voigt wrote: > On Tuesday 12 December 2006 13:36, Andreas Andreou wrote: > > I have noticed that the PageValidationListener for the old page is always called when submitting a form, even when the form submission listener redirects to a different page. Sometimes this fail

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
On Tuesday 12 December 2006 13:36, Andreas Andreou wrote: > >> I have noticed that the PageValidationListener for the old page is > >> always called when submitting a form, even when the form submission > >> listener redirects to a different page. Sometimes this failed in my > >> project. > > Why

Re: Some Redirect after Post issues

2006-12-12 Thread Andreas Andreou
Bastian Voigt wrote: > Additionally, it seems that even pageBeginRender is called when using > redirect > after post. Now this really makes no sense does it? > It makes perfect sense to me ! (See more inline) > > On Tuesday 12 December 2006 10:50, Bastian Voigt wrote: > >> Hi *, >> >> In

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Additionally, it seems that even pageBeginRender is called when using redirect after post. Now this really makes no sense does it? On Tuesday 12 December 2006 10:50, Bastian Voigt wrote: > Hi *, > > In my project (tap 4.02) I make heavy use of the redirect-after-post > pattern with listeners suc

Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Hi *, In my project (tap 4.02) I make heavy use of the redirect-after-post pattern with listeners such as this: public ILink onSubmit() { ... return getLinkService().getLink(...); } I have noticed that the PageValidationListener for the old page is always called when submitting