• 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: Jake MacMullin <email@hidden>
  • Date: Tue, 12 Feb 2008 19:43:42 -0800

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
      • From: Paul Hoadley <email@hidden>
References: 
 >Re: Tags inside tags [was: Re: WebObjects 5.4 is out.] (From: Paulo Filipe Andrade <email@hidden>)

  • Prev by Date: Re: Servlet HttpSession in webobjects?
  • Next by Date: Re: Servlet HttpSession in webobjects?
  • 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