richfaces

Problem Adding class to dynamically created components (richfaces & jquery)

I am writing this post after reading the post on using jquery live. http://stackoverflow.com/questions/852450/adding-jquery-click-events-to-dynamically-added-content I am using richfaces, jquery and custom component tree in my project. I am using vertical tabs in my project, that are created by adding specific classes to the items using...

a4j:included rich:dataTable negatively affects a4j:commandButton

Hello I have a JSF/RichFaces setup with an index.jsp which a4j:includes another piece of code which contains a rich:dataTable. It initially renders fine, and selecting an item on the index.jsp's dropDown list and clicking the 'Retrieve' a4j:commandButton uses the backing bean's setChosen method to do it's bidding on the back end. The b...

RichFaces rich:tree nodeFace type not assigned

Hello I've a rich:tree in my JSF like so: <rich:tree value="#{MyBacking.treeNodes}" var="item" nodeFace="#{item.type}"> <rich:treeNode type="folder" <h:outputText value="#{item.folder}" /> </rich:treeNode> <rich:treeNode type="file" ...

primefaces schedule component not working properly with seam and richfaces

I am using the primefaces schedule p:schedule component to create a outlook like scchedule the jsf tag is as follows <p:schedule value="#{scheduleController.eventModel}" editable="true" widgetVar="myschedule"> I have created the bean ScheduleController as specified here but i am getting an exception when ever this component is render...

Implementing a tree view in seam / JSF using Richfaces or jsTree

I am using seam with EJB3 + JSF and I would like to add a tree view component to the UI. The tree view must allow sorting of the nodes (preferably drag and drop) and must allow selection of leaf nodes. The options I have looked at are: RichFaces Tree jsTree Is there a major benefit to one option over the other? If I use jsTree, wh...

Richfaces 3.x under weblogic 8.1

Hi I have been developing a small project meant to run under weblogic 8.1. Richfaces according to documentation states that it supports weblogic 8.1. Weblogic 8.1 uses servlet specification 2.3 with jsp 1.2 This has been working on my locally installed version of weblogic 8.1 but when deploying to the sparc server, I start running into...

RichFaces - using the same actionParameter with two brothers under one panelgrid.

Hi, I've got a panel grid with a rich faces support object and underneath that an action parameter object. <h:PanelGrid id="button" value="button1"> | \-<a4j:support event="onclick" action="#{bean.doSomething}" > | | | \-<a4j:actionParameter value="1" assignTo="#{bean.currentlySelected}"> | \-<a4j:ContextMenu> | ...

richfaces keepAlive not working

I have a mediaOutput tag which, in its createContent attribute, requires the backing bean to be in a certain state. A list of values, which is filled in an init method, must be available. I therefore added a keepAlive tag for the whole backing bean. I now indeed see the backingBean in stead of some (richfaces) proxy bean, but the filled...

AJAX call clears values in unrelated controls

I'm using RichFaces' a4j:support to toggle the visibility of some controls on the page. However, when the h:selectOneRadio button rdoRequestType is changed, it clears the values of the txtLibraryServerNumber and other controls in the a4j:outputPanel with ID "media". Why would one AJAX call on a page interfere with a different AJAX panel?...

RichFaces rich:panel header not appearing

Hello I specified this <rich:panel> <f:facet name="header"> Panel #1. Changing Style Synchronously </f:facet> Each component in the RichFaces has a pre-defined set of classes you can manipulate with. If defined, those classes overwrite the ones come from the skin. </rich:p...

How to clear the password / login id fields on load

When i try to create a new user, the following fields (loginId which is an inputText) and (password which is an inputSecret) come with pre-loaded values. How do we clear these fields when the page is loaded <s:decorate id="loginIdField" template="/layout/edit.xhtml"> <ui:define name="label">Desired Login Name</ui:define> ...

Is tight coupling between the model and the UI avoidable when using RichFaces?

I am using RichFaces with seam and EJB3. Specifically I am using the rich:tree component. The problem I am worried about is the tight coupling between the UI and my EJB3 session bean. In order to make the tree view work, I was forced to include the Richfaces jar files in my EJB3 project. Is this a bad thing? The method below is ca...

Richfaces column Filter: How to fire an event on intro key

I have a rich:extendedDataTable and I am using column filtering. I want the filter to be fired once the user enters the "intro" key, but in javascript there is no such event. I want to do so because if I use events such as onkeyup I get too many requests and I have problems because of that. I'm using richfaces 3.3.0GA and facelets. Thi...

RichFaces Tree with inline text and controls

I have implemented a tree view in RichFaces. Now I want to display data and controls inline with the tree nodes. For example: (Root Node) | ----(Tree Node 1) (Text and control Here) | ----(Tree Node 2) (Text and control Here) | ----(Tree Node 3) (Text and control Here) Here is the (simplified) mark...

How to read the value of the radio button

I would like to read the selected role information on form submit (a role is selected for a user from a list of roles). How do I read the selected radio button value in my EntityHome interface (Note: I didn't want to use the h:selectOneRadio option here) <tr> <s:div ren...

JSF invoke backing bean method and reRender components on ENTER key

Hi, I have a datatable with as search fields. I want a method on the backing bean to be invoked when ENTER key is pressed, as well as the DataTable to be re-rendered. My approach so far only works in IE 6, and 7, not in FF. This is the inputText: <h:inputText value="#{applicantProductListBean.applicantNameFilterValue}" id="applican...

Question: Richfaces tabPanel - using the same page for the different tabs changing the content dinamically

I am using Seam 2.1.2 and RichFaces 3.3.2.SR1. <a4j:form> <rich:tabPanel switchType="ajax"> <rich:tab label="TAB 1" actionListener="#{outControl.tab1}" immediate="true"> <ui:include src="/pages/agenda/TabContain.xhtml" /> </rich:tab> <rich:tab label="TAB 2" actionListener="#{outControl.tab2}"> ...

a4j:commandLink stops working after being reRender

I have created this test case that isolates my problem. The a4j:commandLink action is not executed once the poll does an ajax update. It is executed if we close the modalPanel before the reRender of the poll. Any suggestion? Thanks in advance. test.xhtml: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/fac...

RichFaces rich:tree nodeSelectListener not being listened to

Hello I have a rich:tree component used like so: <rich:tree switchType="client" value="#{MyBacking.logTree}" reRender="selectedLog" var="item" nodeFace="#{item.type}" nodeSelectListener="#{MyBacking.processLogSelection}" style="width: 50px;"> ...

richfaces alternative for website application development

Can you let me know on the pros and cons of using richfaces and are there any alternatives for it. Its for a proposal submission for a web application. Its for managing documents and it will be intranet. There will be lots of users and main concern is security and ease of use. ...