JSF Hidden Input Example

Yatin B.Yatin B.
1 min read

Date: 2017-06-23

This tutorial demonstrates using JSF's <h:inputHidden /> tag to manage hidden form fields. The example creates a simple JSF application in Eclipse, utilizing a hidden field whose value is displayed via JavaScript in an alert box upon button click. The tutorial walks through project setup, including creating a Dynamic Web Project, adding JSF 2.2 capabilities, and configuring the web.xml file. It details creating the XHTML page with the hidden field and a managed bean to control its value. Finally, the application is deployed to Tomcat 7 for testing.

Read more: https://examples.javacodegeeks.com/enterprise-java/jsf/jsf-hidden-input-example/

0
Subscribe to my newsletter

Read articles from Yatin B. directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Yatin B.
Yatin B.