I can, but how do i then pass the Object[] to the context parameter of
the createPageLink method in order to created the original Link ?

Howard Lewis Ship wrote:
> Can you capture the activation context as an Object[] and pass that to
> the eventual Form?
>
> On Fri, Feb 22, 2008 at 8:01 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
>   
>> Maybe i'm missing something but i'm not seeing an easy way to solve this.
>>  Well, in it's simplest form i can just pass a page name to the
>>  activation context of the redirection target page and then use that
>>  String value to return to the original page. Works fine.
>>
>>  But, a little more complex use case. What if i want to keep the
>>  activation context from the original page ?
>>  My first take at this was to instead of passing a String to the
>>  redirection target page i would pass a Link instance that i would build.
>>  That doesn't work because Tapestry can't coerce Link objects.
>>  Second take, i will pass the result of the toURI method of the generated
>>  Link. Now the problem is, how do i perform de redirect ? The passed
>>  string isn't a page name so i can't just return it. I can't also seem to
>>  find a way to build the a new Link object from the given string.
>>
>>  Am i missing something here ?
>>
>>
>>
>>  Howard Lewis Ship wrote:
>>  > Yes, the passivate/activate events fill similar roles to ICallback.
>>  > There is no exact analog, but that's because you can build your own so
>>  > easily on top of the passivate and activate events.
>>  >
>>  > On Nov 8, 2007 5:40 AM, Stephane Decleire
>>  > <[EMAIL PROTECTED]> wrote:
>>  >
>>  >> I'm trying to migrate an application which use ICallback from Tap 4.1.3
>>  >> to Tap 5.0.6
>>  >> Is there an equivalent to the callback notion in Tap 5 ?
>>  >> If not, does anybody know a way to implement such a mechanism ?
>>  >>
>>  >> Thanks in advance.
>>  >>
>>  >> Stephane
>>  >>
>>  >>
>>  >
>>  >
>>  >
>>  >
>>
>>     
>
>
>
>   

Reply via email to