Java Reference
In-Depth Information
In the Bind Action Property window, select the Managed Bean as backing_create
and the Method as cb1_Action , and click on OK . A new managed bean may be
created using the New button.
The cb1_action method gets added. The method name may be modified to a more
descriptive name. The create.jsp JSF page is listed below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="" prefix="f"%>
<%@ taglib uri="" prefix="h"%>
<%@ taglib uri="" prefix="af"%>
<af:document id="d1" binding="#{backing_create.d1}">
<af:form id="f1" binding="#{backing_create.f1}">
<font color="#6363ff" face="Verdana">
Create a Catalog Entry
<af:panelFormLayout binding="#{backing_create.pfl1}"
<f:facet name="footer">
<af:group binding="#{backing_create.g1}" id="g1">
<af:inputText label="Catalog Id"
binding="#{backing_create.it1}" id="it1"/>
<af:inputText label="Journal"
binding="#{backing_create.it2}" id="it2"/>
<af:inputText label="Publisher"
binding="#{backing_create.it3}" id="it3"/>
<af:inputText label="Edition"
binding="#{backing_create.it4}" id="it4"/>
<af:inputText label="Title"
binding="#{backing_create.it5}" id="it5"/>
<af:inputText label="Author"
binding="#{backing_create.it6}" id="it6"/>
<af:commandButton text="Create"
Search WWH ::

Custom Search