• 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
Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Tags inside tags [was: Re: WebObjects 5.4 is out.] (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
  • Next by Date: Re: Where to post WO jobs?
  • Previous by thread: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
  • Next by thread: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
  • Index(es):
    • Date
    • Thread