• 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: WOHyperlink is different with pageName vs directAction bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOHyperlink is different with pageName vs directAction bindings?


  • Subject: Re: WOHyperlink is different with pageName vs directAction bindings?
  • From: Ryan Klems <email@hidden>
  • Date: Wed, 15 Jul 2009 15:19:12 -0700

I believe we fixed the &amp; vs. & and double encoding of & bugs in 5.4.... if you can, I'd try updating to that and see if you still have the issue.

-Ryan

On Jul 15, 2009, at 3:14 PM, Greg Brown wrote:


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@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


-- 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@hidden



_______________________________________________
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

_______________________________________________ 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
References: 
 >WOHyperlink is different with pageName vs directAction bindings? (From: Greg Brown <email@hidden>)
 >Re: WOHyperlink is different with pageName vs directAction bindings? (From: Chuck Hill <email@hidden>)
 >Re: WOHyperlink is different with pageName vs directAction bindings? (From: Greg Brown <email@hidden>)

  • Prev by Date: Re: WOHyperlink is different with pageName vs directAction bindings?
  • Next by Date: Re: WOHyperlink is different with pageName vs directAction bindings?
  • Previous by thread: Re: WOHyperlink is different with pageName vs directAction bindings?
  • Next by thread: Re: WOHyperlink is different with pageName vs directAction bindings?
  • Index(es):
    • Date
    • Thread