• 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: href path components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: href path components


  • Subject: Re: href path components
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Sun, 8 Feb 2004 22:59:35 -0500

On Feb 8, 2004, at 8:59 PM, Sam Barnum wrote:

I'd recommend creating a "premium" WODirectAction, with the part after "premium" in the URL determining which resource to load.

/xxxapp/premium/folder2 is a paid link. At a first glance there is no means to
influence how WO generates component action urls. But by playing around a
little with them i found out that a link
http://localhost:1220/cgi-bin/WebObjects.exe/xxxapp.woa/wo/premium/ F00000RN40
0aE1001/0.0.13.0.0.0.1.0
behaves exactly like
http://localhost:1220/cgi-bin/WebObjects.exe/xxxapp.woa/wo/ F00000RN400aE1001/
0.0.13.0.0.0.1.0.

You can achieve some of this by just setting up a new request handler whose key
is "premium" to go alongside the Component (key "wo") and the DirectAction (key "wa") and
Resource (key "wr") handlers. We did that and it worked fine.


So, then you're URLs will look like
	WebObjects.exe/xxxapp.woa/premium/...

BTW, if you're on Windows doesn't the WebObjects.dll give better performance than the
WebObjects.exe?


----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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: href path components (From: Sam Barnum <email@hidden>)

  • Prev by Date: Re: href path components
  • Next by Date: WebService with iso-8859-1
  • Previous by thread: Re: href path components
  • Next by thread: WebService with iso-8859-1
  • Index(es):
    • Date
    • Thread