Top "Viewparams" questions

JSF tag to declare a GET parameter.

What can <f:metadata>, <f:viewParam> and <f:viewAction> be used for?

Can anyone clarify how we can use in general, or a in real world example, this snippet? <f:metadata&…

jsf jsf-2 viewparams viewaction
ViewParam vs @ManagedProperty(value = "#{param.id}")

What is the difference between defining View Params like this: <f:metadata> <f:viewParam name="id" value="#{…

jsf jsf-2 managed-bean viewparams managed-property
Handling view parameters in JSF after post

I have a few pages that needs a userId to work, thus the following code: userpage.xhtml <!-- xmlns …

jsf-2 viewparams
JSF 2.0 view parameters to pass objects

I am trying to pass an object from one page to another page where each page is in a different …

jsf-2 viewparams
Automatically include view parameters in URL

I have simple jsf page with view params and load method which is processing those params: <f:metadata> &…

jsf jsf-2 post-redirect-get viewparams
JSF bean: call @PostConstruct function after ViewParam is set

I have a product.xhtml and a ProductBean. I use /product/{id} to access the products so I have a …

jsf-2 managed-bean postconstruct viewparams
Submit a JSF form using GET

How do I submit a form to the same page and use GET parameters? JSF page contents: <f:metadata&…

forms jsf jsf-2 http-get viewparams