commandButton « IceFaces « JSF Q&A





1. Dynamically generate ice:commandButton components    stackoverflow.com

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    stackoverflow.com

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    stackoverflow.com

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?    stackoverflow.com

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    stackoverflow.com

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    stackoverflow.com

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     coderanch.com

8. CommandButton    icefaces.org

9. CommandButton in a Datatable    icefaces.org

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    icefaces.org

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    icefaces.org

12. override style of ice:commandButton    icefaces.org

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

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    icefaces.org





21. ice:commandButton label on the disabled attribute    icefaces.org

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    icefaces.org

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 entryhttp://daniel-noz.blogspot.com/) However I added the following ...

29. Image in commandbutton    icefaces.org

30. Error in reset commandButton    icefaces.org

31. Help with inputtext + commandbutton    icefaces.org

32. ice:commandButton and ui:composition    icefaces.org

33. get ice:commandbutton id    icefaces.org

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

Hello, h:commandButton doesn't work as soon as I set the org.icefaces.render.auto 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    icefaces.org

42. ice:inputText and ice:commandButton.    icefaces.org

43. ice:commandbutton navigation problem    icefaces.org

46. ice:commandButton    icefaces.org

49. how to add multiple attributes to ice:commandButton    icefaces.org

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(UIComponentBase.java:2263) at javax.faces.component.UIComponentBase$AttributesMap.put(UIComponentBase.java:2147) at com.sun.faces.facelets.tag.jsf.core.AttributeHandler.apply(AttributeHandler.java:113) at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94) at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131) at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162) at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114) at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94) at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131) ...

50. issue in commandButton    icefaces.org

51. CommandButton Navigation doesnt work    icefaces.org

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    icefaces.org

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    icefaces.org

55. Hiding or showing a commandButton    icefaces.org

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    icefaces.org

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="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ ...

58. commandButton not work in dataTable    icefaces.org

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    icefaces.org

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    icefaces.org

62. commandButton and selectOneMenu    icefaces.org

65. problem with ice:commandButton    icefaces.org

67. CommandButton does not work    icefaces.org

68. ice:commandButton methode calling    icefaces.org

71. commandButton actionListener problem    icefaces.org

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    icefaces.org

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 !!!    icefaces.org

74. panelTabSet with     icefaces.org

75.  no event happen    icefaces.org

78. how pass parameter in commandButton???    icefaces.org

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 ...