Better yet, inject external link directly using tacos-annotations: http://tacos.sourceforge.net/tacos4.1/tacos-annotations/index.html (cuts down on the boilerplate code!)
Kalle On 10/5/07, Patrick Kelly <[EMAIL PROTECTED]> wrote: > > Great - did just what I needed. > > IExternalThanks! > > On 4-Oct-07, at 10:58 AM, Martino Piccinato wrote: > > IExternalPage > > http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/ > IExternalPage.html > > You'll have to generate an IExternalLink > > http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/ > link/ExternalLink.html > > using the IExternalService (injected into the page) > > http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/ > engine/ExternalService.html > > (documentation on how to encode parameters is given mostly on this > last javadoc page). > > IExternalCheers! > > > Martino > > On 10/4/07, Patrick Kelly <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am having some trouble with a post-redirect in tapestry 4. First, > > I have two pages, lets call them pageMain and pageForm. I have a > > direct link using a listener with parameters from pageMain to > > pageForm. On pageForm I have a simple form with a submit button that > > calls a listener to update to the DB. At the end of the pageForm > > submit listener, I want to redirect back to pageMain, and set some > > parameters on pageMain. I started to explore the tapestry-flash to > > prevent the form submit happening on page refresh, and it works > > perfect if I don't redirect to pageMain, and stay on pageForm. > > However, how do I pass parameters using ILink from pageForm to > > pageMain? > > > > Thanks - Patrick > > > > > > > > > > > > --------------------------------------------------------------------- > 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] > >