• 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
Question regarding new inline style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question regarding new inline style


  • Subject: Question regarding new inline style
  • From: Guido Neitzer <email@hidden>
  • Date: Sat, 2 Feb 2008 22:30:40 -0700

Hi.

Something is not really clear to me with the 5.4 component parser:

The documentation [1] states:

"Keys prefixed with the Q character are analogous to prefixing ? in the original .wod file in a WOComponent bundle and are used for appending formValue content."

And even gives an example:

Hyperlink1: WOHyperlink {
	?movieID = movieID;
	directActionName = "DisplayMovie";
}

should be converted to:

<wo:wohyperlink QmovieID="[movieID]" directActionName="DisplayMovie" />

First off all, that example is pretty stupid as the hyperlink will not show up on a page without at least a "string" binding set or surrounding something.

Next: if used that way, it will throw an exception (this is from my own app, therefore the different action):

com.webobjects.appserver.parser.woml.WOMLTemplateParserException: Main: 6:68: wo:wohyperlink {null={action=[sort], Qkey=inventoryNumber}} has no WOElement

This is because the syntax is wrong, you have to use "WOHyperlink" instead of "wohyperlink" to get this working. Next:

the "Q" parameters don't work. This definition in the code:

<wo:WOHyperlink action = "[sort]" Qkey = "inventoryNumber">#</ wo:WOHyperlink>

results in this:

<a qkey="inventoryNumber" href="/cgi-bin/WebObjects/BigCD.woa/wo/ h32G0uhqDFIQtYKTXKfyLg/0.0.5.3">#</a>

So, how is that thing supposed to be used? Bugs in the documentation? Bugs in the implementation? Understanding problem on my side?

Thanks for clarification!

cug


[1] http://developer.apple.com/documentation/InternetWeb/Reference/WO_BundleReference/Articles/WOComponentHTML.html


_______________________________________________ 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: Question regarding new inline style
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: did <br> change....?
  • Next by Date: Re: WO version from code (was: Qualifier creation)
  • Previous by thread: Re: did <br> change....?
  • Next by thread: Re: Question regarding new inline style
  • Index(es):
    • Date
    • Thread