commandButton « IceFaces « JSF Q&A

1. Dynamically generate ice:commandButton components

I've been trying a lot of different things that I would think would work like expected. However, they are causing me some frustration. Here's the scoop: I am using ICEFaces 1.8 components ...

2. Disable commandButton in JSF

This seems like it should be pretty straightforward but I'm not feeling it. I have a JSF CommandButton that executes a long running serverside task (10-15 seconds). I've seen forms where ...

3. Enable JSF commandbutton only if all the other components are error free

I am using icefaces in my application. There is a form in the page, which has a couple of input fields. I would like to enable the commandbutton only if the fields are ...

4. How to disable unsollicited ajax on standard components (h:commandButton) while using Icefaces?

Icefaces 2 has the annoying habit of enabling Ajax where I don't want it. It works for a lot of things, but not all of them:

  • for a commandButton which triggers a ...

5. h:commandButton disabling enabling based on a server side call triggered by a Managed Bean

I am relatively new to JSF2 and its ilk :) I have a JSF2 project using a few ICEFaces2 elements for future scaling. Currently, I have a h:commandButton which on being clicked ...

6. CommandButton renders on a double click rather than on a single click(4 out of 10 times) in JSF icefaces

i have an issue where the command button in some cases needs to be clicked twice for the action to take place. i am experiencing this issue while working on jsf ...

7. Passing attributes with

8. CommandButton

9. CommandButton in a Datatable

Hi. I don't know if my question suck, but i'm starting with icefaces. I work with Icefaces 1.7.2 and Netbeans 6.1 . I have a Datatable and it work fine, but when i put a commandButton on a column, the Action of this button don't work. if i put the same button, or move it out the datatable, this commandButton work ...

10. Autocomplete after commandbutton

I have a page that has an auto complete on it (using inputtext) and a commandbutton. When pressed, the command button reads the auto complete and uses it to create a dynamic tab. When I first pull up the page the auto complete works as expected. However, after I press the command button the auto complete ceases to function. After putting ...

11. Problems with ice:commandButton

12. override style of ice:commandButton

14. A Bug found in iceface! Can anybody help me! In my datatable the commandButton-action is not called

I have had the identical problem. Command buttons in a row of a data table don't fire. It doesn't even matter what the action property is, because there is never an attempt to resolve the name. When I switch from CachedRowSetDataModel to CachedRowSetSortableDataModel, the problem goes away. When I switch back, the problem reappears again. I made no other change, except ...

15. image on commandButton

21. ice:commandButton label on the disabled attribute

I have two buttons on the page, why when I set up a button's disabled property to true when the button is clicked can be jsp:

27. commandButton action doesn't work

Hi alltogether, I have been struggeling with the tag. If i click the button, nothing happens at all. It also doesn't work with the custom jsf html library. I use ICEfaces 1.8.1 and glassfish v2.1 Here some code samples (you can see my maven configuration, the web.xml and the faces-config.xml in my latest blog entry However I added the following ...

29. Image in commandbutton

30. Error in reset commandButton

31. Help with inputtext + commandbutton

32. ice:commandButton and ui:composition

33. get ice:commandbutton id

38. My h:commandButton doesn't work with Icefaces 2.0 alpha 3

Hello, h:commandButton doesn't work as soon as I set the parameter to true (all is fine with Sun JSF2.0) Here are the XHTML attributes : value="Editer les lettres de classement" id="btnCancel" name="Valider" onclick="return valider(window.document.forms['licencies']);" action="#{lettreClassementBean.editePdf}" Is it an error from myself or is it a compatibility problem from Icefaces ? Thanks in advance for any answer Regards - bye Thierry ...

40. Passing parameters to commandButton

42. ice:inputText and ice:commandButton.

43. ice:commandbutton navigation problem

46. ice:commandButton

49. how to add multiple attributes to ice:commandButton

I'm trying to add multiple attributes with ice:commandButton - But when the page is rendered, it throws exception: java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.faces.component.UIComponentBase$AttributesMap.put( at javax.faces.component.UIComponentBase$AttributesMap.put( at com.sun.faces.facelets.tag.jsf.core.AttributeHandler.apply( at javax.faces.view.facelets.CompositeFaceletHandler.apply( at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler( at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply( at javax.faces.view.facelets.DelegatingMetaTagHandler.apply( at javax.faces.view.facelets.CompositeFaceletHandler.apply( at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler( ...

50. issue in commandButton

51. CommandButton Navigation doesnt work

Hello I have a big problem: I write a Chat with Icefaces 2.0.0. Everything works perfect, also the push function! But I also put a button on the same page, which do a logout! The Logout-method is working perfect too, but the action method returns a String (logout.xhtml) which have to be navigate to. But it doesnt! What can I do ...

52. ice:commandButton title not displayed when disabled

I'm using Icefaces 1.8.2, and have a problem with the component. I have a use case where a button should be disabled under certain conditions, but the tooltip should still be visible when mouse hovers over the button. What I noticed is that when the button is disabled, the tooltip doesn't show up. Its only visible once the button's ...

54. js Error when using commandButton

55. Hiding or showing a commandButton

I would like to be able to make a button on the page (an 'ice:commandButton' as of now) appear and disappear based on the value a method in my backing bean returns (method evaluates to true or false). I don't see an example of something like this in any of the tutorials, I'm just seeing how to do that sort of ...

56. my commandbutton cannot go to next page

hi, I try to go on a next page when i click on my commandbutton and nothing append but it can run my method. I have a good configuration in the navigation rule. there is my code. faces-config.xml ... /welcome.jsp gotoApp /clientPage.jsp ... welcome.jsp <%@ page language="java" pageEncoding="UTF-8"%> <%@ taglib uri="" prefix="h" %> <%@ taglib uri="" prefix="f" %> <%@ ...

58. commandButton not work in dataTable

hi, when you say it doesn't work, could you please be a bit more specific about what does not work? Do you get your application running under Tomcat 6.0.13? Do you see any errors in your Tomcat server console? Actually I had some integration problems when trying out my example on Tomcat 6.0.13. When using MyEclipse it seems the new plugins ...

59. JavaScript & onmouseup with ice:commandButton

All I want to do is disable all the elements on the form, when the Save button is pressed. This will prevent the user from trying to press the buttons multiple times or believe they can cancel the save. I am having a terrible time getting any JavaScript code to execute at all. I have tried many things. Here are a ...

61. commandButton refresh

62. commandButton and selectOneMenu

65. problem with ice:commandButton

67. CommandButton does not work

68. ice:commandButton methode calling

71. commandButton actionListener problem

Hi, I'm using Hibernate with Icefaces in my application. And command button sometimes fails to fire and throws no exceptions. It seems as it does not work when I select values from definite tables in DB. And I cannot understand why it is so. The tables are very easy consists from 2 columns and for some it works correct but for ...

72. commandButton actionListeners

almost resolved the issue, selectOnemenu caused validation failure. I formed values from DB field and if lenth of value was less then field size it was field with blanks and JSF seems to trim blanks when option selected and when validation comes it compares Strings one of which contains blanks and the another not. That was the reason.

73. commandButton problem !!!

74. panelTabSet with

75.  no event happen

78. how pass parameter in commandButton???

Hello, I need pass a parameter in a commandButton: the bean: public void action(ActionEvent event) { FacesContext context = FacesContext.getCurrentInstance(); String paramId= (String) context.getExternalContext().getRequestParameterMap().get("paramId"); return "ok"; } but the param is null. If I use commandLink it's works ok. Can I pass parameter in commandButton??? or if it is impossible, how can ...