• 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: 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
References: 
 >Re: Tags inside tags [was: Re: WebObjects 5.4 is out.] (From: Paulo Filipe Andrade <email@hidden>)
 >Re: Tags inside tags [was: Re: WebObjects 5.4 is out.] (From: Jake MacMullin <email@hidden>)

  • Prev by Date: Re: Components and the Memory Game
  • Next by Date: Force a subsequent call to a Javascript routine from within the Action method processing of a submit
  • Previous by thread: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
  • Next by thread: Re: AJAX WebObjects Integration
  • Index(es):
    • Date
    • Thread