richfaces

Ajax-render a table which is inside a different form

心不动则不痛 提交于 2021-02-07 19:50:05
问题 I am facing a problem rendering a data table when selecting a date from <rich:calendar> . I use <a4j:ajax> for the rendering but with no effect. Here is the code sample: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:rich="http://richfaces

Ajax-render a table which is inside a different form

99封情书 提交于 2021-02-07 19:48:37
问题 I am facing a problem rendering a data table when selecting a date from <rich:calendar> . I use <a4j:ajax> for the rendering but with no effect. Here is the code sample: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:rich="http://richfaces

RichFaces 4.3.7 in Jboss EAP 7.0.9 : IllegalStateException

孤人 提交于 2021-02-05 09:30:10
问题 We are having issues with application having RichFaces 4.3.7 in Jboss EAP 7.0.9. This application works fine in Weblogic 12c. Now when this application is deployed in jboss eap 7.0.9, we are getting below issues. We were seeing below issues 2018-08-02 10:27:32,356 ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /pcc/policysearch: java.lang.IllegalStateException at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:712) at com

RichFaces 4.3.7 in Jboss EAP 7.0.9 : IllegalStateException

匆匆过客 提交于 2021-02-05 09:29:59
问题 We are having issues with application having RichFaces 4.3.7 in Jboss EAP 7.0.9. This application works fine in Weblogic 12c. Now when this application is deployed in jboss eap 7.0.9, we are getting below issues. We were seeing below issues 2018-08-02 10:27:32,356 ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /pcc/policysearch: java.lang.IllegalStateException at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:712) at com

Exclude RichFaces JS files in CombinedResourceHandler

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 04:24:25
问题 Is it possible for the CombinedResourceHandler to ignore RichFaces JS files? When I let omnifaces combine all JS files, including RichFaces with Richfaces optimisation off <context-param> <param-name>org.richfaces.resourceOptimization.enabled</param-name> <param-value>false</param-value> </context-param> I get the following exception SEVERE: Error Rendering View[/login.xhtml] java.lang.UnsupportedOperationException at org.richfaces.resource.ExternalStaticResource.getURL(ExternalStaticResource

Exclude RichFaces JS files in CombinedResourceHandler

允我心安 提交于 2021-01-29 04:23:47
问题 Is it possible for the CombinedResourceHandler to ignore RichFaces JS files? When I let omnifaces combine all JS files, including RichFaces with Richfaces optimisation off <context-param> <param-name>org.richfaces.resourceOptimization.enabled</param-name> <param-value>false</param-value> </context-param> I get the following exception SEVERE: Error Rendering View[/login.xhtml] java.lang.UnsupportedOperationException at org.richfaces.resource.ExternalStaticResource.getURL(ExternalStaticResource

jquery remove coming as part of richfaces

落花浮王杯 提交于 2021-01-28 05:08:09
问题 I am using the 3.3.x version of richfaces and that contains the 1.3.2 jquery version. and our system(other resources) found that jquery version 1.3.2 have security vulnerability. I want to remove completly the jquery version and want to use later version 1.6.4 jquery. If it possible than let me know how? and If not than what should I do? NOTE: I can't update the richfaces jar version :( 回答1: Changing jQuery version was a task when I decided to add PrimeFaces to my Richfaces project. I don't

未调用commandButton / commandLink / ajax操作/侦听器方法或未设置/更新输入值

你。 提交于 2020-03-07 20:03:00
有时,当使用 <h:commandLink> , <h:commandButton> 或 <f:ajax> ,与标签关联的 action , actionListener 或 listener 方法根本不会被调用。 或者,不使用提交的 UIInput 值更新Bean属性。 有哪些可能的原因和解决方案? #1楼 尽管我的回答并非100%适用,但是大多数搜索引擎都将其作为第一匹配,但我还是决定将其发布: 如果您使用的是 PrimeFaces (或类似的API) p:commandButton 或 p:commandLink ,则可能忘记了将 process="@this" 显式添加到命令组件中。 如《 PrimeFaces用户指南》第3.18节所述, process 和 update 的默认值均为 @form ,这与您可能从纯JSF f:ajax 或RichFaces中获得的默认值完全相反,它们是 execute="@this" 和 render="@none" 分别为 render="@none" 。 只是花了我很长一段时间才能找到答案。 (...而且我认为使用不同于JSF的默认值相当不明智!) #2楼 我自己陷入了这个问题,并找到了导致该问题的另一个原因。 如果在后备bean中没有用于* .xhtml中使用的属性的setter方法,那么就不会调用该操作。 #3楼 介绍 每当

How to get the uploaded file path in JSF

ぐ巨炮叔叔 提交于 2020-01-25 23:03:22
问题 I'm importing Excel document for reading and displaying the content in the UI. I need to know how to get the path of the file uploaded using browse in order to read the content of the excel file. 回答1: I need to know how to get the path of the file uploaded using browse in order to read the content of the excel file. There's a major thinking mistake here. Imagine that I am the client who want to upload the file and that you are the server who need to get the file's contents. I give you the