Java Reference
In-Depth Information
In the Bind Action Property window, select the Managed Bean to bind to, and select
a Method to bind to. Click on OK :
The article.jsp JSF page 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>article</title>
</head>
<body>
<h:form binding="#{backing_article.form1}" id="form1">
<p>
<h:outputFormat value="Add an Article"
binding="#{backing_article.outputFormat1}"
id="outputFormat1"/>
</p>
<p>
<h:panelGrid columns="2"
binding="#{backing_article.panelGrid1}"
id="panelGrid1">
<h:outputLabel value="Id"
binding="#{backing_article.outputLabel1}"
id="outputLabel1"/>
<h:inputText binding="#{backing_article.inputText1}"
id="inputText1"/>
<h:outputLabel value="Title"
binding="#{backing_article.outputLabel2}"
id="outputLabel2"/>
 
Search WWH ::




Custom Search