button « IceFaces « JSF Q&A





1. Hiding expand/collapse +/- buttons    stackoverflow.com

Is it possible to hide the +/- buttons for an ICEFaces tree node that is a leaf? They still appear on my leaf nodes even when I mark that node ...

2. Trouble implementing reset button in ICEfaces 1.8.2    stackoverflow.com

I have a form with values populated from a database. The form consists of a number of ice:inputText components with partialSubmit="true", so the fields will be validated when they lose focus. ...

3. Cancel button Icefaces with immediate=true    stackoverflow.com

I have a form with save and cancel buttons, cancel button has immediate=true but it doesn't clear the submitted values in the form. I google it and I found this page ...

4. Disable validation on an ICEFaces form on specific button presses    stackoverflow.com

I have an IceFaces form with several HtmlCommandButtons on it. I have some input fields that have attached validators. The validation works well, but runs and blocks the process even if ...

5. Q: ICEfaces apps and the Back button    icefaces.org

Hi all. I'm a bit confused at the moment, regarding ICEfaces/JSF support for browser navigation. I was hoping I could find something that states "you should do it this way", but I'm not finding anything. We're building out an app using ICEfaces 1.7.2, and we've never been able to get the browser history (and it's Back button) to work for us. ...

7. Error on Back Button    icefaces.org

SEVERE: StandardWrapperValve[Persistent Faces Servlet]: PWC1406: Servlet.service() for servlet Persistent Faces Servlet threw exception javax.faces.FacesException: java.lang.IllegalStateException: Component ID j_id21:quadroMeioG has already been found in the view. See below for details. +id: j_id0 type: com.icesoft.faces.application.D2DViewHandler$1@ecb06 +id: j_id1 type: class com.icesoft.faces.component.UIXhtmlComponent@20126950:tag=[html] +id: j_id2 type: class com.icesoft.faces.component.UIXhtmlComponent@11421916:tag=[head] +id: j_id3 type: class com.icesoft.faces.component.UIXhtmlComponent@3243394:tag=[meta] +id: j_id4 type: class com.icesoft.faces.component.UIXhtmlComponent@19335919:tag=[title] +id: j_id5 type: Secretaria do Estado da Fazenda ...

8. My Clear button does not work when a validation happens    icefaces.org

hi, I have a button in my icefaces page which calls the popup. This popup completely is in a new . Now my popup contains 4 fields, a Save button and Clear button, and for the first filed i have written an explicit validator using The issue here is when i enter wrong data and click on save, it ...





10. inputFile: Upload button loses label    icefaces.org

11. button styling?    icefaces.org

15. How to customize button reload in expired session    icefaces.org

Hi, does anyone know how I can customize the button 'reload session' which appears when session expired on page. This button is related to an action which permits to reload the session expired on page, I want to eliminate this functionality and modify the button to forward on a Re-Login page. Is it possible? Thanks in advance. Alessio





19. Logout button    icefaces.org

21. No button shown with SelectInputDate/renderAsPopup    icefaces.org

file="/WEB-INF/include/accessLevel/en/new.jspx" contains the following:

25. How to add "donate" paypal button to the application    icefaces.org

Hello, every body!!! My problem is: I have to add "donate" button to the JSF application. I have some ideas but think that it would be better to ask question in this forum, because I'm not sure what is the best practice. In general, PayPal generate some HTML/Java script code, next, this code should be somehow put into application. What I ...

26. Custom Button    icefaces.org

27. Problem with multiple ice:dataTable and buttons    icefaces.org

Hi everyone I have a web page with a "search" button and a which gets populated according to the search criteria. When a search result (i.e. a row) is selected, there is another table that gets populated with sub-results. In the second table, the ID of the first one is shown. I also include a date field, ...

28. Back Button Functionality    icefaces.org

Not sure, if this is a very trivial question, but would like to know, Is it possible to implement the back button functionality using ICEFaces. I've created the menus progamatically and each menuitem is associated with a page. I am able to go on different pages, by clicking on the respective menu items, but now I would like to know, if ...

29. How does icefaces know which button was clicked?    icefaces.org

hi, recently I had some troubles with a ice:commandButton within a table. I was showing a table with a collection as datasource. the collection was not sorted and reloaded on each request. as the collection has no defined sorting each time it was loaded from the database the order was renewed in an undefined way. I used an ice:commandButton with value ...

30. Problem with multiple ice:dataTable and buttons    icefaces.org

Hi everyone I have a web page with a "search" button and a which gets populated according to the search criteria. When a search result (i.e. a row) is selected, there is another table that gets populated with sub-results. In the second table, the ID of the first one is shown. I also include a date field, ...

33. Dynamic input text and buttons    icefaces.org

34. Dynamic add input text and buttons    icefaces.org

36. How do I implement a Back button?    icefaces.org

my solution at this king of problem is: 1) a View controller, a bean (where there are properties and attributes) and a dao for data managing. Immagine View controller made by a base class and the extendend class. In the base class I put 2 attribute, the current view name,the other view. So when I'm on the first view, I can ...

38. datatable and button    icefaces.org

39. Tree node being closed after action button activation    icefaces.org

I've just migrated from icefaces 1.8 to icefaces 2.0 and found that my component changed it's behaviour. If I open some node with children and then click any action button or action link on my page then previously opened tree node being closed. The next time I click action button - node will be opened again. Then closed again. And ...

41. Iterate over a dataTable and delete an entry on the clicked button    icefaces.org

i am trying the same code but it is not working for me i am getting the following error: SEVERE: Servlet.service() for servlet Blocking Servlet threw exception java.lang.RuntimeException: no message available at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:173) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown ...

42. Bookmarking and Back Button support    icefaces.org

43. how to launch an effect from a button    icefaces.org

hello. i am developing a web page which contains a panel and a button. and i want when the user clicks on the button, the panel will slide down with an slide down effect i have the panel bind to an effect property first set to null, and the button changes its value to the effect. but when i click on ...

44. back button success stories? ?    icefaces.org

45. Click twice on ok button problem    icefaces.org

46. Back button    icefaces.org

47. Back/Undo button    icefaces.org

49. Back button    icefaces.org

50. Button's won't work    icefaces.org

51. Button with callback    icefaces.org

53. BookMarks and Back button AJAX is it possible?    icefaces.org

Hi i am trying to create some kind of history managment on a page that is AJAX enabled. I have some success but it is not a complete solution. It works on IE7.0 and FireFox unfortunatly can't make it run on IE6. Have you done something like this? How do you do it?

54. unresponsive buttons    icefaces.org

55. java script return method with button    icefaces.org

56. Nav rules - fixing the back button    icefaces.org

I wonder if the problem is something other than nav configuration. I open a broswer window, and go to index.iface and then nav to login.iface. Then, without closing the first browser window, I open a new window and try to go to index.iface, and I get the same error as if I were trying to use the back button on the ...

57. Back button    icefaces.org

58. Updating button text after change by popup    icefaces.org

Hi, I have an application that shows data in a dataTable. Every row has a button in the last column, that either says "+" if comment has to be added, or wich says "edit" if comment is already added. Now if I click "+" to add comment, a popup shows up. When I add my comment and I click save, I ...

60. Button - Validation before make the action    icefaces.org

Hi I trying to simulate a validation in the client-side like I use to do using javascript. I have a button ice:commandButton id="BLImg" image="images/button-submit.gif" actionListener="#{SelectionTags5.checkSelectManyListBox}" action="#{MyBean.getAllData}" I would like to show a popupModal before make the action, but never stop like I used to do in javascript returning false, for instance. I'm using popupModal from component-showcase Any suggestion? Thanks

61. Growing Buttons    icefaces.org

63. IceFaces Button Event    icefaces.org

64. "Save as" button    icefaces.org

65. duplicate button press    icefaces.org

66. two Actions for one Button    icefaces.org

67. Confirmation on button click - application created button.    icefaces.org

I know that in Woodstock, you can have issues like this if you don't set an Id on the component. I havent used ICEfaces much yet, so I can't necessarily say the same is true... But I would take your code that doesnt work (but should), and just add a btn.setId("someId"); and see if that helps.

68. How to set default button for the page.    icefaces.org

Is there a way to set the default button for an icefaces page? What i want is that when user presses enter key the page is submitted. At the moment im using java script for this purpose, but i wanted to know if there was a way to do it in icefaces. Regards F

70. Upload button in ice:inputFile    icefaces.org

Hi all. Im have been looking for a workaround to remove the submit button for :inutFile, im also trying to use Myface inpufile component but i dont have sucess with this integration, so im look for richface upload component too and again im stop in integration phase, at least after reading a lot os topics and tutorials how to buid custom ...

71. SelectInputDate + immediate works when toggling not when clicking button to open popup    icefaces.org

Ok, in regards to my previous post I found out that: Setting 'immediate' on the selectInputDate generates an actionEvent which is handled during apply request values phase. This means that update model is never executed. So, when you set the selectInputDate to 'immediate' you can safely jump in and out the field without causing it to update the model. The only ...

72. SelectInputDate + immediate works when toggling not when clicking button to open popup    icefaces.org

Ok, in regards to my previous post I found out that: Setting 'immediate' on the selectInputDate generates an actionEvent which is handled during apply request values phase. This means that update model is never executed. So, when you set the selectInputDate to 'immediate' you can safely jump in and out the field without causing it to update the model. The only ...

73. Input file - how to set button look and feel?    icefaces.org

I am trying to get the InputFile component buttons to have the "Normal" rounded edges. I have been able to adjust the size by modifying the .css file, but do not know what controls the rounding of the edges. The attached image shows what I am talking about. The upper portion of the image is what I am getting in my ...

75. how to: dynamic includes + back button    icefaces.org

jmind wrote: from the site i didn't understand how it works. Can you post some sample code? Thanks Hi! I will try to explain it, but it has been a while since I implemented it... (sorry for my goofy english) General Explanation: the main problem is that it's generally not possible to change the browser url using javascript without reloading ...