I want to create command button in JSF page. When I press it I want to open a new page and send a value using using the http. I tested this h:commnadButton but it\'
h:commnadButton
h:commandButton is for submitting forms, usually executing actions in the server.
Use h:button for simple navigation:
This will generate a normal HTML , no HTTP POST needed.
See also:
When should I use h:outputLink instead of h:commandLink?