Re: Finding names of all subcomponents of a component
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