You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Tomasz Pasierb <to...@poczta.fm> on 2007/07/19 23:28:20 UTC

shale-tiger and jsf 1.2

Hi,

shale-tiger doesn't seem to work with myfaces 1.2 which has recenlty 
been released. I have a bean annotated with @Bean and it doesn't seem to 
be picked up. The bean doesn't exists when I try to get/set some 
properties on it using EL. Everything is fine with the bean when it's 
declared in faces-config.xml.
Additionally no messages are logged by tiger even on debug level apart 
from the one that states that 'original variableResolver was wrapped...'

Does shale-tiger work with jsf 1.2? (I've quickly skimmed through the 
sources and it seems that only DTDs for jsf 1_0 and 1_1 are allowed 
(FacesConfigParser#REGISTRATIONS) if that's what it's used for. I've 
configured my webapp according to the jee5 tutorial where they use 
schema for 1.2. May this be the reason why shale-tiger doesn't register 
the annotated beans?)

Regards,
Tom Pasierb

Re: shale-tiger and jsf 1.2

Posted by Tomasz Pasierb <to...@poczta.fm>.
I'd be grateful if someone could explain what is the proccess of 
shale-tiger starting up and reading the annotated beans. I mean I don't 
see any faces-config.xml in its jar. What class is supposed to try to 
start the process of scanning annotated classes? Is it somewhere in 
shale-core?

Thanks

Gregg Leichtman pisze:
> There appear to be some problems with MyFaces 1.2.0 or Tomcat 6.0.13 and
> JSF tags. For example see:
>
>     http://article.gmane.org/gmane.comp.jakarta.myfaces.user/38651
>
> This does not address your specific problem, but I ran into the above
> referenced problem immediately. Notice that the problem was reported
> yesterday.
>
>                                    -=> Gregg <=-
>
> Tomasz Pasierb wrote:
>   
>> Hi,
>>
>> shale-tiger doesn't seem to work with myfaces 1.2 which has recenlty
>> been released. I have a bean annotated with @Bean and it doesn't seem
>> to be picked up. The bean doesn't exists when I try to get/set some
>> properties on it using EL. Everything is fine with the bean when it's
>> declared in faces-config.xml.
>> Additionally no messages are logged by tiger even on debug level apart
>> from the one that states that 'original variableResolver was wrapped...'
>>
>> Does shale-tiger work with jsf 1.2? (I've quickly skimmed through the
>> sources and it seems that only DTDs for jsf 1_0 and 1_1 are allowed
>> (FacesConfigParser#REGISTRATIONS) if that's what it's used for. I've
>> configured my webapp according to the jee5 tutorial where they use
>> schema for 1.2. May this be the reason why shale-tiger doesn't
>> register the annotated beans?)
>>
>> Regards,
>> Tom Pasierb
>>
>>     
>
>   

Re: shale-tiger and jsf 1.2

Posted by Gregg Leichtman <gs...@erols.com>.
There appear to be some problems with MyFaces 1.2.0 or Tomcat 6.0.13 and
JSF tags. For example see:

    http://article.gmane.org/gmane.comp.jakarta.myfaces.user/38651

This does not address your specific problem, but I ran into the above
referenced problem immediately. Notice that the problem was reported
yesterday.

                                   -=> Gregg <=-

Tomasz Pasierb wrote:
> Hi,
>
> shale-tiger doesn't seem to work with myfaces 1.2 which has recenlty
> been released. I have a bean annotated with @Bean and it doesn't seem
> to be picked up. The bean doesn't exists when I try to get/set some
> properties on it using EL. Everything is fine with the bean when it's
> declared in faces-config.xml.
> Additionally no messages are logged by tiger even on debug level apart
> from the one that states that 'original variableResolver was wrapped...'
>
> Does shale-tiger work with jsf 1.2? (I've quickly skimmed through the
> sources and it seems that only DTDs for jsf 1_0 and 1_1 are allowed
> (FacesConfigParser#REGISTRATIONS) if that's what it's used for. I've
> configured my webapp according to the jee5 tutorial where they use
> schema for 1.2. May this be the reason why shale-tiger doesn't
> register the annotated beans?)
>
> Regards,
> Tom Pasierb
>