• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bind an action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: bind an action
  • Next by Date: Re: Forms and Two image submit buttons
  • Previous by thread: bind an action
  • Next by thread: EOModelPrototype CastClass Exception
  • Index(es):
    • Date
    • Thread