richfaces

How to handle Code Error 500 in Richfaces

Hello, I'm using Richfaces 3.2.2 and need to show the user the 500 error page when there is Exception. The issue is that when I use ajax event I can't show the user the 500 error when there is an Exception. I've already defined the error page on web.xml. Excuse My English. Any suggestion please ? ...

JSF2.0+RichFaces3.3.3 suggestionBox inside a modalPanel

Following this example http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?tab=editDataTable&amp;cid=101317 I created a modal panel used for editing an entry. The difference is that one of my inputText fields has a suggestion box: <h:inputText id="entryName" value="#{controller.currentItem.name}" validator="#{controller.en...

Session timeout and re-direction on login

On session timeout we re-direct to the login page and if the user logs back into the portal he gets re-directed to the page he was trying to navigate in the first place. In our case, the re-directed page tries to fetch values from the session and it fails badly with exceptions and it works just fine when there is no dependency on pages ...

richfaces how to detect mouse events

Hi, sorry if the answer to this is obvious but I couldn't find it. How do I detect if the user has clicked, dragged etc. on an image (or other element)? Thanks in advance! ...

rich:dataList pagination?

I know you can use a <rich:datascroller> when you want pagination on a <rich:dataTable>. But, what about a <rich:dataList> or <rich:dataOrderedList>? Is there any mechanism for pagination on these components? Or will I have to code in the logic by hand? ...

How to dynamically pass arguments to messages in the resource bundle

I would like to retrieve the message information from the i18n bundle (messages.properties in seam), but I am not sure how to pass the declare / pass the jobCount variable dynamically in my xhtml The existing code looks like this. <s:decorate template="/layout/panel-name.xhtml"> <ui:define name="label">User has been assigned #{jobC...

tileloaded event in richfaces gmap

In my richfaces application I'm use gmap components. I want to do some action on event "tilesloaded", but in richfaces it doesn't work. Why? GEvent.addListener(map, 'tilesloaded', function(){ alert("test"); }); If I use "click" event then action is work. ...

Populating a page from Data table in modal panel

I'm trying to get some data from a datatable in rich:modal panel The whole flow is as follows When clicking on search button on main page, a modal panel pops up with appropriate data & check box Till this point the application is working fine After clicking on ok button, selected data should be populated into main page. This is wher...

Define different styles in the rich:editor in richfaces.

I want to add a rich:editor (the one based on tinyMCE) richfaces component to my Seam web application, and on that editor I need to pass somehow a CSS file with a collection of css classes. So that someone editing the content of a specific page can use the same styles available to all the other static parts of the web app. Did someone ...

richfaces how to detect mouse position

Hi! How can I detect the mouse position on a "onclick" event in RichFaces? Thanks! ...

Unable to select a particular radio button choice by clicking on the choice text

<s:decorate template="/layout/display-text.xhtml"> <h:selectOneRadio layout="pageDirection" value="#{_userHome.pref}"> <f:selectItems value="#{_userHome.getPreferences()}" /> </h:selectOneRadio> </s:decorate> We are able to select the user p...

reRender not working

Hey guys, i have this code below <rich:tab id="tabProcessos" label="Processos"> <a4j:outputPanel id="processos"> <h:form> <rich:dataTable width="800px" value="#{reservaGeralController.lstProcessos}" rendered="#{!empty reservaGeralController.lstProcessos}" var="processoHistorico" id="processosTabela"> ...

RichFaces Vs PrimeFaces

I am using JSF 2.0 and I am looking for a copmponent library with minimal load in terms of performance. Which one is better to use if I have choice between RichFaces and PrimeFaces? What are the advantages and disadvantages of both? ...

Problem in updating page wise total in JSF datatable when using RichFaces datascroller

I am creating a datatable in my JSF page which shows the footer for every column with the total of values in the column page wise. I am using Richfaces datascroller for paging. When I click next page in richfaces datascroller I need to update my footer with the total of column values in that page, which now a problem for me I managed ...

Richfaces component id in form - css

Hi, I have a component inside a form: <a:form id="myform"> <a:somecomponent id="comp"> </a:form> and a huge css file, which attaches some style to the component with id "comp". However, this does not work, as in the rendered html page, the components name becomes "myform:comp". How can I prevent this? Using myform:comp in css do...

how to generate dynamic tree.properties file from database and pass it to tree structure of richfaces.

how to generate dynamic tree.properties file from database and pass it to tree structure of richfaces. ...

JSF and richfaces: h:commandlink in richfaces table not working properly

hi All, When using h:commandlink(or commandbutton) inside a rich:dataTable, the action specified is never invoked, neither is the corresponding managed bean instantiated(whether it is at request or session scope)... instead, the same request is performed.. (page reloads).. have seen what appeared to be similar issue on forums, but is no...

Onclick doesn't call a function

Hello, While I am working with this code: <rich:menuItem value="AND Search" onclick="addTagAND('#{tagElement.tag}')" id="and_search"> FUNCTION: <a4j:jsFunction name="addTagAND" actionListener="#{interfaceContainer.documentFormActions.addTagAND}" reRender="navigation, ..." ignoreDupResponses="true" data="#{searchResults.graphJ...

Manage back and forward in Richfaces

I'm using RichFaces component library and I want to manage the history of Ajax navigation, so the enduser can use the browser back and forward buttons. Is there any clean way to do it, design pattern, library, etc? ...

How to change the radio button or checkbox layout

We use h:selectManyCheckbox and h:selectOneRadio for rendering choices against a certain element. We would like the flexibility to layout the choices either horizontally, vertically or sorted in multiple columns. e.g. 1. Horizontally one two three four five six 2. Vertically one two three four five six 3. 2 columns one two three fou...