Questions tagged [viewaction]

JSF tag to declare a GET action.

The <f:viewAction> is a JSF UI component which allows the developer to declare a GET action. They follow the same lifecycle as regular UICommand components (<h:commandXxx> tags), complete with support for action listeners and navigation case outcomes.

18 questions
0
votes
1 answer

viewAction not working as expected

I try to run a viewAction to a request bean but I getting this message: The metadata component needs to be nested within a f:metadata tag. Suggestion: enclose the necessary components within I have searched the web and found out that it has been…
Staplerz
  • 85
  • 1
  • 10
0
votes
1 answer

f:viewAction don't invoke action

I´m using Weblogic server 12.1.2, JSF 2, Mojarra 2.2.4 and I have the next code in a page:
-2
votes
1 answer

JSF unable to process onload method

I have a jsf page. I want to reload the page everytime an it is refreshed I tried this code but it was not working public String onload() { UIViewRoot viewRoot = FacesContext.getCurrentInstance().getViewRoot(); String id =…
Tragend
  • 17
  • 1
  • 3
1
2