You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ba...@apache.org on 2006/01/01 22:43:10 UTC
svn commit: r360558 [3/3] - in /myfaces/tomahawk/trunk: ./ src/site/
src/site/apt/ src/site/fml/ src/site/resources/ src/site/resources/css/
src/site/resources/images/ src/site/xdoc/
Added: myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A localized input control for ISO 3166 country codes (same as for for java.util.Locale.getCountry()).
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <p>TODO</p>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">javax.faces.SelectOne</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.SelectOneCountryRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneCountry.SelectOneCountry</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:selectOneCountry maxLength="int">
+ ...(optional f:select* filters)...
+<t:selectOneCountry/>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:inputDate></h3>
+ <code>
+ maxLength - Integer equals to the maximum number of characters in the country name.
+ </code>
+ <br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ You can restrict the countries list by adding <f:selectItem*/> tags with the country codes.<br/>
+ Example : <f:selectItem itemValue="DE"/> <f:selectItem itemValue="DO"/> <f:selectItem itemValue="FR"/> ...
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/selectOneCountry.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A localized input control for ISO 639 language codes (same as for for java.util.Locale.getLanguage()).
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <p>TODO</p>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">javax.faces.SelectOne</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.SelectOneLanguageRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:selectOneLanguage maxLength="int">
+ ...(optional f:select* filters)...
+<t:selectOneCountry/>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:inputDate></h3>
+ <code>
+ maxLength - Integer equals to the maximum number of characters in the language name.
+ </code>
+ <br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ You can restrict the languages list by adding <f:selectItem*/> tags with the language codes.<br/>
+ Example : <f:selectItem itemValue="de"/> <f:selectItem itemValue="es"/> <f:selectItem itemValue="fr"/> ...
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/selectOneLanguage.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A component, which renders the path to a common CSS-file.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <p>Not available</p> <!-- replace with either a figure or Not Available -->
+ <!--
+ <figure src="jscookmenu.png" alt="jscookmenu"/>
+ -->
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">javax.faces.Output</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.Stylesheet</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.stylesheet.Stylesheet</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.stylesheet.StylesheetRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.stylesheet.StylesheetTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:stylesheet path="String"/>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:stylesheet></h3>
+ <code>path - URL for CSS-file.</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ see examples/css.jsp for an example!
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/stylesheet.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A tabbed Panel for switching panels.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <div><img src="images/tabbedpane.png" alt="tabbedpane"/></div>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">javax.faces.Panel</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.TabbedPane</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPaneTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:panelTabbedPane selectedIndex="int"
+ activeTabStyleClass="CSSClass"
+ inactiveTabStyleClass="CSSClass"
+ disabledTabStyleClass="CSSClass"
+ activeSubStyleClass="CSSClass"
+ inactiveSubStyleClass="CSSClass"
+ tabContentStyleClass="CSSClass">
+ <t:panelTab ...>
+ ...(anyComponents)...
+ </t:panelTab>
+</t:panelTabbedPane>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:panelTabbedPane></h3>
+ <code>selectedIndex - Index of tab that is selected by default.</code><br/>
+ <code>activeTabStyleClass - Style class of the active tab cell.</code><br/>
+ <code>inactiveTabStyleClass - Style class of the inactive tab cells.</code><br/>
+ <code>disabledTabStyleClass - Style class of the disabled tab cells.</code><br/>
+ <code>activeSubStyleClass - Style class of the active tab sub cell.</code><br/>
+ <code>inactiveSubStyleClass - Style class of the inactive tab sub cells.</code><br/>
+ <code>tabContentStyleClass - Style class of the active tab content cell.</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ see examples/tabbedPane.jsp for an example!
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tabbedPane.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ For better <a href="http://struts.apache.org">struts/tiles</a> support, MyFaces has an integrated JspTilesViewHandler
+ (since release 1.0.6 beta). The main advantage of the ViewHandler is, that tiles-definitions can be sourced out into xml files
+ (up to now using tiles and myfaces you had to definie the layout within jsp-pages).
+ </p>
+ <p>
+ Take a look at the <code>myfaces-tiles-example</code> web application.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <p>Not Available</p>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <p>Not Applicable</p>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <p>Not Applicable</p>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <ol>
+ <li>
+ Configure the JspTilesViewHandler in your faces-config:
+ <source xml:space="preserve">
+<application>
+ <view-handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</view-handler>
+</application>
+ </source>
+ </li>
+ <li>
+ Add the following lines to your web.xml:
+ <source xml:space="preserve">
+<context-param>
+ <param-name>tiles-definitions</param-name>
+ <param-value>/WEB-INF/tiles.xml</param-value>
+</context-param>
+ </source>
+ </li>
+ <li>
+ Define your layout in a tiles-definition file
+ </li>
+ </ol>
+ <p>
+ When rendering the view, the JspTilesViewHandlerImpl will take
+ the given viewId and compute a tileId by:
+ </p>
+ <ul>
+ <li>Substituting any extension by ".tiles"</li>
+ <li>Appending ".tiles" if path-mapping is used</li>
+ </ul>
+ <p>
+ Next the ViewHandler looks up in the tile-definitions for the corresponding definition.
+ (eg. for viewId = /page1.jsp the lookup would be /page1.tiles)
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tiles.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/tree.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/tree.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/tree.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/tree.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A tree data component.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <div><img src="images/tree.png" alt="tree"/></div>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.HtmlTree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.HtmlTree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree.HtmlTree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree.taglib.TreeTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+ value="TreeModel"
+ styleClass="CSSClass"
+ nodeClass="CSSClass"
+ selectedNodeClass="CSSClass"
+ expandRoot="{true|false}">
+</t:tree>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:tree></h3>
+ <code>value - the tree model.</code><br/>
+ <code>var - a variable to hold current selection.</code><br/>
+ <code>styleClass - CSSClass for tree.</code><br/>
+ <code>nodeClass - CSSClass for tree nodes.</code><br/>
+ <code>selectedNodeClass - CSSClass for selected tree node.</code><br/>
+ <code>headerClass - CSSClass for header.</code><br/>
+ <code>footerClass - CSSClass for footer.</code><br/>
+ <code>rowClasses - CSSClass for rows.</code><br/>
+ <code>columnClasses - CSSClass for columns.</code><br/>
+ <code>iconClass - CSSClass for icons.</code><br/>
+ <code>iconLine - the icon for node with line.</code><br/>
+ <code>iconNoline - the icon for node with no line.</code><br/>
+ <code>iconChildFirst - the icon for first child.</code><br/>
+ <code>iconChildMiddle - the icon for middle child.</code><br/>
+ <code>iconChildLast - the icon for last child.</code><br/>
+ <code>iconNodeOpen - the icon for expanded node.</code><br/>
+ <code>iconNodeOpenFirst - the icon for first expanded node.</code><br/>
+ <code>iconNodeOpenMiddle - the icon for middle expanded node.</code><br/>
+ <code>iconNodeOpenLast - the icon for last expanded node.</code><br/>
+ <code>iconNodeClose - the icon for collapsed node.</code><br/>
+ <code>iconNodeCloseFirst - the icon for first collapsed node.</code><br/>
+ <code>iconNodeCloseMiddle - the icon for middle collapsed node.</code><br/>
+ <code>iconNodeCloseLast - the icon for last collapsed node.</code><br/>
+ <code>expandRoot - if true root node is expanded.</code><br/>
+ <code>
+ expireListeners - Time interval the tree will remain registered
+ as a TreeModelListener without being accessed.
+ </code>
+ <br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ see examples/tree.jsp for an example!
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tree.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tree.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A component that provides an HTML-based tree from data supplied by a backing
+ bean. The tree is highly customizable and allows for fine-grained control
+ over the appearance of each of the nodes depending on their type. Almost any
+ type of JSF component (text, image, checkbox, etc.) can be rendered inside the
+ nodes and there is an option for client-side or server-side toggling of the
+ expand/collapse state.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <div><img src="images/tree2.jpeg" alt="Tree2"/></div>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.HtmlTree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.Tree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree2.HtmlTree</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree2.HtmlTreeRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree2.TreeTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:tree2 value="TreeModel"
+ var="String"
+ varNodeToggler="String">
+ ...(anyComponent)...
+</t:tree2>
+ </source>
+ </section>
+
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:tree2></h3>
+ <code>id</code><br/>
+ <code>
+ clientSideToggle [true|false] (default=true) -
+ Perform client-side toggling of expand/collapse
+ state via javascript (default is true.)
+ </code>
+ <br/>
+ <code>imageLocation</code><br/>
+ <code>javascriptLocation</code><br/>
+ <code>showLines [true|false] (default=true) - Show the connecting lines (default is true.)</code><br/>
+ <code>
+ showNav [true|false] (default=true) -
+ Show the "plus" and "minus" navigation icons (default is true.),
+ Value is ignored if clientSideToggle is true.
+ </code>
+ <br/>
+ <code>
+ showRootNode [true|false] (default=true) -
+ Include the root node when rendering the tree (default is true.)
+ </code>
+ <br/>
+ <code>styleLocation</code><br/>
+ <code>value [value binding expression] (required) - the tree model.</code><br/>
+ <code>var - the variable to hold current selection.</code><br/>
+ <code>varNodeToggler</code><br/>
+ <code>
+ preserveToggle - Preserve changes in client-side toggle information
+ between requests (default is true.)
+ </code>
+ <br/>
+ </blockquote>
+ </section>
+
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ see examples/tree2.jsp for an example!
+ </p>
+ </section>
+
+ <!-- Instructions -->
+ <section name="FAQ">
+
+ <p> Q: I'm getting an exception "Invalid bit mask of ..." </p>
+ <p> A: The renderer is encountering an unexpectd combination of events. One situation is you have a node indicating that is
+ expanded but its a leaf. Make sure you are returning the correct values for the isLeaf method of the TreeNode interface
+ and that you are not toggling the expanded state (in a custom TreeModel, TreeState class, etc.) in an inappropriate manner.
+ </p>
+ </section>
+
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/tree2.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A table with a tree column.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+
+ <div><img src="images/treetable.png" alt="treetable"/></div>
+ </section>
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">component-family</td>
+ <td colspan="1" rowspan="1">
+ org.apache.myfaces.HtmlTree
+ org.apache.myfaces.HtmlTreeColumn
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-type</td>
+ <td colspan="1" rowspan="1">
+ org.apache.myfaces.HtmlTree
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">
+ org.apache.myfaces.custom.tree.HtmlTree
+ org.apache.myfaces.custom.tree.HtmlTreeColumn
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">renderer-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">
+ org.apache.myfaces.custom.tree.taglib.TreeTag
+ org.apache.myfaces.custom.tree.taglib.TreeColumnTag
+ </td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<t:tree id="String"
+ value="TreeModel"
+ var="String"
+ expandRoot="{true|false}">
+ <t:treeColumn header="UIComponent"
+ footer="UIComponent">
+ ...(anyComponent)...
+ </t:treeColumn>
+</t:tree>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:treeColumn></h3>
+ <code>header - the header uicomponent.</code><br/>
+ <code>footer - the footer uicomponent.</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ Just nest a treeColumn inside of a tree element,
+ see doc of tree for help about attributes.
+ </p>
+ <p>
+ <t:tree> defines the tree.
+ <br/>
+ <t:treeColumn> outlines the column where the tree structure
+ will be render as part of the tree table.
+ </p>
+ <p>
+ see examples/treeTable.jsp for an example!
+ </p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/treeTable.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <document>
+
+ <body>
+
+ <section name="Description">
+
+ <p>
+ t:saveState enables you to persist beans and values longer than
+ request scope, but shorter than session scope. It is ideal for
+ persisting backing beans and values with the same scope as your view
+ components. It does this by saving the target state with the
+ component tree.
+ </p>
+ <p>
+ Traditional JSP Applications save their state information within
+ HttpSession objects. This is an easy to use but not always satisfying approach:
+ </p>
+ <ul>
+ <li>
+ HttpSession objects must have an expiration date (timeout) that
+ prevents the server from running out of memory over the time.
+ The always boring question for web admins: How long should I set
+ the session timout?
+ </li>
+ <li>
+ Server restarting is a thrilling task: Will all objects in active
+ sessions be serialized and restored successfully? If business
+ classes have changed in the meantime, this task is likely to fail.
+ </li>
+ <li>
+ Running multiple redundant servers is a challenge. You must use
+ cluster environments which are expensive and difficult to handle.
+ </li>
+ </ul>
+ <p>
+ MyFaces supports a different approach. It makes it possible to write
+ sophisticated applications without any use of the HttpSession. All
+ state information of the current view and the model beans can be
+ encoded to the client response. MyFaces introduces a new Component
+ "UISaveState" with the corresponding Tag <t:saveState>.
+ <br/>
+ Example (see "sample1.jsp" of the "examples" web application):
+ </p>
+ <source xml:space="preserve">
+<t:saveState id="save1" value="#{calcForm.number1}" />
+<t:saveState id="save2" value="#{calcForm.number2}" />
+<t:saveState id="save3" value="#{ucaseForm.text}" />
+ </source>
+ <p>
+ The current values of the three properties number1, number2 and text
+ are automatically saved within the client response and get restored
+ at the next client request.
+ </p>
+ <p>
+ You can also save the whole bean.
+ <br/>
+ Example:
+ </p>
+ <source xml:space="preserve">
+<t:saveState id="saveCalcForm" value="#{calcForm}"/>
+ </source>
+ <p>
+ The whole bean automatically is saved and restored by MyFaces.
+ To be able to save and restore the value of a bean property or the
+ bean itself, it must implement the Serializable interface.
+ </p>
+ </section>
+
+ </body>
+
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/uiSaveState.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A validator, that validates credit card format for:
+ </p>
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">American Express</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">Discover</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">Mastercard</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">Visa</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">or even none of that cards</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Screen Shot -->
+
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">since</td>
+ <td colspan="1" rowspan="1">1.0.4</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">author</td>
+ <td colspan="1" rowspan="1">Matthias Wessendorf</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">validatorId</td>
+ <td colspan="1" rowspan="1">org.myfaces.validator.CreditCard</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.creditcardvalidator.CreditCardValidator</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.creditcardvalidator.ValidateCreditCardTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<h:inputText id="creditCardNumber"
+ value="#{validateForm.creditCardNumber}"
+ required="true">
+ <t:validateCreditCard />
+</h:inputText>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:validateCreditCard/></h3>
+ <code>none [true|false]</code><br/>
+ <code>amex [true|false]</code><br/>
+ <code>visa [true|false]</code><br/>
+ <code>mastercard [true|false]</code><br/>
+ <code>discover [true|false]</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ By default, all cards are allowed. You can disable one with card="false".
+ Note if you specify none="true", all cardtypes will be ignored. It is based
+ upon Jakarta Commons' Validator.
+ </p>
+ <p>See "examples/validate.jsp" for an example!</p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateCreditCard.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A custom validator for email addresses, based upons Jakarta Commons.
+ </p>
+ </section>
+ <!-- Screen Shot -->
+
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">since</td>
+ <td colspan="1" rowspan="1">1.0.4</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">author</td>
+ <td colspan="1" rowspan="1">Matthias Wessendorf</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">validatorId</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.validator.Email</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.emailvalidator.EmailValidator</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.emailvalidator.ValidateEmailTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<h:inputText id="email2"
+ value="#{validateForm.email2}"
+ required="true">
+ <t:validateEmail />
+</h:inputText>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:validateEmail/></h3>
+ <code>no attributes</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ A validator, that validates email address format.
+ It is based upon Jakarta Commons' Validator.
+ </p>
+ <p>see "examples/validate.jsp" for an example!</p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateEmail.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A custom validator for equal input.
+ </p>
+ </section>
+ <!-- Screen Shot -->
+
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">since</td>
+ <td colspan="1" rowspan="1">1.0.5</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">author</td>
+ <td colspan="1" rowspan="1">Matthias Wessendorf</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">validatorId</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.validator.Equal</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.equalvalidator.EqualValidator</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.equalvalidator.ValidateEqualTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<h:inputText id="equal2"
+ value="#{validateForm.equal2}"
+ required="true">
+ <t:validateEqual for="equal" />
+</h:inputText>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:validateEqual/></h3>
+ <code>for (required)</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ In attribute <code>for</code> you specify a component, which value must equal
+ with the value of that component, on which this validator is embedded.
+ A common example is twice password, or twice email-address.
+ </p>
+ <p>see "examples/validate.jsp" for an example!</p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateEqual.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ Component for validating regular expressions.
+ </p>
+ </section>
+ <!-- Screen Shot -->
+
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">since</td>
+ <td colspan="1" rowspan="1">1.0.5</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">author</td>
+ <td colspan="1" rowspan="1">Matthias Wessendorf</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">validatorId</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.validator.RegExpr</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.regexprvalidator.RegExprValidator</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<h:inputText id="regExprValue"
+ value="#{validateForm.regExpr}"
+ required="true">
+ <t:validateRegExpr pattern='\d{5}'/>
+</h:inputText>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><t:validateRegExpr/></h3>
+ <code>pattern (required)</code><br/>
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ In attribute <code>pattern</code> you are able to specify
+ a regular expression, on which the value should be validated.
+ The validator is based upon Jakarta Commons' Validator.
+ </p>
+ <p>see "examples/validate.jsp" for an example!</p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateRegExpr.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml?rev=360558&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml (added)
+++ myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml Sun Jan 1 13:42:11 2006
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/maven-xdoc.dtd">
+
+ <!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+--><document>
+
+ <body>
+ <!-- Description -->
+ <section name="Description">
+
+ <p>
+ A validator for url
+ </p>
+ </section>
+ <!-- Screen Shot -->
+
+ <!-- API -->
+ <section name="API">
+
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">since</td>
+ <td colspan="1" rowspan="1">1.1.0</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">author</td>
+ <td colspan="1" rowspan="1">FabF (based on email validator by Matthias Wessendorf)</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">validatorId</td>
+ <td colspan="1" rowspan="1">org.myfaces.validator.Url</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">component-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.urlvalidator.UrlValidator</td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">tag-class</td>
+ <td colspan="1" rowspan="1">org.apache.myfaces.custom.urlvalidator.ValidateUrlTag</td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<h:inputText id="urlNumber"
+ value="#{validateForm.urlNumber}"
+ required="true">
+ <x:validateurl />
+</h:inputText>
+ </source>
+ </section>
+ <!-- Syntax -->
+ <section name="Syntax">
+
+ <blockquote><h3><x:validateUrl/></h3>
+
+ </blockquote>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ ...
+ </p>
+ <p>See "examples/validate.jsp" for an example!</p>
+ </section>
+ </body>
+
+
+</document>
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/src/site/xdoc/validateUrl.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL