richfaces

richfaces file upload is giving error on page : transfer error occured.

richfaces file upload is giving error on page : transfer error occured. I am trying to load doc,docx file and i am getting error mentioned above. I am following http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf?c=fileUpload. Please give relevant solution or some other option for file upload. ...

RichFaces Scroll

Hello, I'm using a dataList on it there is a4j:commandLink, is there anyway that when the AJAX Request that is trigged from the commandLink inside the dataList is finished. I can scroll automatically to that place where the AJAX request is triggered. ...

"no tag was found" Error

I am trying to implement a very simple RichFaces application (following the example at the developer guide, but am encountering an error I cannot solve. My code appears to build and deploy correctly to Tomcat (localhost), but when the index page is opened I get the exception: javax.faces.view.facelets.TagException: /index.xhtml @13,19 ...

i am using spring+hibernate and i m getting error : org.springframework.dao.InvalidDataAccessResourceUsageException

i am using spring+hibernate and i m getting error when i upload doc file using rich:upload component, doc is uploaded sucessfully but when i click ok it gives following error. The field is byte[] doc; org.springframework.dao.InvalidDataAccessResourceUsageException: could not insert: [com.eTender.model.UploadDoc]; nested excepti...

Lazy loading problem in Spring/Hibernate/Richfaces application

Hello In a Spring application, I use the component rich: tree with Hibernate which display the hierarchy of applications using lazy loading. The problem is that the Hibernate session is closed which prevent lazy loading and i receive exception when the page is rendered. Finally I added opensessionViewFilter that's allows me to keep the s...

Why a4j:output doesn't re-render parent panels

Hi, Good evening. I'm facing the following error: I have a selectOneRadio in one file that uses the a4:support to call something in the serverside. The problem is that I need to reRender a tab component that is in the outmost files in a series of includes. The reRender apparently doesn´t work in this case. here are the codes: My MBean: ...

Panel reload after Checkbox Click

Hi everyone, I have the following scenario (using rich faces): ... <a4j:outputPanel id="foo"> <h:commandButton disabled="#{not _user.selected}" value="Do Stuff" /> </a4j:outputPanel> ... <h:selectBooleanCheckbox value="#{_user.selected}"> </h:selectBooleanCheckbox> ... I now want the 'foo' panel to reload when I cli...

How to disable the splashscreen of the rich:extendedDataTable

When the rich:extendedDataTable return it's result, there a splashscreen (a little animated gif) displayed. And I'm searching for a way to removed it. I noticed that in firebug .extdt-ss-vsbl { background-image:url(/swf-rf-poc/spring/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/images/loading.gif); b...

Home page to be rendered according to user type.

I use the following code to redirect to my home page on login... now i want to go a step further and add a logic where it redirects to different page based on user type. for eg: if a user type is employee then i should redirect to employeehome.xhtml and so on ... is this possible ? <page xmlns="http://jboss.com/products/seam/pages" ...

How to create draggable component with RichFaces?

Hello, I try to make draggable components and to do this I am based on this example: http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf and i started with this example but the component does not give any indication that is draggable: <!---------------- Indicator --------> <rich:dragIndicator id="indicator" /> ...

Richfaces layout

I use Seam 2.1.2 and RichFaces 3.3.3 I have the following layout: <rich:layout id="myDiv" style="background-color:#ffffff; border:1px solid; margin:0:padding:0;height:100%"> <rich:layoutPanel position="top"> <div style="border:0px solid; margin:0px; padding:0px; height:105px; background-color:#ffffff;"> ...

JSF/RichFaces: ReRendering a tree outside of the form tht was submitted...

I have two forms on a page. One form, on the left, is a tree and the other form, on the right, is a detail form that changes its content based on the node selected in the tree. All interaction with the forms is done via ajax. I have the reRender of the detail form working just fine when the user selects a node in the tree. However, whe...

richfaces plugins for netbeans 6.9?

is there any richfaces plugins for netbeans 6.9? please give that link where i can get richfaces plugin for netbeans.... ...

RichFaces 3.3.3 with JSF 2.0 working example

I'm very new to JSF and i'm looking for a pure configuration of JSF 2.0 with RichFaces 3.3.3.Final. The documentation on JBoss website is for JSF 1.2. I also find this jboss article but the sample application has a lot of configurations. If you have successfully made RichFaces and JSF 2 work, please share you config. Thank you. ...

Want to implement ICEFaces in Sun One 7 Web Server

I want to implement the JSF on Sun One Web Server 7.0. I repetitively got the exception: java.lang.NoClassDefFoundError: Could not initialize class com.icesoft.faces.webapp.http.core.ReceiveSendUpdates at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.(MainSessionBoundServlet.java:136) at com.icesoft.faces.webapp....

rich:comboBox default value selection

Hi, I need to create a scenario where on a page load the rich:comboBox defaults to a certain string value, sort of the way it would if I were using a selectOneMenu. Or if that is impossible I would need to find a way to edit a selectOneMenu so that it looks like the rich:comboBox, including the skin (deepMarine) we are using. I thought ...

h:inputText data cached

Click "LINK1" --> modal popsup --> enter value in text-box --> click Submit/Process Click another link "update/cancel" --> same modal popsup --> I see the value in the text box (This is fine and if I reload the page and click the link again, the modal appears with values intact) Click "LINK1" --> same modal popsup --> I see the value ...

rich:dataTable doesn´t work with rich:scrolldata

I have this code <f:view> <a4j:keepAlive beanName="datosCtrlBean" ajaxOnly="true"/> <h:form> <rich:dataTable width="300" id="carList" rows="10" columnClasses="col" value="#{datosCtrlBean.datos}" var="category" > <f:facet name="header"> <r...

Google Transliterate translation in a rich faces page using java script

Hello, I am trying to use google transliterate and translate some text from english to a diffrent language. I am able to do this using the following code in the javascript. var options = { sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH, ...

column width in rich:datatable

How to set the colum width for a rich:column inside a rich:datatable ? The width attribute is being ignored. See the following code: <rich:column label="#{msg[result]}" width="150px"> <f:facet name="header"> <h:outputText value="#{veryLongText}"/> </f:facet> <h:outputText value="#{someValue}" /> <f:facet name="footer"> <h:outpu...