click « Page « JSF Q&A





1. how to call a page on a jsf button click    stackoverflow.com

I'm using JSF, trying a to call a page on a button click inside a data table using the following code

 <h:column>
    <h:outputText value=""/>
    ...

2. how to fetch jsf value in javascript on click of submit button before submitting the page    stackoverflow.com

how to fetch jsf value in javascript on click of submit button before submitting the page javascript code function validate(form) { alert(form['f1:radio1'].value); }

3. first button click reloads page    coderanch.com

Hello Tammy, There can be lot of reasons for this to happen, 1. If there is no action attribute defined 2. If there are any validation errors in the page, then the action method in the bean is not invoked and just the page refreshes. 3. If Navigation is not defined in the facesConfig.xml, then the same page refreshes.... Hope this ...