Well...
I see two alternatives:
1) We add one/two method to javax.faces.application.Application
eg. getImplName() and getSpecVersion()
But that would require a spec change...
2) We ask that at startup one of the implementation classes adds
the information as a managedBean or a external-context variable
This could be added also without a spec change, just need to
agree with the RI-people on an identifier to use...
regards
Alexander
-----Original Message-----
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Friday, October 28, 2005 4:07 PM
To: MyFaces Discussion
Subject: Re: How to find out which implementation is running
Good question.
If you devise something like this, there should also be a way to check
for the spec version of the jsf implementation running.
regards,
Martin
On 10/28/05, Jesse Alexander (KBSA 21)
<[EMAIL PROTECTED]> wrote:
> Hi
>
> When I want to write a component that must run under more than
> JSF-implementation,
> I often should know (runtime not development time) which
implementation
> is running, in
> order to use the correct base-classes.
>
> Has somebody devised a clever method to find out which JSF-runtime is
> active?
> Or should we add something to enable this?
>
> regards
> Alexander
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German