richfaces

Enlist a table's columns in other component

The main goal is to have a dropdown menu where each of its menuItems represents one column of a <rich:extendedDataTable />. Above the table I have this: <rich:dropDownMenu value="Column visibility" submitMode="none" direction="bottom-right"> <c:forEach var="columnConfigVO" items="#{gridConfigurationManag...

How to set up weekends in richfaces calendar?

Hi all! I want to change next example: http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?tab=organizer&amp;cid=1157294 to have ability to set up weekends and hollydays. And I have q few questions: 1) why I could use data.shortDescription/data.description in the next code: <div> <h:outputT...

richfaces 3.3.3 problem with ie6

Hi everyone, I am working using richfaces 3.3.3 , tomcat 6. when i try to access my application using IE6 and the windows language is set to arabic, i get the following exception: IllegalArgumentException: Parameter "size" for convert from HTML to java can not be decoded: [1px], reason: Unparseable number: "1px". when i change the win...

Richfaces - <rich:Editor> inside jQuery ui dialog

I use a <rich:editor> inside a JQuery UI dialog: <div id="helpDialog" style="display: none" title="#{messages.help}"> <rich:editor id="helpTextArea" theme="advanced" value="#{helpUtils.test(helpId)}"> <f:param name="theme_advanced_buttons1" value="bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright...

How to clear h:message or rich:message value in JSF?

Hi colleagues ! I am developing a JSF application and I have many user forms where I use JSF validations. I have an issue which annoys me, it will be easier to tell it with an example. <h:panelGroup> <h:selectOneRadio id="gender" value="#{registrationController.person.gender}" ...

RichFaces rich:clientId within facelets

Hi there, I'm trying to something like this: <?xml version="1.0"/> <ui:composition ....> <h:inputText id="#{id}InputText" value="#{value}"/> <rich:calendar id="#{id}Shevron" popup="true" datePattern="ddMMyy" showInput="false" todayControlMode="hidden" enableManualInput="false" s...

Interrupt a JSF Ajax request

Hello I have a JSF application, in which a RichFaces modal panel is shown using a4j:status while an ajax request is being handled by my backing bean. I want to put a cancel button on the modal panel so a user can interrupt the request. What is the best way to do this? I'm thinking of something like having the cancel a4j:commandButton...

Richfaces extendeddatatable sorting problem

Hi all, I am developing a web app using JSF, RichFaces, EJB3, Hibernate and Seam. I have an extended data table and showing a list (say userList) which has multi columns in it. Moreover, because of that this datatable is selectable, I want to keep the selected row indexes even if the sorting is changed by the user. In other words of w...

RichFaces Drop down menu links to work in target panel.

Hello There, I new to RichFaces and have been tinkering with it for a few days, I was playing around with drop down menus and i can only see examples of rendering text when a tab is clicked, what i am looking for is to renderer a page when clicking a link in the drop down menu. Any pointers or help would be much appreciated. Cheers ...

How to embed and call a javascript script in a RichFaces/JSF page

Hello I've been looking around for a method to embed and call javascript functions in JSF pages. I'm also using RichFaces. To define the function, it appears I can do this in a cross-browser supported fashion: <a4j:outputPanel ajaxRendered="true"> <f:verbatim> <script type="text/javascript"> ...

Transient variables are not captured properly on form submission

My User entity class have several member variables (e.g. String firstName) which are persisted and some transient variables (e.g. transient boolean selected) which are not. I have used the transient variable to capture a checkbox selection, but invariably the value never gets set and procesed properly until I set another bean value alo...

RichFaces Toolbargroup centering a group

Hello there I am trying use a toolbar so that it has three parts part A is aligned left part B is aligned Center part C is aligned right both the right and left i can use the location attribute ... but since there is no center attribute i am not able to center part b. I can use a rich:spacer but this makes the toolbar rigid and w...

Setting initial state of a JSF component to invalid

Hi there I have a small JSF application where the user is required to enter some data about themselves. For each component on the page that has required="true" I want to show an icon depending if there is data in the field or not. My problem is that when the page is initially shown all fields are valid, even if they do not have any dat...

creating dynamic rich:dropdownmenu

MethodExpression methodExpression = application.getExpressionFactory().createMethodExpression( FacesContext.getCurrentInstance().getELContext(), "#{PrismBacking.onItemClick}", null, new Class[] { ActionEvent.class }); menuItem.setActionExpression(methodExpression); I created a dynamic...

How to change the background color of a h:inputText control inside a rich:Panel

I need to change the background color of some <h:inputText> controls inside a rich panel based on a condition. This is to distinguish these controls as readonly. I tried using styleClass and style properties but both did not work. styleClass is ignored and style colors only half of the textbox. 1) styleClass code : In css : .readonl...

Richfaces fileupload - perform name check on 'add'

Hi, I would like to perform a check on the name of a file being uploaded via richfaces fileupload component. I would like to check this as soon as the user selects the file. A file with a wrong name, should not appear in the list, and an alert() should be called specifying the filename was not correct. Is there a way to check the add e...

JSF runtime pagename passing

Hi I have an include page which is a navigation menu. When i click on those menu i want to refresh the content area of layout with a certain page. How can i pass the page name into a JSF page using include tag I dont want to switch to facelets and also i tried using $ and calling the backing bean method. It ...

How do you find out release, mailing list statistics information on open source projects

We are interested in finding out some statistics of various frameworks Mailing list activity on say richfaces. Much similar to what is available on http://code.google.com (Low, Medium, High) + average number of emails per day | per month. Number of releases made in a year including patch, minor, major releases. We did look at the mave...

How preview html pages using richfaces?

Hi guys! I need your help once more! I have the task: I need to preview the html pages in .xhtml page. My html pages use flash charts, so I need to be able to show flash with other content. Also this previews must be smaller than the original page. I try to do it with : I could see the text, but no flash and image content. Could someb...

Avoid richfaces to send back javascript libraries in the ajax responses

I'm using JSF 1.2 with Richfaces, and for every ajax request, the server is sending back the response, whichi is good, but it also contains all the links to the javascript files. I want to improve the performance so I just want the <body> to be returned, because all the javascript files are already loaded in the browser when the user log...