The easiest way to handle redirect-after-post in Tapestry 4 is to change your listener method return an ILink instead of void. Tapestry will redirect accordingly.
Paul Marc Ende wrote: > Hi there, > > I'm a completly newbe to tapestry but I've done my first steps and > everything works great. > But I've got one point, I'm sure that's a frequently asked question: > I'd like to redirect > after a POST request. > > I've found several examples using PageRedirectException and > RedirectException but > a) It doesn't work for me on Tapestry 4.0 > b) Maybe I'm too dogmatic but I don't see the reason for an Exception > at this point. It's not an Exception nor an unwanted behavior. > > Okay there is also the way to detect that the form is already > submitted, but I dislike the messagebox to resubmit the POST-Data. > > Has anybody a clean way to redirect? Thanks for your help... > > yours > > marc > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
smime.p7s
Description: S/MIME Cryptographic Signature