Required : richfaces-ui-3.1.0-rcX-bin and jboss-seam-2.0.0.BETA1
- lib
(1)Delete ajax4jsf-1.1.1.jar and richfaces.jar from jboss-seam-2.0.0.BETA1\lib.
(2)Put richfaces-api-3.1.0-rcX,richfaces-impl-3.1.0-rcX,richfaces-ui-3.1.0-rcX into jboss-seam-2.0.0.BETA1\lib. - modify jboss-seam-2.0.0.BETA1\build.xml
(1)Delete all ajax4jsf*.jar from build.xml.
(2)Find description="extra jars for the EAR" in build.xml
,delete include name="el-*.jar" and insert include name="richfaces-api*.jar" - web.xml
Ajax4jsf filter not needed, Seam Filter installs it for us.
You can reference "booking" example. - view/pages.xhtml
Let's modify booking\view\home.xhtml.
Add xmlns:rich="http://richfaces.ajax4jsf.org/rich" in html tag.
Try rich:panel on booking\view\home.xhtml.
Finally, build it ,you will see beauty richfaces.
沒有留言:
張貼留言