richfaces

Doubt regarding rich:suggestionbox ?

Hi, I'm trying use rich:suggestionbox. I went through the tutorial provided by the Richfaces. important think is i am using richface 3.1.4 JAR. In the suggestion box i am just trying to populate some default data's at the starting, but the suggestion box is not rendering at all. When i try to see the error console in firefox the follow...

drag drop richfaces

How to drag and drop a inputtext or any other UI component using richfaces? ...

Tri-object converter for selected list in JSF

We've got h:selectOneMenu that receive the value from a thirdparty thirdpartyObj.type (got a get and set) thirdpartyObj.type.codeName (got only a get and the set is called toCodeName instead) The list of option is given by the thirdpartyService codeNameBean.codeNameList (the type of the object) <h:selectOneMenu id="currentType" v...

Can Html5 drap&drop interact with RichFaces fileUpload component?

Hi, My App used JBoss Seam, RichFaces. In the upload photo page, I want to use "drag&drop" a photo from desktop. I have tried with html5 but don't not find a way to interact with richfaces upload file control. Have a way to automatic start richface uploadfile on "ondrop" event in html5? Thanks, Huy ...

RichFaces upload file with drag&drop?

Dear All, Could we have a way to integrate richfaces upload file with html5 drag & drop? Thanks, Huy ...

JSF AjaxStatusTag how to add programmatically

hey, I tried so hard but I just cannot get a simple Richfaces AjaxStatusTag inserted in my page. I generate the components from Java code, not xhtml. That's what I do: AjaxStatusTag deleteStatus = new AjaxStatusTag(); FacetTag start = new FacetTag(); start.setName("start"); HtmlGraphicImage pic = new HtmlGraphicImage();...

JSF custom components

Hey there, I tried to extend RichFaces' rich:messages component by making it appear like a popup box and adding a close button to it. Thus, I only need to change the renderer of the component. I managed to get it work programmatically, but I couldn't use my new tag in the xhtml files. It won't render it. Besides, I use Eclipse and an er...

Adding Richfaces to a Maven Project being Deployed to JBoss AS 6

I'm having trouble with adding Richfaces to my Maven project, which is deploying to JBoss AS 6. Here is my pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt; <mode...

Problem with interruption of ajax request in RichFaces

I use seam and RichFaces in the project. If user performs action to leave the page (i.e. clicks s:link) while a4j ajax request is still active then alert with error 599 appears (Request error, status : 599 Network error). I can found error logs only in <a4j:log> output: debug[17:56:32,419]: NEW AJAX REQUEST !!! with form: aforma d...

sorting extendeddatatable in richfaces

Hello All, does anyone know how exactly the default sorting works in richfaces datatable columns? (using sortby) My problem is that once a sort has been performed, the new data order is never preserved in my backing's bean data model (which makes me wonder where is this new order now stored?), that is the actual datamodel always cont...

Richfaces Plug'n'Skin - how to provide images?

I'm trying to build a custom richfaces skin by the Plug'n'Skin feature. I've build the project with maven. (like its mentioned in the reference guide) I've tried to use the xcsswich isn't supplied to my app - everything looks like default. So I switched back to normal css in my tab-panel.xcss. This works: Styles are applied but one iss...

How to avoid repeat evaluation of EL

Hi, I'm developing a web interface with seam/richfaces. Alot of the components has something akin to <h:panelGrid rendered="#{complexbean.heavyoperation()}"> ... </h:panelGrid> <h:panelGrid rendered="#{!complexbean.heavyoperation()}"> ... </h:panelGrid> In this case the #{!complexbean.heavyoperation()} gets evaluated twice....

Suggestionbox performance issue

Hi All, I am facing some performance issue with suggestion box. I have a page with 200 rows each row has 2 suggestion box for text field, the page takes more than 20 seconds to load, <rich:dataTable id="detail_table" width="auto" value="#{testBean.testList}" var="record" headerClass="GrayBackgroundHeader...

Howto: Intercept a a4j request using a javax.servlet.Filter?

Does anybody know how to intercept a a4j request using a javax.servlet.Filter? The interception must occur before FacesServlet be called (it's why I'm planing to do it using Filter). I'd like to know wich method will be executed on my backbean, cause I need to do a dynamic control first. Tks! ...

Richfaces not working without old ViewHandler?

In JSF application we are using richfaces (Final.3.3.3). In pom.xml there is dependency on jsf-api-2.0.2, jsf-impl-2.0.2 and jsf-facelets-1.1.15.jar, and in faces-config.xml there is <view-handler> configured like this: <application> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> </application> I know that in JSF2 ...

rich:jQuery not working on JS call

I have richfaces application. In the page, there is jQuery function defined: <rich:jQuery timing="onJScall" name="updateUrlHash" selector="#conversationId" query="alert('in jquery call');" /> Then I have some a4j:commandLink, which should call the function on completing ajax request. <a4j:commandLink value="test" oncomplete="upd...

JSF do not interpret placeholder in <h:outputText value="#{tableRow.x}" />

Hi all, I am mixing jsf,richfaces and spring together (faces backing beans = spring beans) and I have a jsp page with a table. For some strange reason tag <rich:dataTable value="#{inputBean.table}" var="tableRow"> calls inputBean.getTable() method and construct output table with the same amount table rows which table(List) has -> #{i...

JSF : Changing component style in jstl c:foreach array not working

This code displays an index and performs an action using RichFaces' <a4j:commandLink> tag. It works technically fine. Only the style of previously selected letter is not been reset (altough the appropriate code part is executed). Does anybody know where the problem is and how to solve it? The JSF page: <?xml version="1.0" encoding="ISO...

Orchestra and RichFaces problem

I use Orchestra and RichFaces in my application. When accessing a page in my application I get the following error many times and the page doesn't load: WARN _ReentrantLock:103 - Waited for longer than 30000 milliseconds for access to lock org.apache.myfaces.orchestra.lib._ReentrantLock@78214f6b which is locked by thread http-8080-2 I...

How to control selecting a single item in a rich:pickList

We have a requirement to select only one element from rich:pickList. How do you disable the controls or prevent folks from moving additional data from the left hand side after an item is selected. ...