webtier@glassfish.java.net

Re: [webtier] Is this JSF2 Bug or am i missing something with Annotations

From: Ed Burns <edward.burns_at_oracle.com>
Date: Thu, 27 May 2010 06:31:33 -0700

>>>>> On Wed, 26 May 2010 20:11:37 PDT, webtier_at_javadesktop.org said:

UJ1> When JSF2 Managed Beans are packaged as a JAR and deployed along
UJ1> with different Project which has all the xhtmls i am getting error
UJ1> accessing the Managed beans with Annotations

UJ1> Work around is removing annotations and adding the Managed Bean
UJ1> names in faces-config xml file, Can some one help me what i am
UJ1> missing. Is there any way in Java i can say to scan my jars?

This does appear to be a bug. I have tested it and it seems to fail.

I have filed this bug.

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1693

With this email, I am also asking Ryan Lubke to comment on the bug and
assert that this feature did indeed work in the past but now appears to
be broken. If Ryan says, "this never worked and never was intended to
work", then it's not a bug but is a new feature request.

However, my understanding is that this *should* work.

Thanks,

Ed
-- 
| edburns_at_oracle.com | 
| homepage:          | http://ridingthecrest.com/