Do you have to use direct links?
They expose too much of the inner workings of tapestry - that's why
they're not got for bookmarks as well...

Anyway, can you code around this using ExternalLinks ?


RonPiterman wrote:
> I have a nice usability problem with direct links nested inside
> components:
>
> I have a pager component, which takes an in-out "page" parameter.
>
> The pager component generates direct links, which invoke a listener in
> the component with the page number as parameter.
>
> The listener calls the set method of the "page" parameter, thus
> changing the page number.
>
> Now if I drop two instances of the pager component in a page, they
> both generate different links, so visited pages can not be traced:
>
> if the user clicks "2" on the one pager, the url is:
>
> http://localhost:8080/bardtke/reg/Forum,$Pager.$DirectLink_1.sdirect?sp=1
>
> on the other pager, the url is:
>
> http://localhost:8080/bardtke/reg/Forum,$Pager_0.$DirectLink_1.sdirect?sp=1
>
>
>
>
> so if on pager 1 page 2 is marked as visited, on pager 1 it isn't :(
>
> Now thats a fine problem...
>
> Any idees ?
>
> Cheers,
>
> Ron
>
>
> ---------------------------------------------------------------------
> 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