Java Reference
In-Depth Information
After clicking on
Next
, we can specify the filename, project, and folder for our
custom component.
To take advantage of JSF 2.0's automatic resource handling and
conventions, it's not recommended to change the folder where
our custom component will be placed.
When we click on
Finish
, NetBeans generates an empty composite component we
can use as a base to create our own:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:cc="http://xmlns.jcp.org/jsf/composite">
<!-- INTERFACE -->
<cc:interface>
</cc:interface>