Bad Me :(

For some reason i thought this wouldn't work:
@OnEvent(component="ActionLink")
    public void showVisists(long id){
     ...
    }

but it magically did. I thought the event must be associated with a
ComponentId.

Tapestry is just great :)

On Sat, Feb 21, 2009 at 7:57 PM, Juan E. Maya <maya.j...@gmail.com> wrote:

> Hello,
> i am trying to find the way around what i think is a common use case but i
> haven't been able to implement it.
>
> I have a page that has a Zone component that could be updated by several
> (dynamic) ActionLinks; something like this:
>
> <div t:type="Loop" t:source="places" t:value="place">
>        <a t:type="ActionLink" t:zone="visitDetails">${place.name}</a>
> </div>
>
> <div t:type="Zone" t:id="visitDetails">
>
> </div>
>
> How could i create a handler that could show this zone given the fact that
> i don't know how many ActionLinks will be created?
>
> Thanks a lot for your help!
>
>

Reply via email to