Action « IceFaces « JSF Q&A

1. JSF action on page load

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

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

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

7. Action without user interaction

8. Action without user interaction

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.

10. Action is called twice

12. Actions before icefaces

14. Action not forwarding correctly

15. How to call an action like struts ?

16. How to return file from Action?

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

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

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

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

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

23. Help using action to navigate

24. Double click action.

26. Calling action from Javascript

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

29. no actions are called

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