richfaces

Mouse over effect with jQuery in richfaces datatable and datascroller combo

Hi, I'm problem with defining a mouse over effect for my datatables. I have <a4j:form> <rich:dataTable id="dataTable"> ... </rich:dataTable> <rich:datascroller id="dataScroller" for="dataTable" /> </a4j:form> <rich:jQuery selector="#dataTable tr" query="mouseover(function(){jQuery(this).addClass('active-row')})"/> <rich:jQuer...

Forcing a save as dialogue from any web browser from JSF application

Hi , I have a modal that will be shown and then I have an export button which should bring up the save dialog, if I have use h:commandButton, the validation checks are bypassed , but works well. If I use a4j:commandButton, validations are done perfectly but I dont see the save file dialog. Can somebody help me. thanks ...

Richfaces calendar manual input value not binding

Hi, I've got a richfaces calendar component defined as <rich:calendar id="startDate" value="#{myBean.dateSet.startDate}" timeZone="#{myBean.dateSet.timeZone}" datePattern="#{myBean.dateSet.datePattern}" enableManualInput="true" immediate="true"> <a4j:support event="onchanged" action="...

How to find if String contains html data?

How do I find if a string contains HTML data or not? The user provides input via rich:editor component and it's quite possible he could have used either a simple text or used HTML formatting. ...

How to rewrite the URL

I have a small application built using Seam 2.2, Richfaces 3.3, JBoss 5.1. Most of the page navigation adds the request parameters to the target URL. I would like to hide parameters to be hidden to the customer who is using the application (e.g. I would expect the URL to be something like "http://localhost:8080/books/Book.seam". The par...

Validating a wrong date entry in rich faces

In one of our functionality we have some date fields for inline edit where we have enabled manual input. If in rich:calendar component, we manually enter improper date or junk data it will not even call the action method. As per our requirement we need to display an error message for date validation for these kind of fields. Is there any...

How to capture value from textarea during form submission

I am using textarea to capture book description but textarea doesn't have attribute "value", How to pass the value to bean. But the following mechanism to capture value doesn't seem to work <textarea cols="80" rows="3" spellcheck="false">#{_book.description}</textarea> ...

rich:extendeddatatable to get the first row object during column filterby and pagination

I have a extended table to be populated based on the search result. In the extendeddatatable in one page there will be 10 rows displayed, with the first column as a link.When user clicks on the link more details of the row object will be displayed below the rich:extendeddatatable.By default the first row details should be displayed below...

Richfaces fileupload UI look and feel

I am using richfaces, in our project and there is a fileupload component in richfaces. I want to change the UI of component. Like, one InputText box followed with browse button followed by upload button. There is any way of getting the change of fileupload UI using xcss file? ...

rich:fileUpload -- Nothing happening?

I'm trying to use RichFaces <rich:fileUpload> component (with Seam as the overall framework) to upload a series of files. However, when I click the "Add" button nothing happens. Absolutely nothing. I'm not prompted with an open dialog or anything. I have a JSF page with an , and inside of that form I have: <rich:fileUpload allowFlas...

RichFaces and JSF: Where does the fileUpload component upload files?

I'm trying to use this fileUpload component example to work in my own project. However, whenever I upload something, it says it uploads and completes successfully, but I have no idea where on the server it's going. I use the Windows search feature to find the filename of the file I just uploaded, but it doesn't return anything. Accordin...

Call rich:modalPanel for every ajax request with out using a4j:status?

Hi, I am developing web application using JSF richfaces.I have one rich:modalpanel in main templete. This modalPanel have 'Your request is processing....." message. I want to show this message(modalPanel) every action(ajax request). But without using a4j:status element. Is there possible to acheive this(using listener or any otherway)...

editor for creating mathml equations

I don't have much knowledge on mathml editors, we are already using rich:editor to edit html text. I would like to know the most commonly used mathematical equations editor which is browsed based and works across all the major browsers. I have looked at the editors listed here, but unable to make a decision on what to use along with our ...

Spring Web Flow and JSF2 configuration problem

Hi all, i would like to use Spring Web Flow and JSF 2, but it doesn't work. If I use a h:commandButton the transition is not executed and the page is only refreshed. My configuration is: web.xml: <!-- Initializing JavaServer Faces, *NOT* used at runtime due to Spring Web Flow --> <!-- FacesServlet --> <servlet> <servlet-nam...

Doubt in <rich:listshuttle>?

In my application i am using <rich:listshuttle> component and I had provided a blank space for the Label. My doubt is when i keep the mouse pointer in the Copy,Remove,Up and Down button i am getting a tool tip namely copyControl,removeControl,upControl and downControl, when checked the HTML source code these are the ALT name provided in ...

Richfaces rich:datascroller on rich:dataTable commandlink not working

I'm using a datascroller on a richtable and have the following column. When I click the link the table refreshes but goes to the first page not the page I was on. When I debug it the datamodel is hit but the datavisitor is set the first page. Any ideas? <r:column> <t:commandLink value="send" action="#{thingService.sendThing}"> <f:pa...

Issue with resetting jsp page

I am working on a jsp page using richfaces. My current page has multiple feilds and an add and a reset button. The reset button works fine, calling a method in my backingbean which null the appropriate fields on the page and resets some other assorted values. The issue is with my add button. The add button calls a method which valida...

How to remove text cursor in rich:ComboBox in Richfaces ?

I am using a combobox from richfaces. Check the following code <rich:comboBox id="combo" value="#{thebean.selectedValue}" enableManualInput="false"> <f:selectItems value="#{thebean.listOfValues}" /> </rich:comboBox> The items are displayed and is not editable. However, the text cursor appears when you click on the selected item. How t...

JSF -- Alternative to "rendered="?

We're developing a Java web app that utilizes JSF (Richfaces through Seam) for its UI. I've read several articles that indicate that using the "rendered=" attribute on UI components results in a pretty substantial performance hit. We have several components that we'd like to enable or disable based on whether or not their values are se...

Richfaces + Spring DataTable DataScroler problem

I try to use Richfaces DataTable with DataTableModel to have server side paging and sorting. My tebaleModel is a spring bean with scope "request" and " proxyMode = ScopedProxyMode.TARGET_CLASS". On the page is a keepAlive tag for tebaleModel bean. When I click next the bean is initialized but it should be restored. Can anybody help....