Browsed by
Category: Java Server Faces

[solved] java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater

[solved] java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater

java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater: Error: java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater How I solved ? I have downloaded and added the icefaces-1.8.1.jar file to lib folder (web-inf/lib). Download link: icefaces-1.8.1.jar Recommended Books: 974 total views, 1 views today

974 total views, 1 views today

[solved] the project cannot be built until path errors are resolved

[solved] the project cannot be built until path errors are resolved

the project cannot be built until path errors are resolved: Error: the project cannot be built until path errors are resolved How I solved ? The error may occur due to incompaible jar with the imported project. Right click on the project -> build path -> configure build path -> libraries (tab probably third one) and remove the jre which is there with red exclamation mark, and add the jre which is there in the machine by  simply clicking add library….

Read More Read More

1,164 total views, 3 views today

[solved] Required class javax.faces.FactoryFinder does not exist in selected libraries

[solved] Required class javax.faces.FactoryFinder does not exist in selected libraries

 Required class javax.faces.FactoryFinder does not exist in selected libraries: Error: Required class javax.faces.FactoryFinder does not exist in selected libraries   How I solved ? I have added the jsf-api-1.2 jar to solve the aboe error. window -> preferences -> java -> build path -> user libraries (add jsf-api-1.2 jar file).   Recommended Books:   2,977 total views, 3 views today

2,977 total views, 3 views today

[solved] com.icesoft.faces.webapp.CompatResourceServlet

[solved] com.icesoft.faces.webapp.CompatResourceServlet

com.icesoft.faces.webapp.CompatResourceServlet Error: com.icesoft.faces.webapp.CompatResourceServlet How I solved ? I have just added the below downloaded jar to lib (web-inf/lib). Download link: http://mvnrepository.com/artifact/org.icefaces/icefaces-compat/2.0.1 Recommended Books: 1,072 total views, 1 views today

1,072 total views, 1 views today

[solved] org.icefaces.impl.context.DOMPartialViewContext

[solved] org.icefaces.impl.context.DOMPartialViewContext

Error: org.icefaces.impl.context.DOMPartialViewContext How I solved ? I have just added the below downloaded jar file to my classpath (web-inf/lib). Download link: http://mvnrepository.com/artifact/org.icefaces/icefaces-facelets/1.8.2 Recommended Books: 1,021 total views, 2 views today

1,021 total views, 2 views today

Jsf Datatable example

Jsf Datatable example

Requirements Eclipse IDE for Java EE Developers (Download). Apache Tomcat 7 (Download). JSF Library file(2.0.10 binary) (javax.faces-2.0.10.jar). Project structure: Edit the web.xml file, <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <display-name>DataTableJsf</display-name> <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> </web-app> Edit the faces-config.xml file, <?xml version="1.0" encoding="UTF-8"?> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"> <managed-bean> <managed-bean-name>emp</managed-bean-name> <managed-bean-class>in.javadomain.Bean.EmpDetailsList</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> </faces-config> Create a Bean class (EmpDetailsList) and paste the below code, package…

Read More Read More

1,135 total views, no views today