richfaces

How to top-level a rich:panelMenu with it's rich:outputPanel with an h:panelGrid?

Hello I'd be greatly appreciative of some expert opinion on what to do with the above problem. Broadly it breaks down like this: I've implemented a dynamically created rich:panelMenu and as per the RichFaces demo, put an a4j:outputPanel to it's right to contain the content which will appear when the user clicks an item in the menu. Co...

Richfaces a4j achtionparam set null value

I am trying to reset some values in a form using the a4j:actionParam tag. But it seams that null values never arrive in the target bean. The converter receives it correctly, returns null, but it is never set in the bean. The target is to fill in the start and endDate for different predefined values (last week, last month etc). For the "...

dynamic richfaces dataTable, ajax4jsf, and reRendering

I have a rich dataTable that's defined inside of an a4j:outputPanel, and that's bound to a session-scoped backing bean that creates the HtmlDataTable. By itself, that part of my code is working fine, and the dataTable looks good. On another part of the page, there are some basic text links that I'm creating as a4j:commandLinks, and whe...

Drag and drop the inside of a modalPanel

Using Richfaces 3.3.0GA, jsf 1.2_14 and facelets. I have a richfaces ModalPanel with an image inside as follows: <ui:composition> <a4j:outputPanel id="#{prefix}_a4jImagePanel"> <rich:modalPanel id="#{prefix}_imagePanel" autosized="true" domElementAttachment="body" rendered="#{examinationPanel.render}"> <f:f...

How to create commandlink programmatically

Hi, We have a system built on seam/richfaces. There's this webpage where the tables are rendered from dynamic context (from multiple different datasources, and each of them uses a different layout to represent essentially the same real world concept). As a result, this table is binded to a bean, and it's columns/layout are generated fro...

JSF: SelectOneRadio shortcuts for options

I have the following h:selectOneRadio: <h:selectOneRadio id="#{prefix}_rating" value="#{examinationPanel.tempResult}" > <f:selectItems value="#{examinationPanel.options}"></f:selectItems> </h:selectOneRadio> And then the backing bean is loading the options based on some userpreferences: public List<SelectItem> loadOptions (Set<Result...

Alternating Richfaces DataTable Row Color

What is the easiest way to alternate a row color using RichFaces dataTable component? ...

Rich faces and dataTable

I have the question regarding rich faces and beans. I have a jsp page that is using richfaces and inside it I have the: rich:extendedDatatable component, that takes data from my MainBean as ArrayList (this bean queries the mySQL and puts results to the ArrayList that populates the dataTable later on). There are 4 columns in datatable, fi...

RichFaces rich:insert takes a long time to output large files

Hello I'm using a RichFaces <rich:insert like this: <rich:panel header="my head"> <a4j:outputPanel ajaxRendered="true"> <rich:insert src="#{MyBacking.myPath}" highlight="groovy" /> </a4j:outputPanel> </rich:panel> If I have a 60k file to output, it takes 23 seconds. I've got a requirement to output the contents of so...

How to add marker to rich:gmap component?

Hi everyone, I can see that I cannot specify the gmap marker in atribute.. I suppose that I need to use a4j function inside this tag. The problem is that I am complete newbie to this stuff... Could anyone tell me how to do this? step by step solution would be greatly appreciated... I have api key and map component (worked with lat and l...

Having problem with ReRender in JSF.

EDIT - Simplifying the Question. When X components rerenders Y, what is the process that occurs? Mainly, what is the order of the the read/write of each of the values? (Assuming the X onchange occurred which triggered the value change of Y) I am interested mainly in order of the reads and writes to each of the bound values of the compo...

How to sort datatable using richfaces

Hi, I am trying to sort datatable using richfaces. cab anyone help me out in this. ...

ViewHandlerWrapper Error in JSF Application

I have application written with JSF and RichFaces. For some reason I'm getting error below. I tried to find a solution but had no luck. Can someone help me to fix this issue? The app work fine, it just bothers me to see this error in my logs. [#|2010-03-23T23:06:53.286+0000|SEVERE|sun-appserver9.1|org.ajax4jsf.application.ViewHandlerWra...

RichFaces DEFAULT_EXPIRE not working

I am trying to set the max-age for the javascript files that Rich Faces 3.1.2SP1 streams back to the browser. I have set org.ajax4jsf.DEFAULT_EXPIRE as a context param in web.xml, but when I use Google Page Speed to view the response, the max-age stays at the default value of 86400 (1 day in seconds) regardless of what I set default_ex...

External Reference to Richfaces modal

Hi, I need to get a <rich:modalPanel id="mod1" .../> component to load an external page on "show" action, defined as: <a4j:commandButton value="link" id="l1" reRender="mod1" oncomplete="Richfaces.showModalPanel('mod1')"> <f:setPropertyActionListener target="#{mybean.someParam}" value="#{myOtherbean.someOtherparam}" /> </a4j:co...

rich:tabPanel and problems when filed has required="true"

Hello, Let's consider following, simplified example: we have 2 tabs withing , each tab has and at the moment we want to switch from one tab to another, and the inputText is empty (we dont want to submit value from it anyway, we want to go to another tab) we get "Validation Error: Value is required." the example code: <!DOCTYPE html...

Problem with Richfaces running with NGinx proxy

Hi, I got a problem with my Richfaces application. I am using it with JSF and GlassFish v.2 on my localhost and combination od dataTable and dataScroller works fine. While moving the app to the VPS running Tomcat but proxied by Nginx server, everything crashes. Exactly the scroller is working, but the dataTable view is not refreshed! ...

How do I present a RichFaces tree with a specific node already expanded

I have a JSF page that displays a RichFaces Treeview, from a TreeNodeImpl model generated in the backing bean. Now I want the page to display initially with a specific node expanded / selected. Preferrably this expansion should be controlled from the backing bean (no javascript wizardry) The whole tree has been generated at the time o...

Problem using Hibernate Projections

Hello! I'm using Richfaces + HibernateQuery to create a data list. I'm trying to use Hibernate Projections to group my query result. Here is the code: final DetachedCriteria criteria = DetachedCriteria .forClass(Class.class, "c") .setProjection(Projections.projectionList() .add(Projections.groupProperty("c.id"))); .....

I am working in JSF and Richfaces technology.

I need to club rich panel menu with iteration to fetch data from database. kindly help ...