• 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: Finding names of all subcomponents of a component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding names of all subcomponents of a component


  • Subject: Re: Finding names of all subcomponents of a component
  • From: Jean-François Veillette <email@hidden>
  • Date: Wed, 03 Jan 2007 16:07:25 -0500

Still in WOnder, in Ajax framework / AjaxUtils.java :
Look at the methods : insertInResponseBeforeTag, addScriptResourceInHead and related ones. Each component become responsible of what it need to have in the header.
Look at a simple example component : AjaxIncludeScript.java


- jfv

Le 07-01-03 à 15:41, Kieran Kelleher a écrit :



I think project wonder has a component for ensuring a resource is loaded once per page ......
er.extensions.ERXOncePerRequestConditional




On Jan 3, 2007, at 3:31 PM, Hugi Thordarson wrote:

Greetings folks!
Does anyone here know of a way to get the names of all subcomponents of a particular component?


Cheers,
- Hugi

PS: If anyones curious to know why I want to do this, well, we have a huge project with a bazillion components, each requiring it's own smallish kingdom of CSS and Javascripts. I want to load only the resources I need, based on the currently displayed components.

// Hugi Thordarson
// http://hugi.karlmenn.is/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________ 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: Finding names of all subcomponents of a component
      • From: Hugi Thordarson <email@hidden>
References: 
 >Finding names of all subcomponents of a component (From: Hugi Thordarson <email@hidden>)
 >Re: Finding names of all subcomponents of a component (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Finding names of all subcomponents of a component
  • Next by Date: Re: eomodeler and prototypes in framework
  • Previous by thread: Re: Finding names of all subcomponents of a component
  • Next by thread: Re: Finding names of all subcomponents of a component
  • Index(es):
    • Date
    • Thread