Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » JavaServer Faces 2.0 facet
JavaServer Faces 2.0 facet [message #656800] Mon, 28 February 2011 16:21 Go to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3245
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

(Sorry for hijacking another thread to ask this, I've canceled that
message; here's the formal question on its own thread:)

I find myself unable to modify a Dynamic Web Project's Preferences ->
Project Facets -> JavaServer Faces to 2.0 from 1.2 and I can't find
anything too useful out in webland to help me do this for Helios.

Would someone enlighten me?

Thanks,

Russ Bateman
Re: JavaServer Faces 2.0 facet [message #656852 is a reply to message #656800] Mon, 28 February 2011 19:12 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 2/28/2011 11:21 AM, Russell Bateman wrote:
> (Sorry for hijacking another thread to ask this, I've canceled that
> message; here's the formal question on its own thread:)
>
> I find myself unable to modify a Dynamic Web Project's Preferences ->
> Project Facets -> JavaServer Faces to 2.0 from 1.2 and I can't find
> anything too useful out in webland to help me do this for Helios.
>
> Would someone enlighten me?

Changing jsf facet version on an existing project is not
supported, unfortunately. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=201792

You can still do so by manually editing an xml file in .settings folder,
but you can't do so via UI.
Re: JavaServer Faces 2.0 facet [message #656874 is a reply to message #656852] Mon, 28 February 2011 20:22 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3245
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 28-Feb-11 12:12, Yury Kats wrote:
> On 2/28/2011 11:21 AM, Russell Bateman wrote:
>> (Sorry for hijacking another thread to ask this, I've canceled that
>> message; here's the formal question on its own thread:)
>>
>> I find myself unable to modify a Dynamic Web Project's Preferences ->
>> Project Facets -> JavaServer Faces to 2.0 from 1.2 and I can't find
>> anything too useful out in webland to help me do this for Helios.
>>
>> Would someone enlighten me?
>
> Changing jsf facet version on an existing project is not
> supported, unfortunately. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=201792
>
> You can still do so by manually editing an xml file in .settings folder,
> but you can't do so via UI.

Yury,

How does it get set (to 2.0) in the first place? I don't know how to do
that. There used to be additional entries for the first page of the new
Dynamic Web Project wizard's Configuration drop-down.

Thanks for your answer(s).

Russ
Re: JavaServer Faces 2.0 facet [message #657178 is a reply to message #656874] Tue, 01 March 2011 20:25 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 2/28/2011 3:22 PM, Russell Bateman wrote:

> How does it get set (to 2.0) in the first place? I don't know how to do
> that. There used to be additional entries for the first page of the new
> Dynamic Web Project wizard's Configuration drop-down.

It can be set when the project is created, same way it always worked.
There should be "JavaServer Faces 2.0" configuration in the drop down,
assuming you have web 3.0 level selected.
Re: JavaServer Faces 2.0 facet [message #657188 is a reply to message #657178] Tue, 01 March 2011 21:01 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3245
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 01-Mar-11 13:25, Yury Kats wrote:
> On 2/28/2011 3:22 PM, Russell Bateman wrote:
>
>> How does it get set (to 2.0) in the first place? I don't know how to do
>> that. There used to be additional entries for the first page of the new
>> Dynamic Web Project wizard's Configuration drop-down.
>
> It can be set when the project is created, same way it always worked.
> There should be "JavaServer Faces 2.0" configuration in the drop down,
> assuming you have web 3.0 level selected.

Wow, I feel like I'm brand new to this stuff.

Looking at two workspaces on my host, I see that new Dynamic Web Project
has a Dynamic web module version of 3.0 (and Configuration JavaServer
Faces v2.0 Project possible) available and, another, only 2.5 (and
Configuration has only JavaServer Faces v1.2 Project).

How did I configure the one workspace to be limited to 2.5 and the other
to allow 3.0? I don't remember doing anything when I created the second
workspace (which happens to be the one I do my JSF work in) to limit this.

At what moment do I endow a workspace with Dynamic web module version
(3.0) and Configuration (JavaServer Faces v2.0 Project)?

I looked at all the Preferences and couldn't find anything to change.
Re: JavaServer Faces 2.0 facet [message #657190 is a reply to message #657188] Tue, 01 March 2011 21:28 Go to previous messageGo to next message
Yury Kats is currently offline Yury KatsFriend
Messages: 104
Registered: July 2009
Senior Member
On 3/1/2011 4:01 PM, Russell Bateman wrote:

> Looking at two workspaces on my host, I see that new Dynamic Web Project
> has a Dynamic web module version of 3.0 (and Configuration JavaServer
> Faces v2.0 Project possible) available and, another, only 2.5 (and
> Configuration has only JavaServer Faces v1.2 Project).
>
> How did I configure the one workspace to be limited to 2.5 and the other
> to allow 3.0? I don't remember doing anything when I created the second
> workspace (which happens to be the one I do my JSF work in) to limit this.

It can be limited to 2.5 if you have "Add to EAR" checked and the existing EAR
is at 2.5 level. Or it could be limited to 2.5 if you are targeting a server runtime
that only supports 2.5.
Re: JavaServer Faces 2.0 facet [message #657221 is a reply to message #657190] Wed, 02 March 2011 00:29 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3245
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 01-Mar-11 14:28, Yury Kats wrote:
> On 3/1/2011 4:01 PM, Russell Bateman wrote:
>
>> Looking at two workspaces on my host, I see that new Dynamic Web Project
>> has a Dynamic web module version of 3.0 (and Configuration JavaServer
>> Faces v2.0 Project possible) available and, another, only 2.5 (and
>> Configuration has only JavaServer Faces v1.2 Project).
>>
>> How did I configure the one workspace to be limited to 2.5 and the other
>> to allow 3.0? I don't remember doing anything when I created the second
>> workspace (which happens to be the one I do my JSF work in) to limit this.
>
> It can be limited to 2.5 if you have "Add to EAR" checked and the existing EAR
> is at 2.5 level. Or it could be limited to 2.5 if you are targeting a server runtime
> that only supports 2.5.

I see that Apache Tomcat v6.0's presence limits this while v7.0 does not.

Thanks.
Previous Topic:[/XYZ] The ELResolvers for JSF were not registered with the JSP container
Next Topic:What's the state of Facelets support in Helios?
Goto Forum:
  


Current Time: Tue Nov 25 23:40:45 GMT 2014

Powered by FUDForum. Page generated in 0.14908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software