On 13/02/2008, at 2:13 PM, Jake MacMullin wrote:

I don't know if this has been aswered yet as for some reason this thread is a bit messed up for me - I don't have the original question...

But, in answer to the broader question of "what's the WO idiom" for avoiding tags within tags? Something new in 5.4 that I think is great is the ability to specify dynamic bindings for attributes of non-webobjects tags. So, in WO 5.4 you can have:

<link href="[myCSS]" rel="stylesheet" type="text/css" />

where myCSS is a variable or method in your Java class.

This is documented in the 'WOComponent HTML File Format' reference found at:
http://devworld.apple.com/documentation/InternetWeb/Reference/WO_BundleReference/Articles/WOComponentHTML.html

Thanks for that. And thanks Paulo and Mike. I now have a range of options to keep the XML corner of my brain happy.


--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
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