richfaces

RichFaces problem with ajax commandButton

Hi i have a problem with <a4j:commandButton> after i press it for some reason all buttons on this page are changing their style any suggestions would be much appretiated i have uploaded a video which shows my problem @ 0:10 sec http://www.screencast.com/users/Schyzotrop/folders/Jing/media/b54aece2-4a97-45dc-99eb-76a7fbe29002 thanks ...

rich:menuitem passing parameter

I have menu build on Richfaces using rich:menuitem. I need to determine, which menuitem was clicked by user. I tried to use: <rich:menuItem submitMode="server" value="#{msg.sidemenu_alldocs_internal_documents_bill_sent_documents}" action="#{billdoc.list}"> <f:param name="sidemenutype" value="#{bill_sent}"/> </rich:me...

Richfaces: dropDownMenu action

Hi! I understand, how to set action to rich:menuItem component, but can i somehow set action on rich:dropDownMenu? Parameter action cannot be set in rich:dropDownMenu component, only in dropDownMenus child rich:menuItem. Maybe there is another approach? Action setting to rich:menuItem: <rich:menuItem submitMode="server" value="#{msg.s...

Richfaces Calendar Minimum and Maximum Dates

Hello everybody! My problem is making the RichFaces calendar restricting the dates to be allowed to be chosen by the user. Let's say I want to allow only the dates of this month and the dates of the next month to be chosen by the user. I used the preloadDateRangeStart and preloadDateRangeEnd attributes but they did nothing. I create...

Richfaces:same trees in separate windows (or tabs) being in sync?

Hi all, I have a newbie question in JSF, and particular in Richfaces. I need my JSF application to have two pages showing the same tree, meaning that: The two trees should be showing the same data If I change something in one of the trees (i.e. open/close/add a node) the second tree should be automatically updated. Is this possible...

Rich:Columns - FilterBy

Good morning!! I have a dynamic datatable and I'm using Columns of Richfaces, but when I assign the value to FilterBy, it does not work. Can anyone help me? Woe is my code .. <rich:dataTable id="dtAtendimento" value="#{CadastroAtendimentoTecnico.listaAtendimento}" var="atendimento"> <rich:columns index="index" value="#{CadastroAte...

Problem with Rich faces panelBar ?

I am using rich faces panel bar control in my application. There some problem with the control. The code is some thing like this <rich:panelBar contentClass="some-class"> <rich:panelBarItem label="Panel 1" headerClass="some-css-class"> Contents 1 </rich:panelBarItem> <rich:panelBarItem label="Panel 2" headerClass="some...

Selenium fails to find component after dom update (reRender)

I'm testing a richfaces application with selenium. It works fine, unless I use reRender. (for those unfamiliar with richfaces - whenever an ajax request finished, parts of the DOM are updated/chagned/removed). So, after a reRender selenium (the IDE at least) fails to locate the elements which were within the reRendered area. Both FireBu...

Richfaces scripts / styles not loading

I have a simple scrollableDataTable in a jsf <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <!-- RichFaces tag library declaration --> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <f:view> <h:...

Jboss Seam Booking Example Extract Shared Libs From Ear

Example Booking Application, which JBoss Seam is shipped with, build into EAR file of about 7 MB. That's pretty much if you consider deploying this package to a remote Jboss server and possibly redeploying it package many times during your regular work. Lib files like richfaces and jsf-facelet make the lion's share of that EAR size. Why...

rich:dataScroller does not refresh rich:dataTable in JSF

Hello, I have a rich:dataTable and a rich:dataScroller. When I click on the datascroller, my dataTable does not refresh automatically to show the correct page. If, however, I press the refresh button the dataTable shows the correct page. What am I doing wrong? Here is my code: <rich:dataTable id="applicantsTable" binding="#{applicant...

row counter for html table row

I have HTML table in JSF web application. I am generating rows dynamically using <ui:repeat>. I want a counter for each row. How can I get this? Any help? Ssimilar to rowKeyVar in rich faces dataTable. ...

JSF problem with FireFox 3.5 caching, wyciwyg:// prefix

Hi all, I am new to JSF and have a problem with my simple JSF application. I use Facelets and Richfaces on WebLogic 10.3.2 (11g). The application is essentially 3 pages: A <--> B <--> C where the intermediate arrows denote navigation rules. The navigation is performed through a4j:commandButtons The problem is in Firefox 3.5, when I cl...

populate drop-down values dynamically using Ajax

Hi, I have 3 drop-downs. 1st drop-down contains some values when the page loads. I need to populate 2 nd drop-down based on the value selected in 1st dropdown. Similarly, I need to populate 3 nd drop-down based on the value selected in 1st and 2nd dropdown. Initially I tried like this. <h:selectOneMenu value="#{stu.country}" > <f:s...

what is data.foo syntax in JSF/Rich Faces

Hi, what is data.foo syntax in JSF/Rich Faces? Say for example, <a4j:support event="onchange" action="#{bean.retrieveStates}" reRender="states_dropDown" data="#{student}"></a4j:support> i am passing student object in data attribute. can I access in managed bean? Documentation says this "Serialized (on default with JSON) data...

JSF Form and German Umlauts

Hi there, I'm facing a strange problem in one of my JSF (which is a facelet). I'm using Richfaces and on one page I got a normal form <h:form></h:form> My problem is when I submit the form all UTF-8 chars - like german umlauts (äöü) - are recieved encrypted. If I change the page to ISO-8859-1 on my browser it works. If I expand the ...

jQuery event binding

Environment: JSF 1.2 RI, RichFaces 3.3.2 We utilize jQuery for is to change CSS classes when items gain or lose focus. This is pretty straight forward, however when our partial renders are completed we are not seeing these focus and blur events bound to the newly rendered form elements. This is to be expected, as these events are not ...

Problem with richfaces ajax datatable + buttons

Hello i have another problem with RichFaces this is my application and it shows how i want it to work : http://www.screencast.com/users/Schyzotrop/folders/Jing/media/a299dc1e-7a10-440e-8c39-96b1ec6e85a4 this is video of some glitch that i can't solve http://screencast.com/t/MDFiMGMzY the problem is that when i am trying to press any butt...

rich:datatable rowspan issue

Hi all, I need to create a rich:dataTable (or even extended) with the following features: I have a class Company having a collection of Product objects. I want to show the following table: I still have not figured out how to do this with a subtable (in all the examples I found the subTable has the exact same columns as the master ta...

JSF ReRender support with selectBooleanCheckbox

I have a JSF page on which I want to have a checkbox that, when clicked, will add/remove certain other form fields from the page. Here is the (simplified) code I currently have for the checkbox: <h:selectBooleanCheckbox title="showComponentToReRender" value="#{backingBean.showComponentToReRender}"> <a4j:support event="onsubmit" reRe...