Questions tagged [viewparams]

JSF tag to declare a GET parameter.

"View parameters" is a JSF specific term for GET request parameters which can be set on the model by the <f:viewParam> JSF UI component on the view. They follow the same lifecycle as regular UIInput components, complete with support for declarative conversion and validation and message handling.

Frequently asked questions

108 questions
0
votes
1 answer

viewParam event going wrong

I created a webpage, which checks the view-parameter from the URL, and calls the init-method of a bean to retrieve that user. The fields on that page are then filled with the information of that user. But something is going wrong. My Facelets…
Joetjah
  • 6,292
  • 8
  • 55
  • 90
0
votes
1 answer

in case of an f:viewParam bound to a converter, why do we need the Converter#getAsString

Say I have the following f:viewParam definition:
Marcus Junius Brutus
  • 26,087
  • 41
  • 189
  • 331
-1
votes
1 answer

commandButton actionListener is not working in PrimeFaces page with viewParam

I found a weird behavior in JSF/PrimeFaces and ask your help to understand and get around it. The actionListener method in a commandButton is executed just once. Contextualization: I put a link in start page of my project to a second page,…
Robinson RK
  • 25
  • 2
  • 8
1 2 3 4 5 6 7
8