richfaces

jsf multiple validators

i need to know how to use m multiple validators for multiple fields like name and email id,and age and phone numbers. i have a clue that in ajax i can use multiple validaors for one form with different fields, but in jsf only one field like name validator or email validator is working, if i use two validators for the same form its not wo...

rich:dndParam with h:dataTable

Hi I am trying to implement drop feature of a4j with JSF Datatable. I have a datatable and I want to drop components into that data table. How do i do it. The code for dropping it in a tree works fine: Here's is the code of dropping it to the tree, but when i try to drop the same into a data table it doesn't work. ...

How to set up i18n for different languages?

Hello, I am working in internationalization. Can anybody help me how to set up for support different char types?? At least Spanish and German. I am using Rich faces, this is my configurationfile faces-config.xml <application> <locale-config> <default-locale>en</default-locale> <supported-locale>fr</su...

JSF: logic based on iteration index

Pardon me for the title, that's the best my limited brain can came up this late. So, i have a list of string, something like [abc, def, ghi]. The question: in JSF, how do I iterate the list and create a string that look like this "abc, def, ghi" (notice the commas)? For those who have the urge to tell me that I'd better use a Java me...

Richfaces: Problem changing a component's 'rendered' attribute value with a4j:support in extendedDataTable

I'm trying to use richfaces extendedDataTable with a4j:support to change a rich:panel's 'rendered' attribute's value but it's not working. This is part of my JSF page that contains a rich:extendedDataTable and a rich:panel: <h:form id="tabForm"> <rich:extendedDataTable id="myTable" width="500px" height="250px" value="#{extDataTableBean...

JSF -- <ui:repeat /> over a java.util.Set?

Does the <ui:repeat /> tag support iterating over a java.util.Set? I've tried iterating over my JPA domain entity objects contained in a Set, but receive errors. Is there something I'm missing? Does an additional flag need to be present or something? ...

rich:tree - programatically set the selected node

I have a tree (a parent could have any number of child ) and an inputText for searching nodes by name. Assume the following tree: A --A1 ----AA1 --A2 Where A has two children A1 and A2, A1 has one child AA1. When i type A1 in input text , i want to set nodes (A1,AA1) programmatically to select and if it is necessary expands nodes. (i...

Is there a way to create dynamically <rich:tab> elements?

Let say that I want to create a variable set of <rich:tab> elements within a <rich:tabPanel> component. So I tried to do that way: <rich:tabPanel switchType="client" ...> <ui:repeat value="#{myBean.myTabs}" var="tab"> <rich:tab name="#{tab.name}" label="#{tab.label}"/> </ui:repeat> </rich:tabPanel> But it didn't work, ...

Changing language by clicking a button

I have a JSF/RichFaces setup, and I found this tutorial. I followed it step by step, but I can't manage to get it. Also: language.jsp is mentioned in the tutorial, can anybody tell me what exaclty it is? Or if you think this is not an appropiate tutorial and have a better one, please, let me know. ...

JSF/Rich Faces Drop down funtionality suggestion

Hi friends, I am using JSF/Rich Faces with Spring Webflow. I am implementing a functionality where in I have a drop down menu, where with each selection I need to trigger different transition in the webflow. For Example I have a drop down with values [Admin, Home, Logout, Search] On select of any of these items I should fire an approp...

How to remove Message Ui:include not found on java build path in eclipse, While developing .xhtml file using richfaces and facelets?

Hi, I am getting error message like... The tag handler class for "ui:include" (null) was not found on the Java Build Path when i placed or in my .xhtml file. What is the reason behind this.. I am using: jsf 1.2 RichFaces 3.3 ...

Richfaces Model Panel Not Working in commandButton/Link With HigherVersion of browser

Hello,I m trying to call a model Panel through CommandButton in Windows Vista Mozilla Firefox:-Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11 GTB7.1 (.NET CLR 3.5.30729) When Ever i m clicking On the CommandButton IT is showing a blank white Page and its look like Browser Serching anything.and...

<a4j:include> content doesn't get change

This is what i want to achieve. I have navigation panel on left and content panel on right. when user click links on left navigation panel , ajax calls made and content panel got rendered. With current implementation, content got change based on the link i clicked. however i found content still don't get change when perform following s...

How to handle data from one model panel to another in JSF richfaces ?

scenario: i have a model anel opened in whci i have a commandlink which opens another model to search for data adn the data is poplated in a datatable with a link in one of the column. On click of the link i need to fetch the row data an populate the value inside the parent model panel . Problem: i am not able t...

A4j buttons don't fire

I used richfaces in a JSF project. Now I'm trying the same with Seam. But I always get the same JavaScript error: Message: Object required Line: 2791 Code: 0 URI: http://localhost:8080/myapp/a4j/g/3_3_1.GA/org/ajax4jsf/framework.pack.js The s:button tag works <s:button id="eMail0" value="sButton" action="#{Mailer.sendMail}" /> Bo...