richfaces

Adding RICHFACES to existing JSF2 project

非 Y 不嫁゛ 提交于 2019-12-01 17:03:48
问题 I'm trying add richfaces to my JSF 2 project using this jboss guide. I've did what they say in point 2.6, but after restart my tomcat server, HTTP Status 404 is reported. Have I missed something?? UPDATE: When I add richfaces-components-ui-4.0.0.Final.jar and richfaces-core-impl-4.0.0.Final.jar, and restart the tomcat server, it reports: INFO: Unsanitized stacktrace from failed start... com.sun.faces.config.ConfigurationException: Source Document: jar:file:/D:/WORKSPACE/BC/.metadata/.plugins

Could not complete the operation due to error c00ce56e

强颜欢笑 提交于 2019-12-01 16:13:15
I've upgraded from rich faces 3.3 to rich faces 4.2 because ajax didn't work for IE9. Now it still not works. After receiving the Response IE gets an JS error "SCRIPT58734: Der Vorgang konnte aufgrund des folgenden Fehlers nicht fortgesetzt werden: c00ce56e." while trying data.responseText=request.responseText on jsf.js.html?ln=javax.faces&conversationContext=2, Line 1 Row 21747 I think it's because of an incorrecct HTTP header Content-Type: text/xml;charset=UTF8 should be Content-Type: text/xml;charset=UTF-8 Here The raw-response of the server HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X

t:inputFileUpload not uploading the file

℡╲_俬逩灬. 提交于 2019-12-01 14:46:39
I am using myfaces ExtensionFilter to upload a file, but the file is not getting set to my bean for further processing. Here is the code : <h:form id="uploadFileForm" enctype="multipart/form-data"> <tom:inputFileUpload id="file" value="#{paramUpload.uploadFile}"> <f:valueChangeListener type="com.bosch.de.plcd.plugin.ParamFileUpload" /> </tom:inputFileUpload> <a4j:commandButton value="#{tpMsgs.upload}" styleClass="button" action="#{paramUpload.uploadParamFile}" onclick="javascript:updateParentScreen();"> </a4j:commandButton> </h:form> and web.xml configuration is as below <filter> <filter-name

a4j:included rich:dataTable negatively affects a4j:commandButton

陌路散爱 提交于 2019-12-01 13:15:50
I have a JSF/RichFaces setup with an index.jsp which a4j:include s another piece of code which contains a rich:dataTable . It initially renders fine, and selecting an item on the index.jsp 's dropDown list and clicking the 'Retrieve' a4j:commandButton uses the backing bean's setChosen method to do it's bidding on the back end. The backing bean updates class members whose getters are then called by the model reading elements in a separate file content.jsp which is a4j:include d. My updated tabPanel appears. I can see output in the eclipse console. But when I hit the button again, nothing

t:inputFileUpload not uploading the file

北慕城南 提交于 2019-12-01 12:47:09
问题 I am using myfaces ExtensionFilter to upload a file, but the file is not getting set to my bean for further processing. Here is the code : <h:form id="uploadFileForm" enctype="multipart/form-data"> <tom:inputFileUpload id="file" value="#{paramUpload.uploadFile}"> <f:valueChangeListener type="com.bosch.de.plcd.plugin.ParamFileUpload" /> </tom:inputFileUpload> <a4j:commandButton value="#{tpMsgs.upload}" styleClass="button" action="#{paramUpload.uploadParamFile}" onclick="javascript

Displaying XML in JSF

风格不统一 提交于 2019-12-01 11:02:28
I have a method that gives back a formatted XML string. I want to show that on a JSF page in a nicely wrapped, readable way. I used this solution first. <pre><h:outputText value="myBean.xml"/></pre> The result is indented, but it doesn't wrap very long lines (with a lot of attributes for e.g.) RichFaces is also available in my project. What would you suggest? Thanks in advance, Daniel Not sure if I understand you right, but if it is a plain vanilla String with XML data which you want to display as-is in the JSF page, then the first logical step would be to escape the HTML entities so that it's

Making Glassfish respond to ajax request JSF 2

左心房为你撑大大i 提交于 2019-12-01 10:58:46
I'm trying to do an ajax request to my server (Glassfish v3.1 open source edition) and for any reason the request never go to the server, running the same proyect on tomcat 7 it works correctly, there's any configuration that i should make on glassfich or anything?? im using eclipse helios, jsf 2 MyFaces 2.1.1, richfaces 4.0.0, and glassfish 3.1 open source edition here's my code <h:panelGroup> <h:inputText id="firstName" value="#{RegistrationForm.first_name}" required="true" requiredMessage="Please enter your first name"> <f:converter converterId="bankingCore.UpperCaseConventer for="firstName

How can I remove the css classes from a richfaces component?

混江龙づ霸主 提交于 2019-12-01 09:24:26
I'm using a rich:simpleTogglePanel and it puts these 3 css classes on the divs: rich-stglpanel rich-stglpanel-header rich-stglpnl-marker rich-stglpanel-body Is there any way that I can remove those classes? Every Richfaces component comes with a set of CSS classes. These CSS classes are used to customize the aspect of your toggle panel (or any other RF component). The four CSS classes, as explained in the component guide , are indeed attached to the HTML components generated by the RF framework. There are 2 solutions for you: Customize your CSS in order to extend the default properties of the

How can I remove the css classes from a richfaces component?

六眼飞鱼酱① 提交于 2019-12-01 07:31:26
问题 I'm using a rich:simpleTogglePanel and it puts these 3 css classes on the divs: rich-stglpanel rich-stglpanel-header rich-stglpnl-marker rich-stglpanel-body Is there any way that I can remove those classes? 回答1: Every Richfaces component comes with a set of CSS classes. These CSS classes are used to customize the aspect of your toggle panel (or any other RF component). The four CSS classes, as explained in the component guide, are indeed attached to the HTML components generated by the RF

Richfaces 4 components don't render

梦想的初衷 提交于 2019-12-01 06:23:17
The problem I have is that jsf tags are not being parsed, so I'm not seeing richfaces components in my pages. I'm using richfaces 4, tomcat 7, and jsf 2.0 This is my faces-config.xml <?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"> </faces-config> web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http:/