Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Facet install delegate child facet mechanism
Facet install delegate child facet mechanism [message #203172] Fri, 26 October 2007 14:46 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Is there a way for a facet install delegate to further delegate install
functionality (either directly by getting a list of dependent facets that
are being installed or indirectly by some declarative mechanism) to
dependent facets that are also being installed?

For example, in JSF we want to configure a web.xml context param on facet
install. If only the JSF facet is being installed, then the JSF install
delegate will set it directly. However, if the user is also installing
facets that are directly dependent on the JSF facet, we would like the
option of delegating the setting of this context param to that dependent
facet (probably we the JSF delegate would still do the model change, but
would ask the dependent facet if it had a preferred value).

We could hand-roll this behaviour ourselves if we could get a list of
dependent facets that are being installed when
JSFFacetInstallDelegate.execute() is called, but I can't see a way to do
this.


--Cam
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Opening XML Schema file in my view
Next Topic:How to get the autocompletion element liste from XML Edior?
Goto Forum:
  


Current Time: Wed May 22 08:21:49 EDT 2013

Powered by FUDForum. Page generated in 0.01940 seconds