Yes, only for extended components. Not for API stuff. Hmm - but any component extending from the jsf base class can also implement the marker interface, right?
The tradeoff is - component is a black box, knows how it does stuff - noone else knows, and - a third person might want to be able to change the behaviour (I don't believe they can, though, cause most of the stuff is private in the components) regards, Martin On 1/21/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi Martin! > > the question is if it is any better than letting the component extend > > from a marker interface and implement the functionality itself. > > > But I thought its not allowed to change the api. Or do you plan to add > this only to the myfaces classes? > Then I think the policy solution is better as it might work with any > component extending one of the jsf base classes. > > Ciao, > Mario > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
