• 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: Wosid suppression broken in 5.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wosid suppression broken in 5.4?


  • Subject: Re: Wosid suppression broken in 5.4?
  • From: "Mr. Pierre Frisch" <email@hidden>
  • Date: Tue, 18 Dec 2007 16:04:24 -0800

As far as I can see this is a correct behavior even if it is not what you expected.

when you execute directActionURLForActionNamed on the context you create a fragment URL that includes a query string. If you pass this to WOHyperlink it will take the string as a URL fragment check if there is a session and if there is one will try to append the session id to the URL. This is the correct behavior. If you want to suppress this you need to add a binding "?wosid=false;" or pass a query dictionary to WOHyperlink with that information.

You can simplify your life by using WOHyperlink:

public NSDictionary<String, Object> downloadQueryDictionary() {
return new NSDictionary<String, Object>(new Object[] { "/Somepath/test.pdf", }, new String[] { "filePath" });
}


Hyperlink6: WOHyperlink {
directActionName = "download_video";
queryDictionary = downloadQueryDictionary;
?wosid=false;
}

smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Wosid suppression broken in 5.4?
      • From: Guido Neitzer <email@hidden>
    • Re: Wosid suppression broken in 5.4?
      • From: "Mr. Pierre Frisch" <email@hidden>
References: 
 >Wosid suppression broken in 5.4? (From: Ian Joyner <email@hidden>)
 >Re: Wosid suppression broken in 5.4? (From: Edgar Klein <email@hidden>)
 >Re: Wosid suppression broken in 5.4? (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: WOSubmitButton calling a URL in a new browser window
  • Next by Date: Re: WOSubmitButton calling a URL in a new browser window
  • Previous by thread: Re: Wosid suppression broken in 5.4?
  • Next by thread: Re: Wosid suppression broken in 5.4?
  • Index(es):
    • Date
    • Thread