• 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: Generating URL dynamically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating URL dynamically


  • Subject: Re: Generating URL dynamically
  • From: Jacky Gagnon <email@hidden>
  • Date: Wed, 4 Feb 2004 18:17:25 -0500

Hi Chuck,

I'm not sure to understand what I can do with context.componentActionUrl() to resolve my issue.

Maybe I can incrementLastElementIDComponent, generate the URL with componentActionURL and add the ID (contextID and SenderID) into an Array.
In invokeAction I can get the ID from the request, find it into my array, and call directly the action without calling super.invokeAction (when the ID is in the array). But I'm not sure if its safe to do that.


Is this a good Idea? Or there is a better way (easier or safer)?


Thanks!

J. Gagnon






Le Mercredi, 4 fivr 2004, ` 15:51 America/Montreal, Chuck Hill a icrit :

Then you want context.componentActionUrl


At 03:29 PM 04/02/2004 -0500, Jacky Gagnon wrote:
Hi, Jonathan

I already looked for WOActionURL; but it's essential that I create the
URL in the java code (I must insert some URLs in a String and return
it for display, and the URL must launch a component action).
WOActionURL don't seem to be useful in my case or I'm missing
somethings...


Thanks!

J. Gagnon

Le Mercredi, 4 fivr 2004, ` 14:51 America/Montreal, Jonathan Rochkind a
icrit :


The WOActionURL dynamic element is probably what you are looking for.
There is a thread on this topic on the list right now.  You may want
to review it.

At 1:49 PM -0500 2/4/04, Jacky Gagnon wrote:
Hi,

I must generate some HTML code dynamically and insert it into some
strings, who are displayed with one WOString.  I want to insert some
URL who can point to a particular component action.

How can I generate this URL without using a WoComponent ? I found in
WOContext, directActionURLForActionNamed, but its for direct action.


Thanks

J. Gagnon
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


--

Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Generating URL dynamically (From: Chuck Hill <email@hidden>)

  • Prev by Date: CLOSE_WAIT Problems with Apache(Again..)
  • Next by Date: Official Response: Java 1.4.2 and WebObjects
  • Previous by thread: Re: Generating URL dynamically
  • Next by thread: Re: Generating URL dynamically [Solved]
  • Index(es):
    • Date
    • Thread