Action « IceFaces « JSF Q&A





1. JSF action on page load    stackoverflow.com

Is there a way to execute an action when a page is loaded? (Using JSF 1.2 with ICEFACES) Cheers.

2. Dynamic Action in JSF page    stackoverflow.com

I have a JSF page. My CommandButton action method value is dependent on the bean variable value. Example: Bean headerBean has varaible actionValue with value "someBean.doAction1()" When I use , It says headerBean.actionValue ...

3. Printing Action Method Name in icefaces/jsf    stackoverflow.com

is there a way i could print action method name? i have this logs in each phase for the time it takes for them to complete, but it would be nice to ...

4. Actions on application start    icefaces.org

7. Action without user interaction    icefaces.org

8. Action without user interaction    icefaces.org

what I want is that each section of the website, you can check whether a message has arrived, I aser without the user's interaction and communication with the components to achieve iceface. I intended to get a variable to point an object iceface but when you assign a value outside of the user interaction of this variable is null

9. Page is navigating to last action.    icefaces.org





10. Action is called twice    icefaces.org

12. Actions before icefaces    icefaces.org

14. Action not forwarding correctly    icefaces.org

15. How to call an action like struts ?    icefaces.org

16. How to return file from Action?    icefaces.org

HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse(); response.reset(); response.setContentLength(zipFile.length); response.setContentType("application/zip"); response.addHeader("Content-Disposition", "attachment; filename=" + hostName + ".zip"); ServletOutputStream sos = null; try { sos = response.getOutputStream(); sos.write(zipFile); sos.flush(); sos.close(); } catch (IOException ioe) { LOGGER.log(Level.WARNING, "Failed to stream response to browser.", ioe); } try { response.flushBuffer(); } catch (IOException e) { e.printStackTrace(); } FacesContext.getCurrentInstance().responseComplete();





17. Call a method after every action    icefaces.org

Hi, I want to call a method after every action but I don't want to insert this call in every action method. Maybe a phase listener or an action listener will do the job but I don't know exactly how and I don't find any example. Can someone provide me some tips?

18. icefaces 2.0, action not called in dataTable footer    icefaces.org

Hi, I am migrating from icefaces 1.8 to 2.0 and I have a problem with a link which is displayed in the footer of the dataTable. Action, which is set for commandLink in such a footer is never called. When I put the link into another place (cell of the table), then it works perfectly. So it did in previous 1.8. ...

19. Action returning void or empty string    icefaces.org

20. I have to click 3 times to activate Ajax actions    icefaces.org

Hi, I'm a newbie to IceFace and try to migrate one of my tomahawk application to ice. Unfortunately I have to use an unsupported J2EE server (Jrun) and don't have choice on this. All the examples from the showcase work except that when I load the showcase interface I have to click 3 times on one node of the tree to ...

22. Action Block after Error Comes    icefaces.org

23. Help using action to navigate    icefaces.org

24. Double click action.    icefaces.org

26. Calling action from Javascript    icefaces.org

You can use inputHidden's valueChangeListener and have your javascript change the value of that the hidden input element to cause the valueChangeListener to fire. I've attached an example of a mouseover event causing a panelPopup to be shown. It also requires Facelets to plugin the clientId of the inputHidden into the javascript. Philip

28. Problem in the action    icefaces.org

29. no actions are called    icefaces.org

Hi all, I have a big problem. I created new icefaces application which uses icefaces 1.7.1 and facelets. As application server I use jboss 4.2.3. Pages are shown as they should, they take data from beans as expected, BUT no actions are fired after pressing buttons, clicking on links etc. No exceptions and no logs are logged after clicking on buttons, ...