This definitely sounds like a good candidate for being part of the spec... I'll push that one onto the agenda whenever they officially start the EG...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info * Sign up for the JSF Central newsletter! http://oi.vresp.com/?fid=ac048d0e17 * > -----Original Message----- > From: Gary VanMatre [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 06, 2007 11:16 AM > To: dev@shale.apache.org > Subject: Determining the flavor of the JSF runtime > > > I've been trying to determine a better strategy for detecting > the supplier and version of the JSF runtime. This has to do > with a open JIRA ticket [1]. I attempted to create a utility > class to determine the implementor of the runtime and the JSF > spec version [2]. This was a real hack but I didn't see a > better way and I'm still not sure the best way to dynamically > extract this version information. Besides knowing the JSF > version (1.1, 1.2), we need the implementation version > (myfaces 1.1, 1.3...). I was thinking about trying to read > the manifest but haven't figured out a good method. This > seems like it should be part of the JSF API? > > > Any ideas? > > Gary > > > [1] https://issues.apache.org/struts/browse/SHALE-418 > [2] > https://svn.apache.org/viewvc/shale/framework/trunk/shale-clay /src/main/java/org/apache/shale/clay/utils/JSFRuntimeTracker.jav> a?view=markup >