richfaces

How to clear contents of an element on radio button change

I am having two radio buttons of label 'Text Mode' and 'Html Mode'. If Text Mode is selected only <h:inputTextarea/> should be displayed and the contents of HTML editor must be empty. If Html Mode is selected <rich:editor/> should be displayed and the Text textarea must be empty. The default selection is Text mode. (i.e. if the user adds...

Text & Image Layout in JSF

Hi i am trying to make image and text display at same line by using JSF tag. is there any way to do that? oringinal code is like following but image and text always displays in 2 lines. <rich:modalPanel id="Busy" autosized="true" zindex="2000"> <h:outputText value="Submitting..."></h:outputText> <h:graphicImage valu...

JSF - RichFaces performance problems showing complex page.

Hi all, I am working on Weblogic 10.3.2, JSF 1.2, Richfaces 3.3.2 and Facelets 1.1.14. I have a serious performance problem, particularly showing my home page, which contains a very complex rich:datatable. When deploying the application on my local server, a request can take over 5 seconds to complete. The home page is a ui:composit...

reRender is not consistent in firefox 3.5 with JSF

Hi I am working on JSF 1.2 with richfaces. If user select a particular value in dropdown, based on the value one of the text field has to be editable or read-only. if user selects twice the drop down and give the value in input text the value is not refected in backing bean i am getting null value. this happens only in mozilla and no...

JSF: Is there a way to create animation effect when insert a new record into table?

I've been googling this question a lot and I dont seem to find a solution. I wonder if any developer out there that able to achieve this? I know there are couple ajax framework out there for JSF like Richfaces, primefaces, icefaces ... I have look at their showcase, and could not seems to find what I am looking for. ...

Problem with css richfaces (on seam)

Hi guys, I have a problem with the css generated by richfaces. When I deploy my application with eclipse, sometimes I have css, sometimes not. I have found that richfaces generate this file: http://localhost:7001/myproject/a4j/s/3_3_3.Final/stylesheet/theme.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__ And when this file is empty, I have none c...

Show/hide nested rich:subTable in rich:datatable

I've nested a subTable inside a dataTable as follows: <rich:dataTable value="#{myBean.dataList}" var="dataItem" > <f:facet name="header"> <rich:columnGroup"> ...

Are Richfaces and Primefaces compatible with each other?

I am using Primefaces-2.1 now, I try to integrate Richfaces-3.3.3 in my application in order to use <rich:jQuery>. My <p:commandButton>, <p:commandLink> stop working as soon as I integrate the Richfaces, I give me this exception: Any idea why? Exception in the filter chain javax.servlet.ServletException: Index: 0, Size: 0 at javax.faces...

Display image based on number value JSF

I have a number of details about a product which I wish to display. In my db the status of these items is stored as a number eg 1 - Worldwide, 2 - Europe Only, 3 - US Only I currently use: <h:outputText value="#{product.value}" /> Instead of the number I would like to display an image instead. What would be the best way to go about t...

How to override markPrevious and markNext methods on rich:suggestionBox javascript

Hi, I have a requirement where users should be able to navigate from the first to the last item in a rich:suggestionBox's list by pressing the key, and vice versa by pressing the . I need to get this working on richfaces 3.3.x The quest to get this done has led me to the javascript that is behind the rich:suggestionBox. You can find ...

Skin problem with richfaces on Weblogic 10.3

Hi guys, I have a big problem with richfaces and weblogic 10.3. I use seam 2.2.0 on weblogic for my project. All jsf and richfaces fonctionnalities work fine except one. The skin doesn't work, nothing is skinned so my application has none css and it's very dumpy. What is wrong in my configuration ? Thanks. Here is my richfaces confi...

jsf databinding does not work

I am trying to create a page using richfaces, I created the following field <h:inputText value="#{petTest.pet.name}"/> faces-config: <managed-bean> <managed-bean-name>petTest</managed-bean-name> <managed-bean-class>petstore.PetTest</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> man...

Get the <f:param> value in a jsf page?

I'm trying to pass a <f:param name="id" value="{someValue.id}" /> and retrieve it in the next page (so I can put it in an output link). This is what I tried: <h:outputLink value="#{linkController.clientEdit}?id={id}">#{linkController.clientEdit}?id={id}</h:outputLink> The problem is, the part that is between the tag prints what I want...

Unable to instantiate class...because it's looking for the wrong one

I'm using IBM RAD with a WAS 7.0 application server. I'm developing a JSF project using RichFaces components and I'm having some trouble with one of the classes. Whenever I start my server, I'm getting this error in the console: [9/23/10 15:38:13:182 EDT] 00000016 annotation W com.ibm.ws.webcontainer.annotation.WASAnnotationHelper co...

RENDER_RESPONSE takes to long in seam

Hi, I write application using JBOSS Seam with Richfaces. Unfortunately some pages of it load very long especially when I want to show about 100 rows (or more) in table . Getting response from database takes about 2453 ms, so it is quite well. However the phase RENDER_RESPONSE takes about 23750 ms, so it is unacceptable. The object which ...

Captcha in JSF 2.0

In my project I have to integrate Captcha to my Signup Form, I have seen JCaptcha and google recaptcha can anybody suggest me the best and easy way to integrate captcha. Actually I don't want third party captcha like recaptcha so how can i generate my own one. I am using JSF 2.0 and Richfaces. ...

Sorting datatable columns - data disappears

I have a jsp page which I'm using to display a datatable. If I look at the page in Google Chrome it displays fine, but If I click on the header to sort the column. All the data disappears and all I'm left with is the column headers and sorting icons. Sorting works fine in both Internet Explorer and Firefox. Has anyone seen this before? ...

Richfaces Datatable - Sort specific column on load

Is it possible to sort a datatable by a specific column when it first loads? Or does it need to be done using the DAO? When I put on ORDER BY in my SQL in my DAO, no data at all is returned in the datatable ...

Event are not called in richfaces

Hi everyone! (ps: sorry about my english) I have a text field in my application and for this textfield I have a a4j:support that should work on onchange event! So I have the same form for Include and Update. The user fill the textfield with a code and in my bean I have a method that search the equivalent combobox if that value exists th...

How to implement verticall scrolling on mouse over in a <rich:datatable> in jsf+richfaces?

Can any one help in achiving this requirement. Is there any attribute in rich:datatable has this ? ...