voyent
How work the IceFaces 2.0?  XML
Forum Index -> Development Build Feedback
Author Message
vantuiljose

Joined: 28/Sep/2009 00:00:00
Messages: 10
Offline


Somebody can explain me what happen with IceFaces alpha 2?
Where are the components? I make a project with NetBeans and JSF 2.0, but there are only two tags with the ice : <ice:config> and <ice:push>.

What this means? I have to use the 1.8.2 with the 2.0? The 2.0 will add the components?
Somebody can help me? I am not understanding that!!!
What I have to do?
sizzla

Joined: 28/Jan/2010 00:00:00
Messages: 10
Offline



ICEfaces 1.8.2 Component Suite Support. This release provides virtually complete support for an ICEfaces 2.0-compatible version
of the ICEfaces 1.8.2 Component Suite. See the Known Issues and Compatibility sections for more information.
 

http://wiki.icefaces.org/display/ICE/ICEfaces-2.0.0-Alpha2+Release+Notes
Admin

Joined: 27/May/2004 00:00:00
Messages: 219
Offline


Moved from General Help to Development Build Feedback (ICEfaces 2.0) forum.

- Admin
jsmith2k10

Joined: 05/Feb/2010 00:00:00
Messages: 4
Offline


Hello: Im´m sorry to ask, but I kind of have the same problem over here. Many things unclear for the novice icefaces programmer.
- Do the icefaces 2 has its own set of components or is simply a new infraestructure relying on the compatibility with the 1.8 component set?
- Should the icefaces components appear in netbeans' component palette?
- I just created a blank new web app following the instructions found in the netbeans 6.8 integration package pdf but i´m unable to deploy it on glassfish. It throws an exception with the following message:

GRAVE: WebModule[/WebIceTest2]StandardWrapper.Throwable
java.lang.IllegalStateException: La aplicación no se ha inicializado correctamente durante el inicio, no se encuentra la fábrica: javax.faces.context.FacesContextFactory (...)
sfryer

Joined: 28/Jul/2009 00:00:00
Messages: 10
Offline


Hi,

Did you get an answer to this?
mithridates

Joined: 18/Dec/2007 00:00:00
Messages: 15
Offline


Assuming You are working with NB 6.8, looking into this thread might help You.
jsmith2k10

Joined: 05/Feb/2010 00:00:00
Messages: 4
Offline


Hello, the thread mention in the previous post did solve the problem.
Thanks.
kalamar

Joined: 29/Nov/2009 00:00:00
Messages: 8
Offline


vantuiljose wrote:

Where are the components? I make a project with NetBeans and JSF 2.0, but there are only two tags with the ice : <ice:config> and <ice:push>.
 

I have the same problem. I just can't figure out what it is all about. I have created a new web-project in Netbeans 6.8. The underlying platform is JEE6. I want to workl with JSF2.0, so IceFaces 2.0 are automatically selected. But where are the compnents?

I tried to deploy it on GlassfishV3 developetime-errors.
Here is the output:
Tag Library supports namespace: http://icefaces.org/core, but no tag was defined for name: inputRichText 

Please help (I don't understand the release notes).
mithridates

Joined: 18/Dec/2007 00:00:00
Messages: 15
Offline


Reading http://wiki.icefaces.org/display/ICE/Compatibility carefully should answer your questions. Especially section "Components".
In brief: with current ICEfaces 2 the 1.8.2 components can be used in a JSF 2.0 / EE6 environment.
kalamar

Joined: 29/Nov/2009 00:00:00
Messages: 8
Offline


mithridates, thank you very much for your help. But actually it was not the issue. It is simpler as it might be expected. When you start a new web-project (with ICEFaces) in the NetBeans 6.8 IDE a welcomeICEFaces.xhtml will be generated for you. Some developer, which are new to icefaces (like me) use this file as a template for testcode.

The welcomeICEFaces.xhtmls content:
Code:
 [...]
 <html xmlns="http://www.w3.org/1999/xhtml"
 	xmlns:ui="http://java.sun.com/jsf/facelets"
 	xmlns:f="http://java.sun.com/jsf/core"
 	xmlns:h="http://java.sun.com/jsf/html"
 	xmlns:ice="http://icefaces.org/core">
     <h:head>
         <title>ICEfaces 2</title>
         <h:outputScript name="jsf.js" library="javax.faces"/>
     </h:head>
     <h:body>
         <div id="header">
         </div>
          <div id="content">
              <h:form id="iceForm">
                 <h:outputText value="Welcome to ICEfaces 2"/>
              </h:form>
          </div>
     </h:body>
 </html>
 

As you can see the wrong taglib for icefaces ist specified above.
Code:
xmlns:ice="http://icefaces.org/core"
is given and should be Code:
xmlns:ice="http://www.icesoft.com/icefaces/component"
in order to use the components.

I know, that sounds simple and stupid. But for a newcomer it is quite difficult to figure it out, especially when the prefix in both cases is 'ice:'.

I think it should be fixed in the Netbeans plugin.

Kind regards
mithridates

Joined: 18/Dec/2007 00:00:00
Messages: 15
Offline


kalamar wrote:
... the wrong taglib for icefaces ist specified above.
Code:
xmlns:ice="http://icefaces.org/core"
is given and should be Code:
xmlns:ice="http://www.icesoft.com/icefaces/component"
in order to use the components.
 


This is done automatically by the plugin when checking "ICEfaces 1.8.2. Compatiblity Mode" after selecting ICEFaces in the Frameworks window when creating a new WebApplication.
Please try that.
I think no fix is needed. :-)
kalamar

Joined: 29/Nov/2009 00:00:00
Messages: 8
Offline


Thank you. It works :-)
bcmarcos03

Joined: 02/Feb/2010 00:00:00
Messages: 1
Offline


Thank you! it Works! .....

i mark the checkbox Compatibility with IceFaces 1.8 when i was creating the web application project..

change 2 lines of my sun-web.xml and DONE!

nice
thilok

Joined: 08/Apr/2010 00:00:00
Messages: 1
Offline


it worked.but what are the lines i have to add to the sun-web.xml?
 
Forum Index -> Development Build Feedback
Go to:   
Powered by JForum 2.1.7ice © JForum Team