<quote>
Further, page parameters are not passed to the subsequent page
when using the the PAGE service
</quote>

I think he's trying to do the redirect before processing the data !



[EMAIL PROTECTED] wrote:
Depends on what kind of Tapestry/Hibernate Integration you're actually
using. Where is you session committed? Do you throw a RedirectException
to redirect or do you return an ILink?

-----Original Message-----
From: Matt Brock [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 5:52 PM
To: users@tapestry.apache.org
Subject: Redirect after Post = no parameters, no save


Using: Tap 4.02 / Hibernate

I've tried to implement the redirect-after-post method mentioned on Howard's blog, but have only been marginally successful.

It redirects just fine. But it doesn't actually commit any changes to the database. Further, page parameters are not passed to the subsequent page when using the the PAGE service, thus I'm forced to use the external page service and manually encode the parameters. If that were the only problem I could deal with it, but the not saving issue is a show-stopper.

Is this because the Hibernate listeners are not being fired by the ILink service? Do I have to create my own custom ILink implementation that fires all the listeners like the IPage service does? Has anyone come up with any way to get redirect-after-post working with Tap4/Hibernate?
--
View this message in context: http://www.nabble.com/Redirect-after-Post-%3D-no-parameters%2C
-no-save-tf3149787.html#a8732557
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to