Quantcast
Channel: Java Code Geeks » Anghel Leonard
Viewing all articles
Browse latest Browse all 4

How view parameters are obtained/attached from/to the URL query string (examples) ?

$
0
0
Let’s dissect several simple use cases and see how view parameters works (view parameters names are not mandatory to match the request parameters passed via URL query string, but in this post we will focus on this case): CASE 1 In index.xhtml page we have: <f:metadata> <f:viewParam name="playernameparam" value="#{playersBean.playerName}"/> <f:viewParam name="playersurnameparam" value="#{playersBean.playerSurname}"/> </f:metadata> ... <h:form> ...

Viewing all articles
Browse latest Browse all 4

Trending Articles