Re: bind an action
Re: bind an action
- Subject: Re: bind an action
- From: Jacky Gagnon <email@hidden>
- Date: Fri, 17 Dec 2004 16:04:16 -0500
- Resent-date: Fri, 17 Dec 2004 16:07:42 -0500
- Resent-from: Jacky Gagnon <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
Hi,
I think you cannot bind a component action directly with the menu found
in WOElement.
You can bind a String corresponding to the name of your action and call
performParentAction((String)actionName) in your subcomponent;
If you synchronize your variable manually, you can bind your action
directly and call it directly with (WOComponent)
valueForBinding(bindingName).
Jacky
Le 04-12-17, à 15:15, Sébastien Gruhier a écrit :
Hi,
I want to do something simple and I guess I am missing something.
In a page I have a WORepetion and inside the repetition I have a
WOHyperlink bind on a action of my class, it works fine.
Now i would like to do a WOConponent "to create a button" with a table
and with the WOHyperlink in one of the cell table.
So I need to bind the action to my new WOComponent (and then I will
bind it to my WOHyperlink)
But how can I bind an action to my new WOComponent
In the "Value set" column of the API window of my new WOComponent
there are DirectAction/Boolean.. but not "Actio"n like the bindings of
the WOHyperlink.
I hope I am clear enough.
Thank you for your help
Seb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden