Re: href path components
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.