Manual

NOTE: If you do not have access to the NSJSP Web Application Manager screen, you can run
myfaces-components on your NonStop system by completing the following steps:
1. Go to the <iTP WebServer deployment directory>/conf directory using the
command:
OSS> cd <iTP WebServer deployment directory>/conf
For example:
OSS> cd /home/sash_usr/webserver/conf
2. Start your iTP WebServer using the command:
OSS> ./start
3. Access the myfaces-components application using the address:
http://<IP Address of the iTP WebServer>:<port#>/servlet_jsp/myfaces-components
You can now access the following web pages of myfaces-components:
http://<IP Address of the iTP
WebServer>:<port#>/servlet_jsp/myfaces-components/date.faces
This page demonstrates the use of the t:inputDate tag from the MyFaces Tomahawk
library. The t:inputDate tag is a date component that can be used to enter date/time
information in a form.
http://<IP Address of the iTP
WebServer>:<port#>/servlet_jsp/myfaces-components/dataList.faces
This page demonstrates the use of the t:dataList tag from the MyFaces Tomahawk library.
The t:dataList tag renders its data as a HTML list element. The layout attribute defines
how each item is rendered. Legal values are: simple, unorderedList, and orderedList.
http://<IP Address of the iTP
WebServer>:<port#>/servlet_jsp/myfaces-components/newspaperTable.faces
This page demonstrates the use of the t:newspaperTable tag from the MyFaces Tomahawk
library. The t:newspaperTable tag is a data table that renders table text across several
columns (like a newspaper layout). The number of columns can be set using the
newspaperColumns attribute.
http://<IP Address of the iTP
WebServer>:<port#>/servlet_jsp/myfaces-components/order.faces
This page demonstrates the use of t:inputSecret, t:inputText, t:validateEmail,
t:validateCreditCard, and t:validateEqual tags from MyFaces Tomahawk
library.
t:inputSecret:The inputSecret tag renders an <input type="password"> HTML
tag. When the user types a string into this field, a row of asterisks is displayed instead
of the text the user types. The t:inputSecret tag extends the JSF inputSecret
tag. It supports conditional rendering based on user roles.
t:inputText: This tag extends the JSF inputSecret tag. It supports conditional
rendering based on user roles.
t:validateEmail: This tag is a custom validator that checks the syntax of an email
address using the Jakarta Commons validation library.
236 Installing MyFaces Framework