-
1. Re: RichFaces 3.3.3 and JSF 2.0 & annotations scanning
ilya_shaikovsky Apr 26, 2010 11:26 AM (in response to jobb)I checked with RF-demo in next way:
changed faces-config root element with just copied from the thread your one.
removed userBean declaration. and added annotations to bean itself.
works fine for me. So seems we need more environment details.
-
2. Re: RichFaces 3.3.3 and JSF 2.0 & annotations scanning
jobb Apr 27, 2010 3:20 AM (in response to ilya_shaikovsky)Thanks for your answer, unfortunately, do not type the demo you used.
I've checked the examples/photoalbum in interfaces-ui-3-3-3-Final-src.zip, but it uses JSF 1.2 (no annotaion).
Also, set the RF samples and there I found the pom.xml with all dependences. In profile jsf2_0 I can find a list of dependences for JSF 2.0
I have the same dependences is in your pom.xml, but the code will not work without the managedBean declaration in faces-config.xml.
Checked also web.xml, there is no major differences either.Can you give me a hint on where I can look further?
-
3. Re: RichFaces 3.3.3 and JSF 2.0 & annotations scanning
ilya_shaikovsky Apr 27, 2010 4:29 AM (in response to jobb)http://jboss.org/richfaces/demos.html there you could download demo for 2.0 and check dependencies.
B.t.w. which JSF implementation you using? And do you using facelets?
-
4. Re: RichFaces 3.3.3 and JSF 2.0 & annotations scanning
jobb Apr 27, 2010 4:55 AM (in response to ilya_shaikovsky)Nothing new in pom.xml on http://anonsvn.jboss.org/repos/richfaces/branches/community/3.3.X/samples/richfaces-demo/pom.xml
I use
<properties>
<jsf.version>2.0.2</jsf.version>
<richfacesVersion>3.3.3.Final</richfacesVersion>
<faceletsVersion>1.1.15.B1</faceletsVersion>
</properties><dependency><groupId>javax.el</groupId><artifactId>el-api</artifactId><version>1.0</version></dependency>
<dependency><groupId>com.sun.el</groupId><artifactId>el-ri</artifactId><version>1.0</version></dependency><dependency><groupId>javax.servlet</groupId><artifactId>jstl</artifactId><version>1.2</version><scope>runtime</scope></dependency>
<dependency><groupId>javax.servlet</groupId><artifactId>servlet-api</artifactId><version>2.5</version><scope>provided</scope></dependency>
<dependency><groupId>com.sun.faces</groupId><artifactId>jsf-api</artifactId><version>${jsf.version}</version></dependency>
<dependency><groupId>com.sun.faces</groupId><artifactId>jsf-impl</artifactId><version>${jsf.version}</version></dependency>
<dependency><groupId>com.sun.facelets</groupId><artifactId>jsf-facelets</artifactId><version>${faceletsVersion}</version></dependency>Regards Mirek
-
5. Re: RichFaces 3.3.3 and JSF 2.0 & annotations scanning
ilya_shaikovsky Apr 27, 2010 5:05 AM (in response to jobb)I meant to download war file for JSF 2 and compare settings and libs with your ones.