How to disable <rich:inplaceInput> ?
There is some way to disable ? I want allow or not allow user to edit data. Maybe I need other component? ...
There is some way to disable ? I want allow or not allow user to edit data. Maybe I need other component? ...
I am using rich:dataTable with rich:dataTableScroller. And I don't want load all my data from DB when initialize table, because I have very many records. I want that that rich:dataTableScroller show me real page count but load page only when I switch on in. I find some solution here But I want use rich:dataTable andrich:dataTableScroller...
Hi, Is there a way to change the default unsorted icon for a rich:column? I am aware that you can add sortIcon="/images/myPic.png", but i don't want to have to add that for every single column. I tried adding an attribute selector to my CSS file to "hide" the image: img[src="/app/a4j/g/3_3_0.GAorg.richfaces.renderkit.html.iconimages....
I have a series signup pages that build on each other. When the users session expires I have a Listener that cleans everything up on the server and that works great. But, if the user attempts to do anything else I just want to redirect them back to the first page of the series. However, my filter doesn't seem to work correctly. I keep ge...
INITIAL POSITION: We are using SEAM together with RICHFACES. We've got the following page configuration with an action (called actionBean.doBefore), that should be executed once on page load: <page> <action execute="#{actionBean.doBefore}"/> <navigation from-action="#{actionBean.doAfter}"> <redirect view-id="/view/component/...
We want to pre-fill our richfaces suggestion-box with a inplace text. Are there any recommendations on how to do this? I think, simple replacement of h:inputText to rich:inplaceInput will not work. <h:inputText id="field" value="#{form.field}" required="true" /><rich:in <rich:suggestionbox id="suggestionBoxId" for="field" suggestionA...
I am developing application using JSF- richfaces. The application has standard login page, session management and the session expire time is 15 min. One of the requirement is, when the session expires and if the user clicks on any of the links, I need to display a popup(instead of going to login page) which will say "Your session expir...
How to create a rich:modalPanel dynamically? I need to click one button and generate a floating panel. The catch is, if I click the button, there should be created a second panel, and the first one should remain on its place. I've tried using ui:repeat and reRender, but this overwrites the first panel when I generate a second one. ...
Has anyone had any success attaching a rich:toggleControl component to a radio button component (h:selectOneRadio) or alternatively any of its children select items (in this case s:enumItem). Basic code example: <h:selectOneRadio value="#{backingValue}"> <s:enumItem enumValue="VAL_1" itemLabel="Value One" /> <s:enumItem enumValue...
I have a RichFaces UI which are having sidebar menu and sidebar had 8 links. I am using Seam @DataModel and @Factory and hibernate criteria to populate all the 8 pages. In all the pages i have sortby functionality which is working fine. I am able to get all data in all the 8 pages and I can freely navigate around all the links/xhtmls. Bu...
I am just scratching my head on using DoJo in Seam in place of RichFaces or IceFace. I couldn't find any article or tutorial out there in the web. The reason for my question is that Iam coming out of a DoJo/Domino project and like to have this project in J2EE/Seam/DoJo. Appreciate any input... TIA. ...
The code below has been simplified to the simplest possible thing that is failing. Basically when someone requests to confirm an action, I am forcing them to login, then allowing them to confirm the action. This is all done with ajax. The first form submission happens correctly but the second one fails to run the desired ActionListener. ...
How can i display Label from SelecteItem and use the value as a Key in rich:combobox? Jboss forums says it is not possible since the rich:combobox is designed for suggestion. Not really a replacement for h:selectOneMenu . is there any work around or alternative way? PS: i tried using JSF converter it is modifying both value and label. ...
I am developing web application using A4J, Richfaces. One of my requirement is, I need to check if the user has changed any values in the form when he is trying navigate away from the page. I have save and cancel buttons in the page. I am using a4j:command button for cancel functionality. Clicking on cancel button should do below things...
I am having an issue in creating rich:combobox i did as follows <rich:comboBox selectFirstOnUpdate="false" defaultLabel="Enter some value"> <f:selectItems value="#{userregister.selectItems}" /> </rich:comboBox> and in the backing bean i created the selectItems as follows List<UISelectItem> selectItems; UISelectItem uisi = new...
I'm creating a facelets template for all my company's internal applications. Its appearance is based on the skin which the user selects (like gmail themes). It makes sense to store the user's preferred skin in a cookie. My "user-preferences" WAR can see this cookie. However, my other applications are unable to find the cookie. They a...
I am currently displaying a ticket number like so. <h:outputText value="#{ticket.ticketNumber}" /> Instead of this I want a hyper-link to a URL. The address will look similar to this: http://testserver.com/viewer.jsp?ticket=#{ticket.ticketNumber} So, the new code might look something like this (note the code below doesn't work, jus...
Hello, Is there any way can declare a bean in just like JSP UseBean in JSF? for example if i have nested objected inside a VO, I don't want to call to many get methods again and again For Example i have ManagedBean(MB) hold VO. VO hold (CVO), CVO Hold CVO1. if want methods of CVO. i need to write MB.VO.CVO.CVO1.method1, MB.VO.CVO.CVO...
when we are performing any reRender action to particular part of the page. Display of the page is fine but for displaying the particular portion the remaining page actions are called Twice and the queries in those BackingBeans are firing (Mean to say all the queries are firing twice for displaying some part of the page). This is decreas...
I have a simple CRUD project that I'm using richfaces and toplink for. I've noticed some of the pages are rather slow to load, so I turned the logging level for toplink to FINE. When loading my page that lists all of my course objects in a rich:datatable, toplink appears to be running the same select all query 9 times. When using the r...