True, i didn't think of that.
It would be much easier to store the Link object thought....

Howard Lewis Ship wrote:
> That won't cluster since LinkImpl is not serializable ... I'll have to
> check to see if it can be made serializable.  If not, you certainly
> can store the absolute URI from the Link as a persistent property.
>
> On Fri, Feb 22, 2008 at 11:47 AM, Josh Canfield <[EMAIL PROTECTED]> wrote:
>   
>> Hi Hugo,
>>
>>  I'm not familiar with ICallback, but it sounds like what you are trying to
>>  do matches something I use to keep track of the referring page within my
>>  application.
>>
>>  
>> http://www.nabble.com/Re%3A-page-navigation-%28return-to-arbitrary-page%29-p14155874.html
>>
>>  Essentially you create the Link object and stick it in a @Persist'd
>>  attribute of the page.
>>
>>  Josh
>>
>>
>>  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
>>  > >>
>>  > >>
>>  > >
>>  > >
>>  > >
>>  > >
>>  >
>>
>>
>>
>>  --
>>  --
>>  TheDailyTube.com. Sign up and get the best new videos on the internet
>>  delivered fresh to your inbox.
>>
>>     
>
>
>
>   

Reply via email to