Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
- Subject: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
- From: Paul Hoadley <email@hidden>
- Date: Fri, 15 Feb 2008 10:05:34 +1030
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden