• 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: constructing a url...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: constructing a url...


  • Subject: Re: constructing a url...
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 20 Sep 2006 09:58:47 -0700

Hi James,


On Sep 19, 2006, at 6:58 PM, James Cicenia wrote:

I need to construct a componentActionURL vs a directActionURL.

Basically I am using jfreeChart and need to create a popup of an object.
I can make it work great with direct actions however, for reasons unimportant here,
I need a componentActionURL.


My question I think is how to set the action for WOContext.componentActionURL?

I think you are thinking about this backwards. The frameworks compute the URL based on where in the tree of WOElements it is. You don't set the action. The question to ask is, "How do I know if the incoming action is for me?" The answer is to check if context.senderID().equals(context.elementID()). See page 181



Chuck

--

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


  • Follow-Ups:
    • Re: constructing a url...
      • From: James Cicenia <email@hidden>
References: 
 >constructing a url... (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Flattened relationship and iterator oddness
  • Next by Date: Re: Deadlock using EOObjectStore.invalidateObjectsWithGlobalIDs(NSArray)
  • Previous by thread: constructing a url...
  • Next by thread: Re: constructing a url...
  • Index(es):
    • Date
    • Thread