• 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: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath


  • Subject: Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 23 Aug 2005 17:36:56 -0700


On Aug 23, 2005, at 2:20 PM, LD wrote:

In translation, does that mean it will take the returned values from either context.componentActionURL or context.directActionURLForActionNamed?


I'm not clear on what you are asking. This only sets the key in the URL (wa, wo, ws. wr etc). Form values are taken from the aQueryString parameter.



Yep, I'm clear on all of those... that's not what I was asking. I'm needing clarification on _aRequestHandlerPath_.


i.e., 2nd argument of the method:
completeURLWithRequestHandlerKey(String requestHandlerKey, String **aRequestHandlerPath**, String aQueryString, boolean isSecure, int somePort)


Any help with that one?
Thanks.

Got it. Sorry. No, neither context.componentActionURL nor context.directActionURLForActionNamed will give you what you need. IIRC, you are pretty much on your own there. It is looking for the part after the /wa/ or /wo/. You can roll your own. Are you doing a redirect? Otherwise (e.g. for the form action I _think_ you want), just use one of context.componentActionURL or context.directActionURLForActionNamed.


Chuck


--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development 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: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
      • From: LD <email@hidden>
References: 
 >WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath (From: LD <email@hidden>)
 >Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath (From: Chuck Hill <email@hidden>)
 >Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath (From: LD <email@hidden>)

  • Prev by Date: Re: Force Display Group to refetch, not consistent ??
  • Next by Date: Re: Force Display Group to refetch, not consistent ??
  • Previous by thread: Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
  • Next by thread: Re: WOContext->completeURLWithRequestHandlerKey's aRequestHandlerPath
  • Index(es):
    • Date
    • Thread