richfaces

Richfaces + Icefaces Ajax Push

Hello, I have a project using Jboss Seam + Richfaces and I want to use comet (ajax push). I've been reading some stuff and found Icefaces ajax push really interesting. The problem is that I can´t get icefaces and richfaces work together... not sure if I'm configuring it right. Somebody already did this? What are my alternatives using...

Execute backing bean action on load?

I would like to build a results page for a report export page. This results page must display the status of the export and offer the download of this export. The export is done in an action method. I can execute it via a commandButton but it must be executed automatically on load. How can I accomplish this? JSF: <h:commandButton valu...

Rich Extended DataTable column widths

I have issue with RichFaces extended dataTable If the columns are more say 20, instead of giving a horizontal scroll bar, the columns are getting compressed. I tried giving column width in %, px .But no use. Anyone familiar with this? <rich:column label="Select" sortable="false" width="10%"> <f:facet name="header"> <h:selectBo...

Alternative to <rich:modalPanel> for Internet Explorer 6

Hello, The pages of my web application are loaded really slowly on Internet Explorer 6, compared to Firefox : around 6s for IE6, 3s for Firefox. The size of the pages are indeed a big problem in my application, but I also know that the <rich:modalPanel> is really slow on IE6 (due to DOM manipulations). As we use a lot ot them, I thin...

How to determine active panelBarItem in RichFaces

Hi! I am using the RichFaces panelBar and would like to determine the active panelBarItem at any given point in time. Could you suggest a way of doing so? Thanks in advance! MD ...

Populating richfaces ComboBox

Hi all, I am trying to populate a combobox as late as possible, to improve performance. I once had populating methods for all the combo boxes in a page in the constructor of the backing bean. I'd like to populate the combo just when the user needs it. Which is the most indicated event to use and the method to avoid delays and concurrenc...

JSF A4j support

Hello everyone, I'm having trouble with a JSF selectManyCheckbox and A4J support. The purpose is to run some action when a checkbox is selected. This works perfectly in Firefox. Yet, when testing in any IE (ie6 / ie7 / ie8), found out that the action was being called but the selected value was put to null. Just to test it, I placed a JS...

How to keep the filterBy value of rich:datatable in session scope?

Is it possible to keep the filterBy value of a rich:datatable rich:column filterBy="..." in SESSION scope? ...

rich:datatable and expandable column with internet explorer

I created a simple solution for expandable columns/rows with rich:datatable and rich:column, which is similar to: http://stackoverflow.com/questions/358840 The facelets code is (simplified) as follows: <rich:dataTable id="detailtable" value="#{bean.model}" var="row" columns="2"> <rich:column id="detail-check"> <...

Dynamically generate pairs of columns with rich:columns

Is it possible to dynamically generate pairs of columns using RichFaces' rich:columns component? (Version 3.3.0) Ideally, I'd like to generate something resembling the following: +------+--------------+--------------+--------------- | Name | 1/2/09 | 2/2/09 | 3/2/09 (etc.) +------+------+-------+------+-------+----------- |...

How does rich:dataTable's stateVar attribute work?

I'm trying to output the row index for each row in a rich:dataTable. It looks like the stateVar attribute would do this, but I can't figure out how to use it. The reference documentation for this is hopeless: The attribute provides access to a component state on the client side Simply outputting the state variable yields "org.ajax...

JSF CommandLink does not work on Firefox after a whole form reRender

Hi all, I have a JSF 1.2 application (Sun RI, Facelets, Richfaces) that was used only on IE6 browsers. Now, we must also support Firefox (yeah !). In one of my pages, I have a form that contains a button that will re-render the whole form. After the re-rendering, some links (<h:commandLink/>) are added in this form. The JSF code looks...

JQuery, JSF and a4j:commandLink

Hello ppl, I have a problem with using jQuery Dialog and Ajax submit in JSF. I have the following code for displaying Dialog windows: <script type="text/javascript"> jQuery(function(){ // Dialog jQuery('#dialog').dialog({ ...

included plain html form not getting sent

I have included xhtml page where in I have plain html form with get method. I include that page with <ui:include> in parent xhtml. In the parent xhtml I have a dropdown box in which I use the a4j:support -tag. After I choose another item from the dropdownbox, I have an ajax request done that updates the server side variable based on th...

Problems validating rich:calendar

Hi ! I am trying to validate a rich:calendar for not null input using <rich:beanValidator />, but i am not able to validate for null inputs. For example in my constraits.xml file, i validate getter for calendar: <getter name="dateOfBirth"> <constraint annotation="javax.validation.constraints.Past"/> (works fine) <constraint anno...

JSF + RichFaces gives me an HTTP Status 404 in my pages

Hi friends, probably this is a lack of attention issue, if so, forgive me, but I can't see what I'm doing wrong, it took me all the afternoon, I need you help. I'm doing a JSF + JPA + RichFaces app, it's pretty simple. I did the JPA project, tested, then the JSF project, tested, everything is working fine, but then when I pasted the Ric...

jQuery - want to hide row from rich:dataTable

Hi Guys, I have a rich:dataTable. I want to hide a row with this code: <c:if test="#{not empty documents &amp;&amp; documents.size!=0}"> <rich:jQuery selector="#_inboxTable_ tr" query="ready(function() { jQuery.noConflict(); if ( jQuery(this).find('checkboxStatus').attr('checked', true)) { ...

jQuery strange behaviour

Hi guys, I have a rich:dataTable and there i have a rich column with a span. When the page is loading this span takes some values like: true+false or true+true etc. Depending on this value, i hide the tr containing this span with jQuery like: <rich:jQuery query="ready(function() { jQuery('#inbox:_inboxTable_').find('span[title=test]')....

question to extendedDataTable, sortBy

Hello everybody, I use ExtendedDataTable and try use sortyBy and GroupByColumn. I want to implement following behavior: If I click on the header to sort the column, then this column should be taken for GroupByColumn. I didnt found anywhere what listener is called, if I sort the column in UI. Can anybody help me? thank you. <rich:ext...

rich:tabPanel has a strange Behaviour: it does not select the correct tab

Hello everyone. I've found a strange behaviour using rich:tabPanel in RichFaces 3.3.0.GA and Facelets 1.1.14 The problem occurs when I try to nest a tabPanel in a rich:panel, simpleTogglePanel, or h:panelGrid. The panel is in sever mode. It suddenly switch to first tab. It's not that easy to reproduce: If I've got three tabs: click...