Unfortunately even that won't work as the onSelected() cannot return anything itself.

No big deal, it is working now with the (flash) persisted info.

The component is available now as part of equanda-tapestry5, see http://equanda.org/equanda-tapestry5/

Thanks for the help.

Joachim

Davor Hrg wrote:
if the event can return a value
add a handler as the last parameter instead of null
resources.triggerEvent("action",contextArray,null);


Davor Hrg

On Thu, Feb 21, 2008 at 10:25 AM, Joachim Van der Auwera
<[EMAIL PROTECTED]> wrote:
Tried that, it doesn't work, gives

 Event 'action' from ObjectEdit:edit.organizations.add received an event
 handler method return value of
 [EMAIL PROTECTED] This type of event
 does not support return values from event handler methods.



 Robert Zeigler wrote:
 > In that case, why not just trigger the action yourself?
 >
 > void onSelected() {
 >   resources.triggerEvent("action",contextArray,null);
 > }
 >
 > Robert
 >
 > On Feb 20, 2008, at 2/203:24 PM , Joachim Van der Auwera wrote:
--
Joachim Van der Auwera
PROGS bvba, progs.be


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to