[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Facet install delegate child facet mechanism

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