Java Reference
In-Depth Information
Adding JSF components to the Edition
JSF page
Construct an edition.jsp JSF page, which has Input Text fields corresponding to
the id , journal , publisher , and edition properties of the Edition entity. Create
a binding from the Submit button to the commandButton1_action method in the
managed bean class backing_edition so that when the Submit button is clicked,
the managed bean method gets invoked.
The edition.jsp is listed as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title>edition</title>
</head>
<body>
 
Search WWH ::




Custom Search