ad 1) no - not even protected is allowed. The problem is that you don't want an application to rely on a certain implementation of the api - you change the api, and nothing works anymore ;)
ad 2) yes, well, instanceof to UIData is bad. There I'm completely d'accord with Simon. But an instanceof to an interface defining some generic behaviour is pretty ok in my opinion. not marker interface instead of instanceof, but instanceof to marker interface instead of to UIData. regards, Martin On 1/20/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi Martin! > > we won't be able to do this on UIComponent. The problem is, that we > > can't extend the API - that's fixed. > Even if you make it protected? You can use reflection then to call the > entry point. > > > Of course not instanceOf for UIData, but some generic > > marker interface. > Marker interface? > I know what a marker interface is, but how can this help here? Why would > it be better than instanceof? > > Ciao, > Mario > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
