This is with 5.3.3. Below are the generated htmls for the link, first with a woa/wa DA binding:

<a target="_blank" href="/cgi-bin/WebObjects/stutters.woa/wa/link? documentKey=0001_001_TO&amp;person=0256&amp;wosid=evvEwYY4jw3Ge2Xuv7FpeM ">TextlinkSee Results now</a>

Above looks ok, below is the html generated with a pageName binding:
<a target="_blank" href="/cgi-bin/WebObjects/stutters.woa/wo/ evvEwYY4jw3Ge2Xuv7FpeM/2.3? documentKey=0001_001_TO&amp;amp;person=0256">TextlinkSee Results now</a>

It seems W..W..WebObjects st...st...stutters: it generates &amp;amp;person= instead of &amp;person=

I guess its radar file time...


   On Jul 14, 2009, at 6:27 PM, Chuck Hill wrote:

Which version of WO?

That is just a bug, file a Radar.


Chuck


On Jul 14, 2009, at 2:26 PM, Greg Brown wrote:

Hi all,

I noticed that a WOHyperlink evaluates as different links depending upon how it is bound; if a pageName parameter is given, then an accompanying bound queryDictionary adds characters to the link like:

blahurl/?name=thename&amp;city=Leuven

Whereas if a directAction parameter is bound, then one gets urls like:

blahurl/?name=thename&city=Leuven

So in one case, you get:

name=thename
amp;city=Leuven

And with DirectActions:

name=thename
city=Leuven

What do people do with this difference? Does Wonder have a dictionary filter to get rid of the prepended 'amp;' ? or a method to use a "amp;city" key as equal to a "city" key for a fetching the values?

WebObjects, what an elaborate mechanism for passing strings around!


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [email protected]


--
Chuck Hill             Senior Consultant / VP Development

Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east

http://arstechnica.com/apple/news/2009/07/webobjects-sliced- from-106but-prognosis-of-death-premature.ars



Greg Brown
[email protected]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to