Did you ever need to know or display RichFaces version or revision when running your application? It’s rather easy to do. RichFaces registers VersionBean bean under a4j name which can give you that information.
Output:
Project name: Jboss Richfaces Vendor: richfaces.org Version: v.3.3.1.GA SVN $Revision: 14228 $ $Date: 2009-05-14 09:56:51 -0700 (Thu, 14 May 2009) $
You can also just render #{a4j}, then you will get:
Jboss Richfaces by richfaces.org, version v.3.3.1.GA SVN $Revision: 14228 $ $Date: 2009-05-14 09:56:51 -0700 (Thu, 14 May 2009) $
Enjoy the weekend!
1 Comment