• 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: Building a component action URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a component action URL


  • Subject: Re: Building a component action URL
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 12 Apr 2006 20:15:19 -0700

Have Practical WebObjects?  There is a hyperlink example in chapter 7.

You probably don't want to build the URL,WOContext does that, see componentActionURL(). All your component has to do is to check context().elementID() against request().senderID(). If they are equal, the action is for that component.

Post what you have and I'll see if I can show you where to go.

Chuck



On Apr 12, 2006, at 7:38 PM, Ricardo Parada wrote:

Hi,

How does someone build a url programatically to invoke a component action?

Similar to the way WOHyperlink works. I need to build this url. And when the user clicks on it the component actions gets called.
Any ideas where to start?


Thanks
Ricardo Parada


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--
Coming in late 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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
References: 
 >Building a component action URL (From: Ricardo Parada <email@hidden>)

  • Prev by Date: Building a component action URL
  • Next by Date: Re: Grouping and aggregating EOs like GROUP BY
  • Previous by thread: Building a component action URL
  • Next by thread: Multiple relations for one foreign key?
  • Index(es):
    • Date
    • Thread