blob: 36322e1c050a77d4f413fd5489d3ae7f72cae504 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>New JSF Pages from Entity Class Wizard: Entity Classes</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="persistence_entity_selection_javaee6" name="persistence_entity_selection_javaee6"></a></p>
<div id="NBCSH4170"><!-- infolevel="all" infotype="General" --><a id="sthref555" name="sthref555"></a>
<h1>New JSF Pages from Entity Class Wizard: Entity Classes</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to generate JSP pages with JSF components based on entity classes in your web application. The generated JSP pages provide a web interface for the entity classes. For each entity class, the IDE creates four JSP pages enabling you to view, edit, create, and destroy entries in the data source. The IDE also creates controller and converter classes for each entity class.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1173">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><b>Note:</b> To use JSF components in your web application, you must make sure that your project supports the JSF Framework.</p>
<p>Use this page as follows:</p>
<ul>
<li>Select any entity classes from the list of available entity classes in the left pane and click <b>Add</b>. When you click <b>Add</b>, the entity classes you select are added to the list in the right pane. Any entity classes referenced by the entity classes you select are also listed in the right pane. An entity class name that is gray indicates that the entity is referenced by another entity class. The IDE automatically generates JSP pages for each of the entity classes listed in the right pane.</li>
</ul>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t7">Element</th>
<th align="left" valign="bottom" id="r1c2-t7">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t7" headers="r1c1-t7">
<p>Include Referenced Classes</p>
</td>
<td align="left" headers="r2c1-t7 r1c2-t7">Deselect this if you do not want JSF pages created from referenced entity classes.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<ul>
<li>Click <b>Next</b> to specify where to save the generated pages.</li>
</ul>
<a id="NBCSH4172" name="NBCSH4172"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2773">
<param name="text" value="<html><u>&quot;Creating an Entity Class&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1141">
<param name="text" value="<html><u>&quot;Working with the JavaServer Faces Framework&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1140">
<param name="text" value="<html><u>&quot;About Using Web Application Frameworks&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>