RE: Generate DirectAction URL with instance number when there is nosession
RE: Generate DirectAction URL with instance number when there is nosession
- Subject: RE: Generate DirectAction URL with instance number when there is nosession
- From: "Frank Caputo" <email@hidden>
- Date: Wed, 25 Jul 2007 15:43:19 +0200
- Thread-topic: Generate DirectAction URL with instance number when there is nosession
Hi Francis,
just try the following code:
NSMutableDictionary dict =
new NSMutableDictionary(); String actionName =
"DirectAction/foo"; String queryString =
WOURLEncoder.encodeAsCGIFormValues(dict); String
handlerKey = application().directActionRequestHandlerKey();
String url = ""
actionName, queryString);
Ciao Frank
Hi,
For a special function, I need whenever it's
possible to generate DirectAction URL including instance number.
Unfortunately, if there is no session, there is no instance number in URLs
using WOHyperlink, WOActionURL, WOContext, etc. And of course, I dont
want to create session!
Is there a clean way to generate such
URL with instance number?
Kind regards,
--
Francis Labrie
Saint-Bruno-de-Montarville, Québec,
Canada
|
_______________________________________________
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