incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Re: Recent commit by me causing some havoc in the faces 12 branch
Date Mon, 27 Nov 2006 22:19:07 GMT
I think that'll only handle the immediate superclass.  You'd
really need to iterate up the whole chain of superclasses;
if _TRINIDAD_COMPONENT_BASE is in there anywhere, that's
a Trinidad-type component.

-- Adam


On 11/27/06, Bruno Aranda <brunoaranda@gmail.com> wrote:
> Fixed. I have commented the partin the mojos that call to
> ComponentBean.isTrinidadComponent() to distinguish between the
> trinidad and myfaces core generators, so only the trinidad generator
> is used now. It seems that this method is not behaving properly.
>
> Do you have any idea for a better way (well, I mean a working way) to
> implement it?
>
>   public boolean isTrinidadComponent()
>   {
>       return (_TRINIDAD_COMPONENT_BASE.equals(findComponentSuperclass()));
>   }
>
> Cheers,
>
> Bruno
>
> On 27/11/06, Bruno Aranda <brunoaranda@gmail.com> wrote:
> > Basically the components are being generated with the myfaces
> > generator, fixing this...
> >
> > Bruno
> >
> > On 27/11/06, Bruno Aranda <brunoaranda@gmail.com> wrote:
> > > Hi,
> > >
> > > Well, I have merged the plugin with the branch we were adapting the
> > > autogeneration for myfaces and the tests I have done before the commit
> > > were with the wrong version of the plugin (the existing one) and not
> > > the new one. I am fixing this... bear with me ;-)
> > >
> > > Bruno
> > >
> >
>

Mime
View raw message