Messages posted by lars.huber
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: lars.huber  XML
Profile for lars.huber -> Messages posted by lars.huber [3]
Author Message
I tried, but the libraries are still missing

Code:
 WebModule[/WebApplication12]Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at com.icesoft.faces.application.D2DViewHandler.<clinit>(D2DViewHandler.java:82)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 


I have added the libraries

Code:
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented it from fulfilling this request.
 
 exception
 
 javax.servlet.ServletException: javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 


what's wrong???

I'm working through the Timezone tutorial. I always get an exception (see below).

Conditions:
jdk 1.6
Netbeans 5.5
IceFaces 1.5.2

For the integration I think there are some libraries missing by enabling IceFaces. I had to add manually following libraries in the order:
-commons-logging
-commons-logging-api
-commons-digester
-commons-collections
-commons-beanutils

Exception throw on line:
Code:
 <h:panelGrid columns="2">
 




Am I doing something wrong?

By the way: I'm not using the integration for VisualWebPack. I'm using the stable one for normal JSF applications in Netbeans.

Please help!

Greets Lars




Code:
 javax.servlet.ServletException: javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 


Code:
 <f:view xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
     <html>
         <head><title>ICEfaces: TimeZone Sample Application</title></head>
         <body> 
             <h3>ICEfaces: TimeZone Sample Application</h3> 
             <h:form>
                 <h:panelGrid columns="2">
                     <h:outputText style="font-weight:600" value="Server Time Zone"/>
                     <h:outputText style="font-weight:600" value="Time Zone Selected from Map"/>
                     <h:outputText value="#{timeZoneBean.serverTimeZoneName}"/>
                     <h:outputText value="#{timeZoneBean.selectedTimeZoneName}"/>
                     <h:outputText style="font-weight:800" value="#{timeZoneBean.serverTime}"/>
                     <h:outputText style="font-weight:800" value="#{timeZoneBean.selectedTime}"/>
                 </h:panelGrid>
                 <h:panelGrid columns="6" cellspacing="0" cellpadding="0">
                     <h:commandButton id="GMTminus10" image="images/hawaii.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus9" image="images/alaska.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus8" image="images/pacific.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus7" image="images/mountain.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus6" image="images/central.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus5" image="images/eastern.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                 </h:panelGrid>
             </h:form>        
         </body>
     </html>
 </f:view>
 


I'm working through the Timezone tutorial. I always get an exception (see below).

For the integration I think there are some libraries missing by enabling IceFaces. I had to add manually following libraries in the order:
-commons-logging
-commons-logging-api
-commons-digester
-commons-collections
-commons-beanutils


What's wrong? Am I doing something wrong?

By the way: I'm not using the integration for VisualWebPack. I'm using the stable one for normal JSF applications in Netbeans.

Please help!

Greets Lars




Code:
 javax.servlet.ServletException: javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 javax.faces.FacesException: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 
 root cause
 
 java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.html_basic.PanelGridTag.setColumns - argument type mismatch
 


Code:
 <f:view xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
     <html>
         <head><title>ICEfaces: TimeZone Sample Application</title></head>
         <body> 
             <h3>ICEfaces: TimeZone Sample Application</h3> 
             <h:form>
                 <h:panelGrid columns="2">
                     <h:outputText style="font-weight:600" value="Server Time Zone"/>
                     <h:outputText style="font-weight:600" value="Time Zone Selected from Map"/>
                     <h:outputText value="#{timeZoneBean.serverTimeZoneName}"/>
                     <h:outputText value="#{timeZoneBean.selectedTimeZoneName}"/>
                     <h:outputText style="font-weight:800" value="#{timeZoneBean.serverTime}"/>
                     <h:outputText style="font-weight:800" value="#{timeZoneBean.selectedTime}"/>
                 </h:panelGrid>
                 <h:panelGrid columns="6" cellspacing="0" cellpadding="0">
                     <h:commandButton id="GMTminus10" image="images/hawaii.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus9" image="images/alaska.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus8" image="images/pacific.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus7" image="images/mountain.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus6" image="images/central.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                     <h:commandButton id="GMTminus5" image="images/eastern.jpg" actionListener="#{timeZoneBean.listen}" style="border: 0px;"/>
                 </h:panelGrid>
             </h:form>        
         </body>
     </html>
 </f:view>
 


 
Profile for lars.huber -> Messages posted by lars.huber [3]
Go to:   
Powered by JForum 2.1.7ice © JForum Team