Hi,

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

Cheers,

Jake


>>>> 2) Tags inside of tags (<td class = "<webobject name = "SomeClass"/ 
>>>> >">).  This is EVIL.  The WOLips validator has also been yelling  
>>>> at you about this for months now, and that was very intentional.   
>>>> If you listened to it, you're in a much better position for 5.4.   
>>>> There is no automatic fix for this ... In fact, I would not be  
>>>> surprised that this will probably whack out the WOLips  
>>>> autoformatter and wobuilder cleaner.
>>>
>>> As an aside to the main thread, what's the WO idiom for getting  
>>> around this?  While WOLips accepts this:
>>>
>>> <link href='<webobject name="myCSS"/>' rel="stylesheet" type="text/ 
>>> css"/>

 _______________________________________________
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