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/08/24 07:19:05 UTC
svn commit: r688449 [2/2] - in /myfaces/tomahawk/trunk: core/src/site/
core12/src/main/resources/META-INF/ core12/src/main/tagdoc/
core12/src/site/ core12/src/site/resources/
core12/src/site/resources/images/ site/ site/src/ site/src/site/
site/src/sit...
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectManyPicklist-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectManyPicklist-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml Sat Aug 23 22:19:03 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>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<t:selectOneCountry maxLength="int">
+ ...(optional f:select* filters)...
+<t:selectOneCountry/>
+ </source>
+ </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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneCountry-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml Sat Aug 23 22:19:03 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>
+ <!-- Usage -->
+ <section name="Usage">
+ <source xml:space="preserve">
+<t:selectOneLanguage maxLength="int">
+ ...(optional f:select* filters)...
+<t:selectOneCountry/>
+ </source>
+ </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>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneLanguage-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneRow-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneRow-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneRow-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneRow-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_selectOneRow-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_selectOneRow-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_stylesheet-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_stylesheet-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_stylesheet-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_stylesheet-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_stylesheet-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_stylesheet-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_subform-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_subform-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_subform-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_subform-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_subform-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_subform-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_tree-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree2-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree2-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree2-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree2-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_tree2-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_tree2-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateCreditCard-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateCreditCard-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateCreditCard-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateCreditCard-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_validateCreditCard-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateCreditCard-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEmail-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEmail-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEmail-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEmail-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_validateEmail-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEmail-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEqual-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEqual-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEqual-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEqual-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_validateEqual-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateEqual-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateRegExpr-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateRegExpr-base.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateRegExpr-base.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateRegExpr-base.xml Sat Aug 23 22:19:03 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/core12/src/main/tagdoc/t_validateRegExpr-base.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/main/tagdoc/t_validateRegExpr-base.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/Thumbs.db
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/Thumbs.db?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/Thumbs.db
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_nopopup.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_nopopup.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_nopopup.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_popup.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_popup.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/calendar_popup.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha1.jpg
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha1.jpg?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha1.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha2.jpg
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha2.jpg?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/captcha2.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/datalist.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/datalist.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/datalist.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/datascroller.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/datascroller.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/datascroller.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/datatable.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/datatable.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/datatable.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/easter.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/easter.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/easter.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/h3.jpg
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/h3.jpg?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/h3.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/icon.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/icon.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/icon.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputSuggest.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/inputSuggest.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputSuggest.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputdate.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/inputdate.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputdate.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputhtml.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/inputhtml.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/inputhtml.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/jscookmenu.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/jscookmenu.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/jscookmenu.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/logo.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/logo.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/myfaces-logo.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/myfaces-logo.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/myfaces-logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/newspaperTable.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/newspaperTable.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/newspaperTable.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation2.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation2.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/panelnavigation2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/popup.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/popup.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/popup.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule1.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule1.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule2.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule2.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/schedule2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/selectManyPicklist.jpg
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/selectManyPicklist.jpg?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/selectManyPicklist.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/tabbedpane.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/tabbedpane.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/tabbedpane.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/transparent.gif
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/transparent.gif?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/transparent.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/tree.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/tree.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/tree.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/tree2.jpeg
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/tree2.jpeg?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/tree2.jpeg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/resources/images/treetable.png
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/resources/images/treetable.png?rev=688449&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/tomahawk/trunk/core12/src/site/resources/images/treetable.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/tomahawk/trunk/core12/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/site/site.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/site/site.xml (added)
+++ myfaces/tomahawk/trunk/core12/src/site/site.xml Sat Aug 23 22:19:03 2008
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * 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.
+-->
+<project name="MyFaces Tomahawk for JSF 1.2">
+
+ <bannerLeft>
+ <name>Apache MyFaces Tomahawk</name>
+ <src>img/banners/MyFaces_logo.jpg</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerLeft>
+
+ <bannerRight>
+ <name>Apache Banner</name>
+ <src>img/banners/apache_banner.png</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerRight>
+
+ <publishDate format="dd MMM yyyy" />
+
+ <skin>
+ <groupId>org.apache.myfaces.maven</groupId>
+ <artifactId>myfaces-site-skin</artifactId>
+ <version>1-SNAPSHOT</version>
+ </skin>
+
+ <body>
+ <links>
+ <item name="Apache" href="http://www.apache.org/"/>
+ <item name="MyFaces" href="http://myfaces.apache.org/index.html"/>
+ </links>
+
+ <menu name="MyFaces Projects">
+ <item name="Overview" href="http://myfaces.apache.org/index.html"/>
+ <item name="Core JSF-1.1" href="http://myfaces.apache.org/core11/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Core JSF-1.2" href="http://myfaces.apache.org/core12/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Trinidad" href="http://myfaces.apache.org/trinidad/index.html"/>
+ <item name="Tobago" href="http://myfaces.apache.org/tobago/index.html"/>
+ <item name="Tomahawk" href="http://myfaces.apache.org/tomahawk/index.html">
+ <item name="Tomahawk for JSF 1.1" href="http://myfaces.apache.org/tomahawk-project/tomahawk/index.html"/>
+ <item name="Tomahawk for JSF 1.2" href="http://myfaces.apache.org/tomahawk-project/tomahawk12/index.html"/>
+ </item>
+ <item name="Sandbox" href="http://myfaces.apache.org/sandbox/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Orchestra" href="http://myfaces.apache.org/orchestra/index.html"/>
+ <item name="Portlet Bridge" href="http://myfaces.apache.org/portlet-bridge/index.html"/>
+ </menu>
+
+ <menu name="Documentation">
+ <item name="JSF Tag Documentation" href="tagdoc.html"/>
+ <item name="Tag Library Documentation" href="tlddoc/index.html"/>
+ <item name="Api Documentation" href="apidocs/index.html"/>
+ <item name="Extensions filter" href="http://myfaces.apache.org/tomahawk/extensionsFilter.html"/>
+ <item name="forceId" href="http://myfaces.apache.org/tomahawk/forceId.html"/>
+ <item name="Tiles Support" href="http://myfaces.apache.org/tomahawk/tiles.html"/>
+ </menu>
+
+ <menu ref="reports"/>
+
+ <menu name="Testing">
+ <item name="OpenQA Selenium" href="http://myfaces.apache.org/tomahawk/testing/selenium.html"/>
+ <item name="Autoriginate HostedQA" href="http://myfaces.apache.org/tomahawk/testing/hostedqa.html"/>
+ </menu>
+
+ <menu name="Foundation">
+ <item name="ASF" href="http://apache.org/" />
+ <item name="Sponsorship" href="http://www.apache.org/foundation/sponsorship.html" />
+ <item name="Thanks" href="http://www.apache.org/foundation/thanks.html" />
+ </menu>
+ </body>
+</project>
Propchange: myfaces/tomahawk/trunk/core12/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/core12/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/site/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Aug 23 22:19:03 2008
@@ -0,0 +1,10 @@
+target
+.classpath
+.project
+.wtpmodules
+*.ipr
+*.iml
+*.iws
+.settings
+maven-eclipse.xml
+.externalToolBuilders
Added: myfaces/tomahawk/trunk/site/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/pom.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/pom.xml (added)
+++ myfaces/tomahawk/trunk/site/pom.xml Sat Aug 23 22:19:03 2008
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>tomahawk-project</artifactId>
+ <version>1.1.7-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>tomahawk-site</artifactId>
+ <packaging>pom</packaging>
+ <name>Tomahawk Core</name>
+ <description>
+ JSF components and utilities that can be used with any JSF implementation.
+ This library is compatible with both JSF1.1 and JSF1.2; however for JSF1.2 users there
+ is an alternative build of Tomahawk available that takes advantage of JSF1.2 features to
+ offer some additional benefits.
+ </description>
+ <url>http://myfaces.apache.org/tomahawk</url>
+
+ <distributionManagement>
+ <site>
+ <id>apache-site</id>
+ <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/tomahawk</url>
+ </site>
+ </distributionManagement>
+
+</project>
Propchange: myfaces/tomahawk/trunk/site/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/site/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/site/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/apt/index.apt?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/apt/index.apt (added)
+++ myfaces/tomahawk/trunk/site/src/site/apt/index.apt Sat Aug 23 22:19:03 2008
@@ -0,0 +1,51 @@
+ ------
+ Apache MyFaces - Tomahawk
+ ------
+
+MyFaces Tomahawk
+
+ MyFaces provides a series of JSF components that go beyond the JSF specification. These components are 100% compatible
+ with the Sun JSF 1.1 Reference Implementation (RI) or any other JSF 1.1 compatible implementation. Of course the custom
+ components can also be used with the Apache MyFaces JSF implementation.
+
+ Although we try to make Tomahawk as "portable" as possible, not all Tomahawk releases are compatible with all
+ MyFaces or Sun Mojarra (formerly RI) releases. A Tomahawk release is always compatible with the latest MyFaces
+ Core release available at the time that Tomahawk version was released. For further information on compatibility
+ between Tomahawk and other frameworks/libraries, please see the
+ {{{http://wiki.apache.org/myfaces/CompatibilityMatrix}relevant wiki page}}.
+
+Extended Components and Other "Goodies"
+
+ In addition to custom components not found in the JSF specification, the MyFaces components bundle also includes an
+ "extended" version of some of the default components. These are basically components that exist in either the core or
+ html tag libraries but additional functionality has been addded that goes beyond the specification.
+
+ * Example: \<t:inputText\> - This is similar to the \<h:inputText\> component but it provides additional attributes
+ such as <<<forceId>>>. When this attribute is <<<true>>> the HTML generated will used the id
+ specified by the <code>id</code> attribute instead of the one normally generated by following the JSF specification.
+
+ []
+
+ * Converters - MyFaces components project contains several custom objects that do not implement <<<UIComponent>>>.
+ Some of these include objects that implement the <<<Converter>>> interface.
+
+ []
+
+ * Tiles Support - MyFaces provides a custom solution to allow the use of Tiles and JSF together.
+
+ []
+
+Requirements and Setup
+
+ * Put the <<<tomahawk.jar>>> in your <<<WEB-INF/lib>>> directory (or in the classpath of your
+ application server.)
+
+ * Configure the {{{extensionsFilter.html}MyFaces Extensions filter}} in your <<<WEB-INF/web.xml>>> file.
+
+ * Add the following to your JSP page in order to use one of the MyFaces custom components:\
+ <<<\<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %\>>>>
+
+ * That's it! You're good to go.
+
+ []
+
Added: myfaces/tomahawk/trunk/site/src/site/apt/testing/hostedqa.apt
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/apt/testing/hostedqa.apt?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/apt/testing/hostedqa.apt (added)
+++ myfaces/tomahawk/trunk/site/src/site/apt/testing/hostedqa.apt Sat Aug 23 22:19:03 2008
@@ -0,0 +1,121 @@
+ -----------
+ Hosted QA
+ -----------
+
+Hosted QA
+
+ <<{{{http://www.hostedqa.com}HostedQA}}>> is a web-based quality assurance
+ solution from <<{{{http://www.autoriginate.com/}Autoriginate}}>>, which has
+ generously donated an account to MyFaces.
+
+ MyFaces uses HostedQA to run {{{selenium.html}Selenium}} tests against the
+ example apps.
+
+ The following example apps have Selenium tests available at HostedQA:
+
+ * MyFaces Example Simple
+
+* Configure
+
+ To execute the tests remotely at HostedQA, MyFaces committers will need to
+ supply an email address and a password.
+
+ (If you don't have a password, ask on the developers list.)
+
+ You can add this information to your ~/.m2/settings.xml file.
+
+ settings.xml:
+
++-----+
+ <profile>
+ <id>hostedqa</id>
+ <properties>
+ <myfaces.hostedqa.email>your-id@apache.org</myfaces.hostedqa.email>
+ <myfaces.hostedqa.password>your-password</myfaces.hostedqa.password>
+ </properties>
+ </profile>
++-----+
+
+* Execute Tests
+
+ The {{{http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/pom.xml
+?view=markup}tomahawk-examples-project pom}} includes a 'hostedqa' profile that
+ will
+
+ * upload the example application to HostedQA, and
+
+ * execute the Selenium tests, remotely.
+
+ []
+
+ In addition, the pom for each example app includes a 'hostedqa' profile that
+ defines which resource, client, and application configuration should be used.
+ The
+
+ With an email address and password configured in settings.xml, execute the tests
+ as follows
+
++-----+
+ $ mvn package -P hostedqa
++-----+
+
+ Alternately, you can supply your email address and password on the command line:
+
++-----+
+ $ mvn package -P hostedqa -Dhostedqa.email=<your-id>@apache.org -Dhostedqa.password=<your-password>
++-----+
+
+* View Results
+
+ All test results are available to the public, here:
+ {{{https://myfaces.hostedqa.com/project/54/session/suite/list}
+ https://myfaces.hostedqa.com/project/54/session/suite/list}}
+
+ Sample build log output:
+
++-----+
+$ mvn package -P hostedqa
+...
+[INFO] Building war: e:\svn\myfaces\current\tomahawk\examples\simple\target\myfaces-example-simple.war
+...
+[INFO] Executing tasks
+ [upload] About to transfer E:\svn\myfaces\current\tomahawk\examples\simple\target\myfaces-example-simple.war
+ [upload] Getting MD5 of current resource on HostedQA
+ [upload] Getting MD5 of last uploaded resource (local)
+ [upload] MD5s match, creating a patch
+ [upload] Patch uploaded
+ [upload] Upload complete
+ [upload] Saving newly uploaded file for future use
+[playsuite] Playing 3 Selenium tests on application configurations 56, and clien
+t configurations 117
+[playsuite] HostedQA tests complete. Results can be found at:
+[playsuite] - https://myfaces.hostedqa.com/project/54/session/suite/972/view
+[playsuite] The tests have PASSED
+...
+[INFO] ------------------------------------------------------------------------
+[INFO] BUILD SUCCESSFUL
+[INFO] ------------------------------------------------------------------------
++-----+
+
+* Add Tests
+
+ See {{{selenium.html}this page}} for more information on adding Selenium tests
+ for the example apps.
+
+ New tests in src/test/selenium will automatically be picked up by the
+ configuration.
+
+ The myfaces-example-simple app is running as context name
+ 'myfaces-example-simple' on port 9090. The following clients have
+ been configued:
+
+*-----------------+------------------+
+| <<Client Code>> | <<Browser>> |
+*-----------------+------------------+
+| 117 | Firefox on WinXP |
+*-----------------+------------------+
+| 118 | IE 6 on WinXP |
+*-----------------+------------------+
+| 316 | IE 7 on WinXP |
+*-----------------+------------------+
+Available HostedQA Client Codes as configued in <<<pom.xml>>>
Added: myfaces/tomahawk/trunk/site/src/site/apt/testing/selenium.apt
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/apt/testing/selenium.apt?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/apt/testing/selenium.apt (added)
+++ myfaces/tomahawk/trunk/site/src/site/apt/testing/selenium.apt Sat Aug 23 22:19:03 2008
@@ -0,0 +1,137 @@
+ -----------
+ Selenium Testing
+ -----------
+
+Selenium Testing
+
+ <<{{{http://selenium.openqa.org}Selenium}}>> is a test tool for web
+ applications. Unlike HtmlUnit or HttpUnit tests which <simulate> a browser,
+ Selenium tests run directly in a real browser such as Firefox or Internet
+ Explorer. The Selenium JavaScript code is deployed alongside your running
+ application, and interacts with it just as your users do.
+
+ MyFaces uses Selenium for functional testing of the example apps.
+ The following example apps include Selenium tests:
+
+ * MyFaces Example Simple
+
+* Install
+
+ Selenium is available in OpenQA's Maven repository, so no installation is
+ necessary.
+
+ However, you may want to download the Selenium distribution (which includes
+ the documentation) from
+ {{{http://www.openqa.org/selenium-core/download.action}
+ http://www.openqa.org/selenium-core/download.action}}.
+
+ While you're there, also install the Firefox plugin <<Selenium IDE>> from
+ {{{http://www.openqa.org/selenium-ide/}
+ http://www.openqa.org/selenium-ide/}}.
+
+* Package
+
+ <<Package>> the webapp with the 'selenium' profile activated.
+
+ The {{{http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/pom.xml
+ ?view=markup}tomahawk-examples-project pom}} includes a 'selenium' profile that
+ will
+
+ * unpack the Selenium jar under 'target'
+
+ * copy the 'core' directory from the unpacked Selenium jar into the
+ webapp
+
+ * copy any files in 'src/test/selenium' into the webapp
+
+ []
+
++-----+
+mvn package -P selenium
++-----+
+
+ The webapp will contain the following additional directories: 'selenium/core'
+ and 'selenium/tests'.
+
+* Deploy
+
+ <<Deploy>> the webapp to your favorite container. The Cargo plugin is
+ configured to make this easy:
+
++-----+
+mvn package cargo:start -P selenium
++-----+
+
+ or
+
++-----+
+mvn package cargo:start -P selenium -Dcargo.tomcat5x.home=/path/to/tomcat5
++-----+
+
+ [TODO] Add info on how to start and deploy to Jetty.
+
+
+* Deploy with Sun's RI
+
+ To build and deploy the examples using the Sun's RI instead of
+ MyFaces, add <<<-Djsf=ri>>> to the command line.
+
++-----+
+mvn clean package cargo:start -P selenium -Djsf=ri
++-----+
+
+* Run
+
+ <<Run>> the tests with the Selenium TestRunner.
+
+ * Visit <<<http://localhost:8080/<appname>/selenium/core/TestRunner.html>>>
+
+ * Click 'go' in the top left frame to load the TestSuite.html page
+
+ * Click 'All' in the top right frame to run the tests
+
+ []
+
+ <<Run>> the tests <automatically>.
+
+ * Append <<<?test=../tests/TestSuite.html&auto=true>>>
+ to the TestRunner.html URL
+
+ []
+
+ After it runs the tests automatically, Selenium will <<<POST>>> the results to
+ the default URL of <<<../postResults>>>. Since nothing is there to process the
+ request, you will see a 404 Not Found error page in the bottom frame.
+
+
+* Edit
+
+ <<Edit>> an existing test, or write a new one.
+
+ If you add a new test, remember to add it to src/test/selenium/TestSuite.html
+ so the TestRunner will find it.
+
+ During the testing process, the brower's cache is not you friend. As a
+ general rule, <<clean out the brower's cache before running the tests!>>
+ Doing this will save a lot of frustration.
+
+** Selenium IDE
+
+ The Selenium IDE Firefox plugin is the easiest way to edit tests. With the
+ example app running, open the HTML file (src/test/selenium/SomeTest.html)
+ from your svn checkout of Shale. Use the IDE to edit and run the test, and
+ save your changes.
+
+ <<Note>>: Your changes will not be visible to the TestRunner in the deployed
+ webapp unless you re-package and deploy it.
+
+** HTML Editor
+
+ Selenium tests are written in plain HTML tables, so you may edit them with any
+ text editor.
+
+ If you prefer to edit the tests 'in place' in the running webapp, simply copy
+ the files back to your svn checkout directory and commit the changes or submit
+ a patch .
+
+
Added: myfaces/tomahawk/trunk/site/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/site.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/site.xml (added)
+++ myfaces/tomahawk/trunk/site/src/site/site.xml Sat Aug 23 22:19:03 2008
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * 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.
+-->
+<project name="MyFaces Tomahawk">
+
+ <bannerLeft>
+ <name>Apache MyFaces Tomahawk</name>
+ <src>img/banners/MyFaces_logo.jpg</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerLeft>
+
+ <bannerRight>
+ <name>Apache Banner</name>
+ <src>img/banners/apache_banner.png</src>
+ <href>http://myfaces.apache.org/</href>
+ </bannerRight>
+
+ <publishDate format="dd MMM yyyy" />
+
+ <skin>
+ <groupId>org.apache.myfaces.maven</groupId>
+ <artifactId>myfaces-site-skin</artifactId>
+ <version>1-SNAPSHOT</version>
+ </skin>
+
+ <body>
+ <links>
+ <item name="Apache" href="http://www.apache.org/"/>
+ <item name="MyFaces" href="http://myfaces.apache.org/index.html"/>
+ </links>
+
+ <menu name="MyFaces Projects">
+ <item name="Overview" href="http://myfaces.apache.org/index.html"/>
+ <item name="Core JSF-1.1" href="http://myfaces.apache.org/core11/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Core JSF-1.2" href="http://myfaces.apache.org/core12/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Trinidad" href="http://myfaces.apache.org/trinidad/index.html"/>
+ <item name="Tobago" href="http://myfaces.apache.org/tobago/index.html"/>
+ <item name="Tomahawk" href="http://myfaces.apache.org/tomahawk/index.html">
+ <item name="Tomahawk for JSF 1.1" href="http://myfaces.apache.org/tomahawk-project/tomahawk/index.html"/>
+ <item name="Tomahawk for JSF 1.2" href="http://myfaces.apache.org/tomahawk-project/tomahawk12/index.html"/>
+ </item>
+ <item name="Sandbox" href="http://myfaces.apache.org/sandbox/index.html" collapse="true">
+ <item name="dummy" href="dummy"/>
+ </item>
+ <item name="Orchestra" href="http://myfaces.apache.org/orchestra/index.html"/>
+ <item name="Portlet Bridge" href="http://myfaces.apache.org/portlet-bridge/index.html"/>
+ </menu>
+
+ <menu name="Documentation">
+ <item name="JSF Tag Documentation 1.1" href="http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc.html"/>
+ <item name="JSF Tag Documentation 1.2" href="http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc.html"/>
+ <item name="Extensions filter" href="extensionsFilter.html"/>
+ <item name="forceId" href="forceId.html"/>
+ <item name="Tiles Support" href="tiles.html"/>
+ </menu>
+
+ <menu ref="reports"/>
+
+ <menu name="Testing">
+ <item name="OpenQA Selenium" href="http://myfaces.apache.org/tomahawk/testing/selenium.html"/>
+ <item name="Autoriginate HostedQA" href="http://myfaces.apache.org/tomahawk/testing/hostedqa.html"/>
+ </menu>
+
+ <menu name="Foundation">
+ <item name="ASF" href="http://apache.org/" />
+ <item name="Sponsorship" href="http://www.apache.org/foundation/sponsorship.html" />
+ <item name="Thanks" href="http://www.apache.org/foundation/thanks.html" />
+ </menu>
+ </body>
+</project>
Propchange: myfaces/tomahawk/trunk/site/src/site/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/site/src/site/site.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml (added)
+++ myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml Sat Aug 23 22:19:03 2008
@@ -0,0 +1,113 @@
+<?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="What is the Extensions Filter for?">
+
+ <p>
+ Some MyFaces components do more than include some HTML in the pages.
+ They may need additional support scripts, style sheets, images, ...<br/>
+ Those resources are included in the MyFaces' jar file and the Extensions Filter adds
+ the code and URL needed to provide those resources to the generated HTML.
+ </p>
+ <p>
+ Some other components, like the file upload component (t:inputFileUpload), need to parse
+ Multipart requests.<br/>
+ The extensions filter handles this as well.
+ </p>
+</section>
+<section name="Why is this useful?">
+ <p>
+
+ This design has several benefits :</p>
+ <ol>
+ <li>It provides a clean separation between MyFaces' components and your webapp.</li>
+ <li>You don't have to include additional MyFaces' components-related code or resources in your pages or webapp.</li>
+ <li>It provides flexibility so that the MyFaces' team can upgrade the components while keeping transparent backward compatibility.</li>
+ <li>It makes it possible for complex components to use many support resources without any burden on the page developer.</li>
+ <li>It loads only the resources useful for the rendered components.</li>
+ <li>It handles the MyFaces' resources caching.</li>
+ </ol>
+</section>
+<section name="How does it work?">
+
+<p> When a component needs a resource, it calls one of the org.apache.myfaces.component.html.util.AddResource methods
+ (for example AddResource.addJavaScriptToHeader(InputHtmlRenderer.class, "sarissa.js", context); ).<br/>
+ The AddResource methods add an attribute to the request so that the filter is notified to include the given javascript, stylesheet,
+ or resource link in the generated HTML for your JSF page.<br/>
+ The URL for an embedded resource begins with /faces/myFacesExtensionResource so that it can be intercepted by the filter
+ when the client needs to load the resource.<br/>
+ When the clients fetches the resource, the filter also decodes the URL, and serves the proper resource from the MyFaces' jar.</p>
+</section>
+<section name="How do I configure it?">
+ <p>
+ In your web.xml, map this filter to the path used for the JSF pages (most likely *.jsf)
+ so the filter can update resource links on your JSF pages, and also map the filter to the /faces/myFacesExtensionResource/* path
+ so it can serve page-independent resources like images, javascript files, and stylesheets.
+ Here's one example of configuring the extensions filter:</p>
+ <source xml:space="preserve">
+<filter>
+ <filter-name>MyFacesExtensionsFilter</filter-name>
+ <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
+ <init-param>
+ <param-name>uploadMaxFileSize</param-name>
+ <param-value>20m</param-value>
+ <description>Set the size limit for uploaded files.
+ Format: 10 - 10 bytes
+ 10k - 10 KB
+ 10m - 10 MB
+ 1g - 1 GB
+ </description>
+ </init-param>
+</filter>
+
+<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
+<filter-mapping>
+ <filter-name>MyFacesExtensionsFilter</filter-name>
+ <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
+ <servlet-name>Faces Servlet</servlet-name>
+</filter-mapping>
+
+<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
+<filter-mapping>
+ <filter-name>MyFacesExtensionsFilter</filter-name>
+ <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
+</filter-mapping>
+ </source>
+ <p>Alternate mapping using a url-pattern instead of a servlet-name (you still need the /faces/myFacesExtensionResource/* mapping as well):</p>
+ <source xml:space="preserve">
+<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
+<filter-mapping>
+ <filter-name>MyFacesExtensionsFilter</filter-name>
+ <url-pattern>*.jsf</url-pattern>
+</filter-mapping>
+ </source>
+</section>
+<section name="What configuration settings are available?">
+ <p>
+ See the javadoc for class ExtensionsFilter for information on the full set of configuration
+ options for this filter.
+ </p>
+</section>
+<section name="Under what circumstances am I *required* to use the extensions filter?">
+ <p>
+ If you just use standard JSF component, but don't use any MyFaces' extended component (beginning with t:),
+ then you don't need the Extensions Filter.<br/>
+ However, if you use some of the MyFaces' extended components like t:inputFileUpload, t:inputHtml, t:inputCalendar, ...
+ then you most likely need to have this filter configured in your webapp.
+</p>
+</section>
+<section name="Does this impact performance?">
+ <p>
+ The filter hasn't any significant impact the response time.<br/>
+ However, as the filter has to cache the whole response in memory before writing it out to the client, it slightly increases the memory usage.
+</p></section>
+</body>
+
+
+
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/site/src/site/xdoc/extensionsFilter.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml (added)
+++ myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml Sat Aug 23 22:19:03 2008
@@ -0,0 +1,64 @@
+<?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>
+ The forceId attribute allows you to set
+ the id of a component to a fixed value.
+ This can be useful if you want to heavily use
+ (or reuse your preexisting) JavaScript libraries
+ or CSS-styles.
+ </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">attribute forceId</td>
+ <td colspan="1" rowspan="1">
+ On all MyFaces extended and custom components (all components
+ in the extended taglib, usually prefixed with an 't')
+ the forceId attribute can be set to true to force the desired id-value.
+ </td>
+ </tr>
+ </table>
+ </section>
+ <!-- Usage -->
+ <section name="Usage">
+
+ <source xml:space="preserve">
+<(anyCustomComponent) forceId="true" id="yourIdValue"/>
+ </source>
+ </section>
+ <!-- Instructions -->
+ <section name="Instructions">
+
+ <p>
+ An example:<br/>
+ if you want to use the panelGroup control with a predefined id of "foo",
+ you include the markup
+ <code><t:panelGroup id="foo" forceId="true"/></code>
+ into your JSP-file.
+ </p>
+ </section>
+ </body>
+
+
+</document>
\ No newline at end of file
Propchange: myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/site/src/site/xdoc/forceId.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/site/src/site/xdoc/tiles.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/site/src/site/xdoc/tiles.xml?rev=688449&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/site/src/site/xdoc/tiles.xml (added)
+++ myfaces/tomahawk/trunk/site/src/site/xdoc/tiles.xml Sat Aug 23 22:19:03 2008
@@ -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.tomahawk.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/site/src/site/xdoc/tiles.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/site/src/site/xdoc/tiles.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL