richfaces

strange blank page on google chrome

Hi, I've spent a few hours to find out the cause of this blank page: [page removed for security reasons] It's hard to understand why all the source code appears ok but the page is blank... Please note that in FF/IE it's working ok... Does anybody see the problem? Solved: The problem was the js plugin which loaded the text containin...

Facelet was modified messages

I see this information in my jboss console, when my pages don't render properly. Does anyone know what this means? 14:22:46,403 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 :54:54 PM, flushing component applied @ 2:22:43 PM 14:22:46,404 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 :54:54 PM, flushing ...

Moving items from right to left causes the elements to go to the bottom of the rich:pickList

Moving items from right to left causes the elements to go to the bottom of the rich:pickList Assuming I have 5 elements in my pick list and the left hand side shows up as (1,2,3,4,5) and I move to items from the top to the right side. The list appears as follows left hand side (3,4,5) and right hand side (1,2). If I move 2 back to the...

How to provide a minimum width for rich:orderingList control

We use rich:orderingList with the following attributes listHeight="auto" listWidth="auto", this causes it to auto re-size and if there are smaller strings within the list, the list width is very small. We would prefer to have a minimum size for smaller strings and should change to auto for larger strings. How do we achieve this? ...

Using rich datascroller With Hibernate Pagination on Server

I am having rich:datatable having 500(row) data and I am using rich:datascroller for pagination but the problem is all the data are fetched on 1st time, so if anybody having a way that click on page 2 hibernate fetches rows from table (11-20). I am using Spring+Hibernate. Please Give solution in detail. ...

JSF: Ternary operator used to assign a value to an <f:param> fails

Hi, I am using JSF tags within an XHTML file. My intention is to enable or disable a <rich:MenuItem> context-menu item by setting the "disabled" attribute to "true" or "false" appropriately. To do this, I am using a backing bean variable in a ternary operator and setting an <f:param> value to either "true" or "false" based on the ...

Use field name variable in JQuery validation rules

I am a jquery newbie. I could get the validation rules working in my form. I am using a Java framework and for some reason, when it converts from .xhtml to .html, all the ui component's id/name were prefixed with the form that containing it. I would like to reuse these validation rules for two other forms but because of the prefix issue,...

How Do Portlet-Bridge, Richfaces and ajax4jsf work together?

I am trying to get Liferay 6.0, JBoss portlet bridge 2.0 and Richfaces 4.0.0 working together by using the configuration as stated in JBoss Forum and the portlet bridge documentation. My goal is to use JSF 2.0 when implementing protlets. I use maven for building and deploying the portlet in Liferay and included the Richfaces dependancy ...

Identifying rows in a rich:dataTable using ID instead of index

I'm using a to display an array of my domain objects (POJO) in my web page, like this: <rich:dataTable id="instanceListTable" value="#{instanceListBean.runningProcesses}" var="instance"> The dataTable generates client IDs based on the index in the array, which is later used to identified the row that user selected. The problem is, th...

How to reRender one cell @ rich:dataTable

Hi, I am currently using a rich:dataTable to display some information from the database. I would like to re-render a single cell from that table, as soon as a user clicks on a specific link. My problem is that I don't know where to get the full ID (tableId:consecutiveNumber:cellId) from the cell? If i just use the cellId in the reRender...

Richfaces Primefaces JSF 2.0 configuration

I am currently using JSF 2.0 and Richfaces 3.3.3 and it's working fine. Now I want to add Primfaces to it; I had added required jar but the components are not rendered is there any configuration i have to add in faces-config or web.xml. ...

How to inactive the Tabs in Richfaces

Hi All, I am using jsf with Richfaces. I've created a tabpanel using <rich:tabpanel>. I have taken 4 tabs like tab1, tab2, tab3 and tab4. if I run the application tab1 is default one. If I go to next tab I use navigation for every tab like NEXT<< and PREV>> . If I click on a tab label, it is also changing the tabs. if I run the applic...

Can't define a event and bind an <a4j:support/> on this event at the same time

Hello, Let's consider this simple code: <h:form id="myForm"> <h:inputText id="myInput"> <a4j:support event="onchange" actionListener="#{myBean.doSomething}"/> </h:inputText> </h:form> this will generate the following HTML code: <input id="myForm:myInput" type="text" name="myForm:myInput" onchange="A4J.AJAX.Submit(......

Rich Faces Equivalent Component of List BOX

Hi All , I have the following functionality . I have two list boxes , depending on the value selected in the first list box , the values in the second list box needs to be populated . I need to implement this functionality in rich faces . I am new to rich faces and my rich faces version is 3.3.3. I went through all the components in ri...

Is it possible that on clicking node data is fetched lazily and rich:tree further nodes are generated dynamically.

Currently I am fetching whole List from DB but DB contains about 2000 rows so is there any way to generate rich tree on clicking node data is fetched lazily and tree is build dynamically. ...

Is it true that you must not use any plain HTML in RichFaces? Why?

Can someone point to me or explain if this is true, you must not use plain any plain HTML tags in JSF or JSF libraries like RichFaces? We're using JSF 1.2, RichFaces 3.3.3 and Facelets on JBOSS server. Someone said to me that we must use only <rich:> or <f:> or <a4j:> and the components they offer. Reason being that the JSF component ...

is there a tab control in RichFaces or JSF that doesn't render ugly nested tables?

The RichFaces 3.3.3 tabPanel control that I'm currently using renders 4 level nested tables. Is there any other tab control to render clean HTML or atleast allow me to control it? Like a <ul> ? ...

How do I use the latest version of jQuery and get back the '$' for jQuery in RichFaces?

RichFaces 3.3.3 comes baked in with jQuery 1.3.2 and prototype and scriptaculous as well. How can I try and use the latest version of jQuery? Can I use the Google CDN one? Also the $() object is defaulted to prorotype and to use jQuery I have to do jQuery() is there a way to get back the $ for jQuery without breaking RichFaces? UPDAT...

How to use $ for jQuery inside domready when prototype is using $ outside?

I'm unable to remove prototype from a JSF framework (RichFaces 3.3.3). And if I try noConflict and try to take over $ it breaks my application framework because its tightly coupled with prototype. So is there a way that I can do this: jQuery(function() { /* some code that within this domready function allows me to ...

Why is richfaces fileupload double-escaping my message?

I am using richfaces 3.3.3 final and want to have a localized file-upload. Therefore i use something like this: <rich:fileUpload id="myUpload" ... addControlLabel="#{msgs.DO_ADD}" clearAllControlLabel="#{msgs.DO_CLEAR_ALL}" clearControlLabel="#{msgs.DO_CLEAR}" stopEntryControlLabel="#{msgs.DO_CANCEL}" uploadContr...