You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/07/01 07:03:17 UTC
svn commit: r672997 [2/2] - in /myfaces/tomahawk/trunk/core: ./
src/main/resources/META-INF/ src/main/tagdoc/
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+ <div><img src="../images/selectOneRow.jpg" alt="selectOneRow"/></div>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+ <t:dataTable ...>
+ ...
+ <h:column>
+ ...
+ <s:selectOneRow groupName="selection" id="hugo"
+ value="#{selectOneRowList.selectedRowIndex}"
+ onchange="submit();" immediate="true"
+ valueChangeListener="#{selectOneRowList.processRowSelection}"/>
+ </h:column>
+ ...
+ </t:dataTable>
+ </source>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+ <p>see tomahawk/selectOneRow.jsf for an example.</p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_selectOneRow-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<t:stylesheet path="String"/>
+ </source>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+ <p>see examples/css.jsp for an example!</p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_stylesheet-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- Usage -->
+ <section name="Usage">Submit from outside the subForm:<source
+ xml:space="preserve"><![CDATA[<h:form>
+ <t:subForm id="subFormId">
+ <h:inputText value="#{bean.value}" />
+ </t:subForm>
+ <t:commandButton value="Submit subForm" actionFor="subFormId"/>
+</h:form>]]></source>Submit from inside the subForm:<source
+ xml:space="preserve"><![CDATA[<h:form>
+ <t:subForm id="subFormId">
+ <h:inputText value="#{bean.value}" />
+ <t:commandButton value="Submit subForm"/>
+ </t:subForm>
+</h:form>]]></source>Do not keep any entered value if submitted another subform<source
+ xml:space="preserve"><![CDATA[<h:form>
+ <t:subForm id="subFormId" preserveSubmittedValues="false">
+ <h:inputText value="#{bean.value}" />
+ <t:commandButton value="Submit subForm"/>
+ </t:subForm>
+</h:form>]]></source></section>
+ <!-- Instructions -->
+ <section name="Additional Information">
+ <p>There are cases when the subForm needs to be submitted not just by
+ clicking a button inside or outside of it, but by clicking or changing
+ fields like combo-boxes, check-boxes or radio-buttons, or many other
+ fields; usualy this is done by invoking a JavaScript code in their
+ "onchange" attribute for example. It's possible to submit the subForm
+ also by JavaScript, if id="subFormId" then you just have to invoke
+ "subFormId_submit()". For an example see subForm.jsp in the Tomahawk
+ examples.</p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_subform-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- screen shot -->
+ <section name="Screen Shot">
+ <div><img src="../images/tree.png" alt="tree"/></div>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+ value="TreeModel"
+ styleClass="CSSClass"
+ nodeClass="CSSClass"
+ selectedNodeClass="CSSClass"
+ expandRoot="{true|false}">
+</t:tree>
+ </source>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+ <p>see examples/tree.jsp for an example!</p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <section name="Screen Shot">
+ <div><img src="../images/tree2.jpeg" alt="tree2.jpeg"/></div>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+ <p>See the <a href="http://people.apache.org/builds/myfaces/nightly/">Tomahawk Examples.</a></p>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+ <p>[pending]</p>
+ </section>
+ <!-- Additional Information -->
+ <section name="Additional Information">
+ <p>See the <a href="http://wiki.apache.org/myfaces/Tree2">MyFaces Wiki.</a></p>
+ </section>
+ </body>
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_tree2-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<h:inputText id="creditCardNumber"
+ value="#{validateForm.creditCardNumber}"
+ required="true">
+ <t:validateCreditCard />
+</h:inputText>
+ </source>
+ </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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateCreditCard-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<h:inputText id="email2"
+ value="#{validateForm.email2}"
+ required="true">
+ <t:validateEmail />
+</h:inputText>
+ </source>
+ </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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEmail-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<h:inputText id="equal"
+ value="#{validateForm.equal}"
+ required="true"/>
+<h:inputText id="equal2"
+ value="#{validateForm.equal2}"
+ required="true">
+ <t:validateEqual for="equal" />
+</h:inputText>
+ </source>
+ </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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateEqual-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml?rev=672997&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml (added)
+++ myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml Mon Jun 30 22:03:16 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"
+ "http://maven.apache.org/dtd/xdoc_1_0.dtd">
+<document>
+ <properties>
+ <title></title>
+ </properties>
+ <!-- All code under body will be put after "Summary" section -->
+ <body>
+ <!-- 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>
+ <!-- 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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core/src/main/tagdoc/t_validateRegExpr-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL