2 ways:

1. Use eventlink instead of actionlink: Give event 'first' to the first link 
and 'secodn' to the second one.
     Then in page implement 2 handlers:
    onFirst() and onSecond().
2. Handle event in Border and trigger different events to the parent (Page): 
ComponentResources#triggerEvent.

Thanks
DH


----- Original Message ----- 
From: "Reinhold Gruber"
Sent: Thursday, March 26, 2009 5:36 AM
Subject: RE: component specific action event


Ok, I see. The method must be named "onActionFromTest".
Thanks for that.

But does that mean, that in the following structure:

Page
|_ Border
   |_Comp1 (contains ActionLink with integer context)
   |_Comp2 (contains ActionLink with integer context)

it is not possible for the page class to find out what happened? 
What is best practice for that case?

I could supply an additional dispensable param und define 2 onActionFromBorder 
methods but this seems an ugly solution.

Regards
Reinhold

Reply via email to