richfaces

com.sun.facelets.tag.jsf.core.CoreLibrary must be an instance of org.apache.myfaces.view.facelets.tag.TagLibrary Error

大兔子大兔子 提交于 2019-12-11 11:13:33
问题 I am using Myfaces 2.2.8 and Richfaces 4.5.x jar and tomcat 8. But when launch my url I am getting an error "java.lang.Exception: com.sun.facelets.tag.jsf.core.CoreLibrary must be an instance of org.apache.myfaces.view.facelets.tag.TagLibrary" My web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app

Richfaces in netbeans with maven

☆樱花仙子☆ 提交于 2019-12-11 09:39:22
问题 I am trying to implement Richfaces with javax.faces-war-archetype version 2.2 in Netbeans 8.0.1 and GlassFish 4.1. I have an existing project with richfaces implemented, if I build this it all works fine. However when I create a new project (The exact same type and version) it gives the following error: type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it from fulfilling this request. exception java.lang.IllegalStateException

java.lang.IllegalStateException: Illegal attempt to set ViewHandler after a response has been rendered

馋奶兔 提交于 2019-12-11 09:26:48
问题 My Java EE web application is working fine with Glassfish 2.1. Now I want to migrate to Glassfish 3.1.1, but after a successful deployment of the war file it gives following error: WARNING: ApplicationDispatcher[/Myapp] PWC1231: Servlet.service() for servlet Faces Servlet threw exception java.lang.IllegalStateException: Illegal attempt to set ViewHandler after a response has been rendered. My application uses following frameworks. Spring Framework 3.0.2 JSF 2.0 RichFaces 3.3.3 Final It's

Rich Faces 4.0 With jsf2.0

随声附和 提交于 2019-12-11 09:21:57
问题 I am making web app using JSF 2.0 and Rich Faces 4.0 I want to know what should be minimum- entry in Web.xml and faces config.xml so that application will run successfully . Is order of servlet declaration matters , I am saying because when i am running my app with custom security filter, rich faces component is not rendering sometime . Can you please give me example Web.xml file. EDIT: * Thanks BalusC * Problem is when i am adding security filter Rich faces component is not rendered ?? I am

Richfaces editable dataTable not setting updated values in Bean

限于喜欢 提交于 2019-12-11 09:15:50
问题 I have tried a bunch of suggestions after googling but none has so far worked for me. I am trying to display a simple datatable with editable inputText values in each row. table is being populated from database via a usual List of objects. Here is my xhtml page and managed bean Richfaces 4.2.1, JSF 2 mojarra bundled with JBoss 7.1, JDK 1.6 <rich:dataTable value="#{wlScoreBean.scoreList}" binding="#{wlScoreBean.scoreTable}" var="item" id="table" style="width:100%"> <rich:column> <f:facet name=

richfaces + index.xhtml having errors

末鹿安然 提交于 2019-12-11 09:15:18
问题 I have been unable to get my index.xhtml file to load properly, and I have checked all the tutorials for this. Can somebody please point me in the right direction? I was only going through the tutorials on the richfaces site. Below is my web.xml file: <?xml version="1.0"?> <web-app version="2.5" 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-app_2_5.xsd"

Using java to create a dynamic rich:panelMenu

蹲街弑〆低调 提交于 2019-12-11 09:13:17
问题 Hail This attempt at using component libs to access a Map<String, ArrayList<String>> <rich:panelMenu style="width:35%" mode="ajax" iconExpandedTopGroup="/img/logListIcon.png" iconCollapsedTopGroup="/img/logListIcon.png" iconCollapsedGroup="/img/logListFolderIconClosed.png" iconExpandedGroup="/img/logListFolderIconOpen.png" iconGroupTopPosition="left" iconItem="/img/logFileIcon.png"> <!-- feed iteration --> <ui:repeat items="#{PanelMenu.panelNodes}" var="map"> <rich:panelMenuGroup label="#{map

JSF @ViewScoped Bean State is Lost

▼魔方 西西 提交于 2019-12-11 09:12:21
问题 I am using @ViewScoped Bean for small CRUD application I have a edit and view page but when I click buttons (edit) it will render edit form. After edit form appears the save button or cancel button does not call the function but renders the whole page. The actionListener's function is not called at all and everthing is initialized. Is something wrong with my bean and page?? I am using JSF 2 with richfaces and facelet. //ViewScoped Bean /* * To change this template, choose Tools | Templates *

JSF richfaces getElementById

那年仲夏 提交于 2019-12-11 08:20:19
问题 I am using jsf2 and richfaces 4.X how can i get the richfaces enabled input field's current value ? equal to getElementById('field_name').vlue I tried some of the methods named like findcomponent.value and element.value but they give me old value which was while page was loaded b/c findcomponent and element method returns server side UI.components instead client side components ? 回答1: I guess you are to use rich:clientId function to render a correct identifier into your java script. For

css file with version appending

久未见 提交于 2019-12-11 08:20:09
问题 I want to create a way to update references to css files in jsf in an automated way (through ant, etc.) what is the common practice for this? are there any automated tools available already? Basically I want to be able to deploy my war file and make sure that any changes the modified css files are downloaded by clients without them having to clear their cache. Thanks for the help! 回答1: You can make use of JSF builtin resource library versioning. You'll only need to introduce a resource