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: Miguel Arroz <email@hidden>
- Date: Sat, 3 Nov 2007 15:10:50 +0000
Hi!
I use WOGenericContainer to avoid that. Just put "link" in the
elementName binding, and create bindings for everything else. On
pre-5.4, I always used the Container, because it would generate a
close tag, needed to be XHTML compliant. 5.4 seems to be fully XHTML,
so I suppose the WOGenericElement provides the closing tag itself,
but I still did not test it.
Yours
Miguel Arroz
On 2007/11/03, at 09:03, Paul Hoadley wrote:
On 27/10/2007, at 5:50 AM, Mike Schrag wrote:
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"/>
(where myCSS refers to a WOResourceURL), and it builds and runs, it
makes the XML purist inside me cringe. JSP, for example, has the
jsp:element/jsp:attribute elements with which you can build up an
output element and its attributes dynamically. Is there something
analogous in WO?
--
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:
40guiamac.com
This email sent to email@hidden
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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