You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/07/09 19:23:00 UTC
svn commit: r209958 - in /myfaces/forrest/trunk: content/xdocs/
content/xdocs/components/ resources/images/
Author: mmarinschek
Date: Sat Jul 9 10:22:57 2005
New Revision: 209958
URL: http://svn.apache.org/viewcvs?rev=209958&view=rev
Log: (empty)
Added:
myfaces/forrest/trunk/content/xdocs/components/commandSortHeader.xml
myfaces/forrest/trunk/content/xdocs/components/extDataTable.xml
myfaces/forrest/trunk/content/xdocs/components/panelNavigation.xml
myfaces/forrest/trunk/content/xdocs/components/site.xml
myfaces/forrest/trunk/content/xdocs/components/uiSaveState.xml
myfaces/forrest/trunk/resources/images/calendar_nopopup.PNG (with props)
myfaces/forrest/trunk/resources/images/calendar_popup.PNG (with props)
myfaces/forrest/trunk/resources/images/datalist.PNG (with props)
myfaces/forrest/trunk/resources/images/datascroller.PNG (with props)
myfaces/forrest/trunk/resources/images/datatable.PNG (with props)
myfaces/forrest/trunk/resources/images/inputdate.PNG (with props)
myfaces/forrest/trunk/resources/images/inputhtml.PNG (with props)
myfaces/forrest/trunk/resources/images/panelnavigation.PNG (with props)
myfaces/forrest/trunk/resources/images/popup.PNG (with props)
myfaces/forrest/trunk/resources/images/rssticker.PNG (with props)
myfaces/forrest/trunk/resources/images/tabbedpane.PNG (with props)
myfaces/forrest/trunk/resources/images/tree.PNG (with props)
myfaces/forrest/trunk/resources/images/treetable.PNG (with props)
Modified:
myfaces/forrest/trunk/content/xdocs/components/calendar.xml
myfaces/forrest/trunk/content/xdocs/components/dataList.xml
myfaces/forrest/trunk/content/xdocs/components/fileUpload.xml
myfaces/forrest/trunk/content/xdocs/components/htmlEditor.xml
myfaces/forrest/trunk/content/xdocs/components/inputDate.xml
myfaces/forrest/trunk/content/xdocs/components/jscookmenu.xml
myfaces/forrest/trunk/content/xdocs/components/popup.xml
myfaces/forrest/trunk/content/xdocs/components/rssTicker.xml
myfaces/forrest/trunk/content/xdocs/components/tabbedPane.xml
myfaces/forrest/trunk/content/xdocs/components/tree.xml
myfaces/forrest/trunk/content/xdocs/components/treeTable.xml
myfaces/forrest/trunk/content/xdocs/components/validateCreditCard.xml
myfaces/forrest/trunk/content/xdocs/components/validateEmail.xml
myfaces/forrest/trunk/content/xdocs/components/validateEqual.xml
myfaces/forrest/trunk/content/xdocs/components/validateRegExpr.xml
myfaces/forrest/trunk/content/xdocs/site.xml
Modified: myfaces/forrest/trunk/content/xdocs/components/calendar.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/calendar.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/calendar.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/calendar.xml Sat Jul 9 10:22:57 2005
@@ -12,20 +12,35 @@
<section>
<title>Description</title>
<p>
- A calendar compononent to input dates.
+ Renders a calendar component allowing to choose a date from a month view.
+ Change the month by navigating in the header bar.
+
+ The calendar component is automatically rendered using the
+ week-names, the month-names and the start of the week of the
+ current locale, so localisation support is given (for an
+ example, see the myfaces examples and change the current locale
+ under options).
</p>
</section>
<!-- screen shot -->
<section>
<title>Screen Shots</title>
- <figure src="calendar_popup.png" alt="calendar_popup"/>
- <figure src="calendar_nopopup.png" alt="calendar_nopopup"/>
+ <figure src="images/calendar_popup.png" alt="calendar_popup"/>
+ <figure src="images/calendar_nopopup.png" alt="calendar_nopopup"/>
</section>
<!-- API -->
<section>
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.0 alpha</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Martin Marinschek</td>
+ </tr>
+ <tr>
<td>component-family</td>
<td>javax.faces.Input</td>
</tr>
@@ -51,19 +66,23 @@
<section>
<title>Syntax</title>
<p>
- <x:inputCalendar monthYearRowClass="CSSClass"
- weekRowClass="CSSClass"
- currentDayCellClass="CSSClass"
- value="Date"
- renderAsPopup="Boolean"
- popupTodayString="String"
- popupWeekString="String"/>
+ <x:calendar [ HTML universal attributes ]
+ [ HTML event handler attributes ]
+ [ UIInput standard attributes (i.e. valueChangeListener) ]
+ [monthYearRowClass="month-and-year-header-row-css-class"]
+ [weekRowClass="week-header-row-css-class"]
+ [dayCellClass="empty-or-date-cell-css-class"]
+ [currentDayCellClass="currently-selected-day-cell-css-class"]>
+ </x:calendar>
</p>
</section>
<!-- Instructions -->
<section>
<title>Instructions</title>
<p>
+ Standard core tags (i.e. a new Converter can be set for
+ value-bindings to values other than java.util.Date).
+
monthYearRowClass - CSS class to be used for the header-row showing month and year.
weekRowClass - CSS class to be used for the header-row showing the week-days.
dayCellClass - CSS class to be used for the cells showing days.
Added: myfaces/forrest/trunk/content/xdocs/components/commandSortHeader.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/commandSortHeader.xml?rev=209958&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/commandSortHeader.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/components/commandSortHeader.xml Sat Jul 9 10:22:57 2005
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
+
+<!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+-->
+<document>
+ <!-- component name -->
+ <header>
+ <!-- ex. JSCook Menu -->
+ <title>SortHeader</title>
+ <!-- ex. <x:jsCookMenu> -->
+ <subtitle><x:commandSortHeader></subtitle>
+ </header>
+ <body>
+ <!-- Description -->
+ <section>
+ <title>Description</title>
+ <p>
+ Renders a clickable column header and optionally shows
+ a sort direction indicator (arrow).
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section>
+ <title>Screen Shot</title>
+ <p>Not available</p> <!-- replace with either a figure or Not Available -->
+ <!--
+ <figure src="jscookmenu.png" alt="jscookmenu"/>
+ -->
+ </section>
+ <!-- API -->
+ <section>
+ <title>API</title>
+ <table>
+ <tr>
+ <td>since</td>
+ <td>0.3.0 (former <x:sortcolumn> and <x:sortheader>)</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>MyFaces Team</td>
+ </tr>
+ <tr>
+ <td>component-family</td>
+ <td>javax.faces.Command</td>
+ </tr>
+ <tr>
+ <td>renderer-type</td>
+ <td>javax.faces.Link</td>
+ </tr>
+ <tr>
+ <td>component-class</td>
+ <td>org.apache.myfaces.custom.sortheader.HtmlCommandSortHeader</td>
+ </tr>
+ <tr>
+ <td>component-type</td>
+ <td>org.apache.myfaces.HtmlCommandSortHeader</td>
+ </tr>
+ <tr>
+ <td>renderer-class</td>
+ <td>org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer</td>
+ </tr>
+ <tr>
+ <td>tag-class</td>
+ <td>org.apache.myfaces.custom.sortheader.HtmlCommandSortHeaderTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Syntax -->
+ <section>
+ <title>Syntax</title>
+ <p>
+ <x:commandSortHeader [ all standard commandLink attributes allowed ]
+ columnName="unique-column-name"
+ [ arrow="{true|false}" ] >
+ nested link text and/or image(s)
+ </x:command_sortheader>
+ </p>
+ </section>
+
+ <!-- Instructions -->
+ <section>
+ <title>Instructions</title>
+ <p>
+ Must be nested inside an extended ExtDataTable<x:dataTable>
+ (see web\\example\\simpleSortList.jsp for an example)
+ </p>
+ </section>
+
+ </body>
+ <footer>
+ <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br />
+ © 2004 - 2005, Apache Software Foundation
+ </legal>
+ </footer>
+
+</document>
Modified: myfaces/forrest/trunk/content/xdocs/components/dataList.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/dataList.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/dataList.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/dataList.xml Sat Jul 9 10:22:57 2005
@@ -19,7 +19,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="datalist.png" alt="datalist"/>
+ <figure src="images/datalist.png" alt="datalist"/>
</section>
<!-- API -->
<section>
Added: myfaces/forrest/trunk/content/xdocs/components/extDataTable.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/extDataTable.xml?rev=209958&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/extDataTable.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/components/extDataTable.xml Sat Jul 9 10:22:57 2005
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
+
+<!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+-->
+<document>
+ <!-- component name -->
+ <header>
+ <!-- ex. JSCook Menu -->
+ <title>DataTable</title>
+ <!-- ex. <x:jsCookMenu> -->
+ <subtitle><x:dataTable></subtitle>
+ </header>
+ <body>
+ <!-- Description -->
+ <section>
+ <title>Description</title>
+ <p>
+ The MyFacesDataTable extends the standard JSF DataTable by two important features:
+ Possiblity to save the state of the DataModel.
+ Support for clickable sort headers (see SortHeader component).
+ Extended data_table that adds some additional features to the standard
+ data_table action: see attribute descriptions for preserveDataModel,
+ sortColumn, sortAscending and preserveSort.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section>
+ <title>Screen Shot</title>
+ <figure src="images/datatable.png" alt="datatable"/>
+ </section>
+ <!-- API -->
+ <section>
+ <title>API</title>
+ <table>
+ <tr>
+ <td>component-family</td>
+ <td>javax.faces.Data</td>
+ </tr>
+ <tr>
+ <td>renderer-type</td>
+ <td>org.apache.myfaces.Table</td>
+ </tr>
+ <tr>
+ <td>component-class</td>
+ <td>org.apache.myfaces.component.html.ext.HtmlDataTable</td>
+ </tr>
+ <tr>
+ <td>renderer-class</td>
+ <td>org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer</td>
+ </tr>
+ <tr>
+ <td>tag-class</td>
+ <td>org.apache.myfaces.taglib.html.ext.HtmlDataTableTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Syntax-->
+ <section>
+ <title>Syntax</title>
+ <p>
+ <x:dataTable [ all standard dataTable attributes allowed ]
+ [ preserveDataModel="{true|false}" ]
+ [ sortColumn="value-binding" ]
+ [ sortAscending="value-binding" ]
+ [ preserveSort="{true|false}" ] >
+ standard dataTable body (<h:column> tags and optional "header" and "footer" facets)
+ </x:command_sortheader>
+ <x:dataTable>
+ </p>
+ </section>
+
+ <!-- Instructions -->
+ <section>
+ <title>Instructions</title>
+ <p>
+ Saving the state of the DataModel - the preserveDataModel attribute
+ When this attribute is "true", the data behind the current DataModel is saved after the render response phase
+ and restored in the restore component tree phase.
+
+ Why and when use this feature?
+ Whenever you use a DataModel backed by a database connection you could run into
+ problems, when the data in the database has changed since the last request. All Lifecycle phases prior to the render
+ response phase iterate the DataModel and assume that the DataModel is unchanged since the last request. At least the
+ row count must not have changed, because all children of UIData that are bound to the DataModel rely on it. But even if
+ you can assure that row count never changes, a change in the data can have unintentional sideeffects.
+
+ Using the preserveDataModel feature prevents such problems. The DataModel (to be more exact: the currently visible
+ part of the DataModel given by the first and the rows attribute) is freezed right after rendering and you can be sure that
+ all lifecycle actions during the next request happen on exactly the same data.
+
+ What data types are supported?
+ To be able to save the state of the DataModel the row objects must be serializable. All
+ standard DataModel types are supported, except ResultSet, which will follow in one of the next releases,
+
+ Is updating the model supported?
+ Yes. Just make your bean property that is bound to the DataTable component
+ writable, i.e. give it a setter method.
+
+ Attention: To minimize the effort for saving the state of the DataModel only the visible rows are saved and restored.
+ During the update model phase the setter will be called with an Array or List, that contains only these restored rows.
+ </p>
+ </section>
+
+ </body>
+ <footer>
+ <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br />
+ © 2004 - 2005, Apache Software Foundation
+ </legal>
+ </footer>
+
+</document>
Modified: myfaces/forrest/trunk/content/xdocs/components/fileUpload.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/fileUpload.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/fileUpload.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/fileUpload.xml Sat Jul 9 10:22:57 2005
@@ -12,7 +12,7 @@
<section>
<title>Description</title>
<p>
- A component to upload files.
+ Renders a HTML input with type="file".
You must enable the MultiPart Filter to make this component
work (see web.xml). Also, don't forget to set the form's attribute
@@ -32,6 +32,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>0.3.2 (former <x:file_upload>)</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Manfred Geiler, Sylvain Vieujot</td>
+ </tr>
+ <tr>
<td>component-family</td>
<td>javax.faces.Input</td>
</tr>
@@ -57,9 +65,8 @@
<section>
<title>Syntax</title>
<p>
- <x:inputFileUpload accept="String"
- value="String"
- storage="String"/>
+ <x:inputFileUpload [{all standard UIInput and HTML input attributes}]
+ [accept="mime-type"] />
</p>
</section>
<!-- Instructions -->
Modified: myfaces/forrest/trunk/content/xdocs/components/htmlEditor.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/htmlEditor.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/htmlEditor.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/htmlEditor.xml Sat Jul 9 10:22:57 2005
@@ -22,7 +22,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="inputhtml.png" alt="inputhtml"/>
+ <figure src="images/inputhtml.png" alt="inputhtml"/>
</section>
<!-- API -->
<section>
Modified: myfaces/forrest/trunk/content/xdocs/components/inputDate.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/inputDate.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/inputDate.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/inputDate.xml Sat Jul 9 10:22:57 2005
@@ -18,7 +18,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="inputdate.png" alt="inputdate"/>
+ <figure src="images/inputdate.png" alt="inputdate"/>
</section>
<!-- API -->
<section>
Modified: myfaces/forrest/trunk/content/xdocs/components/jscookmenu.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/jscookmenu.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/jscookmenu.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/jscookmenu.xml Sat Jul 9 10:22:57 2005
@@ -14,7 +14,8 @@
<p>
Renders a Javascript Menu based on the excellent
<link href="http://www.cs.ucla.edu/~heng/JSCookMenu">JSCookMenu</link>
- by Heng Yuan. Renders the nested NavigationMenuItem(s) as Javascript Menu.
+ by Heng Yuan.
+ Renders the nested NavigationMenuItem(s) as Javascript Menu.
</p>
</section>
<!-- screen shot -->
@@ -27,6 +28,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.5</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>MyFaces Team</td>
+ </tr>
+ <tr>
<td>component-family</td>
<td>javax.faces.Command</td>
</tr>
@@ -52,16 +61,40 @@
<section>
<title>Syntax</title>
<p>
- <x:jscookMenu layout="Constant" theme="Constant">
- <x:navigationMenuItem .../>
- ...
- <x:jscookMenu>
+ <x:jscookMenu [ user-role-support-attributes ]
+ [layout="values {hbr, hbl, hur, hul, vbr, vbl, vur, vul}"]
+ [theme="values {ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel}"]
+ Nested <x:navigationMenuItem> or <x:navigationMenuItems> tags (menu items)
+ </x:jscookMenu>
+ <x:navigationMenuItem> [ select-item-attributes ]
+ [action="action to be invoked"]
+ [icon="src attribute for the icon to display"]
+ </x:navigationMenuItem>
+ <x:navigationMenuItems> [ select-items-attributes ]
+ </x:navigationMenuItems>
</p>
</section>
<!-- Instructions -->
<section>
<title>Instructions</title>
<p>
+ If you want to use jscookMenu in your application, you will have to:
+ Add jscookmenu directory containing css and scripting code to
+ your web directory (you can find it in the examples application).
+ Add scripts and stylesheets for the theme you would like to use
+ to html-header (see also inc/header.inc in the examples application)
+
+ <!-- JSCook Menu -->
+ <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript">
+ <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"/>
+ <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"/>
+ <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"/>
+ <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css" type="text/css"/>
+ <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"/>
+ <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css" type="text/css"/>
+ <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"/>
+ <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css" type="text/css"/>
+
layout - hbr, hbl, hur, hul, vbr, vbl, vur, vul.
theme - ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel.
see examples/jscookmenu.jsp for an example!
Added: myfaces/forrest/trunk/content/xdocs/components/panelNavigation.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/panelNavigation.xml?rev=209958&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/panelNavigation.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/components/panelNavigation.xml Sat Jul 9 10:22:57 2005
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
+
+<!--
+This is a standard template meant to be used for the documentation of all custom
+components.
+-->
+<document>
+ <!-- component name -->
+ <header>
+ <!-- ex. JSCook Menu -->
+ <title>Panel Navigation</title>
+ <!-- ex. <x:jsCookMenu> -->
+ <subtitle><x:panelNavigation></subtitle>
+ </header>
+ <body>
+ <!-- Description -->
+ <section>
+ <title>Description</title>
+ <p>
+ Renders a vertical menu structure with support for nested menu items.
+ </p>
+ </section>
+ <!-- screen shot -->
+ <section>
+ <title>Screen Shot</title>
+ <figure src="images/panelnavigation.png" alt="panelnavigation"/>
+ </section>
+ <!-- API -->
+ <section>
+ <title>API</title>
+ <table>
+ <tr>
+ <td>since</td>
+ <td>0.1.0 (former <x:navigation>)</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>MyFaces Team</td>
+ </tr>
+ <tr>
+ <td>component-family</td>
+ <td>javax.faces.Panel</td>
+ </tr>
+ <tr>
+ <td>renderer-type</td>
+ <td>org.apache.myfaces.Navigation</td>
+ </tr>
+ <tr>
+ <td>component-class</td>
+ <td>org.apache.myfaces.custom.navigation.HtmlPanelNavigation</td>
+ </tr>
+ <tr>
+ <td>renderer-class</td>
+ <td>org.apache.myfaces.custom.navigation.HtmlNavigationRenderer</td>
+ </tr>
+ <tr>
+ <td>tag-class</td>
+ <td>org.apache.myfaces.custom.navigation.HtmlPanelNavigationTag</td>
+ </tr>
+ </table>
+ </section>
+
+ <!-- Syntax -->
+ <section>
+ <title>Syntax</title>
+ <p>
+ <x:panelNavigation [ standard HTML table attributes ]
+ [itemClass="normal-menu-item-css-class"]
+ [openItemClass="open-menu-item-css-class"]
+ [activeItemClass="active-menu-item-css-class"]
+ [separatorClass="separator-css-class"]
+ [itemStyle="normal-menu-item-css-style"]
+ [openItemStyle="open-menu-item-css-style"]
+ [activeItemStyle="active-menu-item-css-style"]
+ [separatorStyle="separator-css-style"]>
+ Nested <x:commandNavigation> tags (menu items) and output components (separat
+ </x:panelNavigation>
+ </p>
+ </section>
+
+ <!-- Instructions -->
+ <section>
+ <title>Instructions</title>
+ <p>
+ Body content must be a combination of <x:commandNavigation> tags
+ and standard output tags. Output tags are rendered as separators
+ and can be used to divide the menu into sections.
+ </p>
+ </section>
+
+ </body>
+ <footer>
+ <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br />
+ © 2004 - 2005, Apache Software Foundation
+ </legal>
+ </footer>
+
+</document>
Modified: myfaces/forrest/trunk/content/xdocs/components/popup.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/popup.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/popup.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/popup.xml Sat Jul 9 10:22:57 2005
@@ -18,7 +18,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="popup.png" alt="popup"/>
+ <figure src="images/popup.png" alt="popup"/>
</section>
<!-- API -->
<section>
Modified: myfaces/forrest/trunk/content/xdocs/components/rssTicker.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/rssTicker.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/rssTicker.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/rssTicker.xml Sat Jul 9 10:22:57 2005
@@ -12,22 +12,28 @@
<section>
<title>Description</title>
<p>
+ A component, that displays the topics of a desired RDF-Newsfeed.
Extends standard commandButton by user role support.
</p>
</section>
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <p>Not Available</p> <!-- replace with either a figure or Not Available -->
- <!--
- <figure src="jscookmenu.png" alt="jscookmenu"/>
- -->
+ <figure src="images/rssticker.png" alt="rssticker"/>
</section>
<!-- API -->
<section>
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.5</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Matthias Weßendorf</td>
+ </tr>
+ <tr>
<td>component-family</td>
<td>[TODO]</td>
</tr>
@@ -53,13 +59,15 @@
<section>
<title>Syntax</title>
<p>
- <x:rssTicker rssUrl="String">
+ <x:rssTicker rssUrl
+ [ HTML universal attributes ]/>
</p>
</section>
<!-- Instructions -->
<section>
<title>Instructions</title>
<p>
+ Enter the url of a rss-source into attribute rssUrl.
rssUrl - URL on whichs the rss-information are available.
</p>
</section>
Added: myfaces/forrest/trunk/content/xdocs/components/site.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/site.xml?rev=209958&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/site.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/components/site.xml Sat Jul 9 10:22:57 2005
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<site label="MyFaces" tab="project" href="" xmlns="http://apache.org/forrest/linkmap/1.0">
+
+ <project-information href="" label="Project" tab="project">
+ <index_pm href="index.html" label="Welcome"/>
+ <news label="News">
+ <current label="Current" href="index.html"/>
+ <current label="Archive" href="news-archive.html"/>
+ </news>
+ <downloads label="Downloads">
+ <bindownload label="Binary" href="http://myfaces.apache.org/binary.cgi"/>
+ <srcdownload label="Source" href="http://myfaces.apache.org/source.cgi"/>
+ <bindownload_html href="binary.html"/> <!-- these dummy links are necessary -->
+ <srcdownload_html href="source.html"/> <!-- these dummy links are necessary -->
+ <nightly label="Nightly" href="http://cvs.apache.org/builds/myfaces/nightly/"/>
+ </downloads>
+ <license label="License" href="license.html" />
+ </project-information>
+ <docu href="docs/" label="Documentation" tab="documentation">
+ <gettingstarted label="Getting Started" href="gettingstarted.html"/>
+ <ri label="MyFaces and RI" href="risamples.html"/>
+ <tomcat4x label="MyFaces and Tomcat 4.x" href="tomcat4x.html"/>
+ <portlet label="MyFaces' Portlet Support" href="portlet.html"/>
+ <extensionsFilter label="MyFaces' Extensions Filter" href="extensionsFilter.html"/>
+ <compatibility label="Compatibility" href="compatibility.html"/>
+ <faq label="FAQ" href="faq.html"/>
+ <jars label="JARs" href="jars.html"/>
+ <javadoc label="Java Doc" href="http://myfaces.apache.org/javadoc/"/>
+ <tlddoc label="Taglibs" href="http://myfaces.apache.org/tlddoc/"/>
+ <bootstrap label="Bootstrap" href="bootstrap.html"/>
+ <controlprogramming label="Old Homepage" href="sf.html"/>
+ </docu>
+ <components href="components/" label="Components" tab="components">
+ <overview label="Overview" href="overview.html"/>
+ <jscookmenu label="JSCook Menu" href="jscookmenu.html"/>
+ <tiles label="Tiles Support" href="tiles.html"/>
+ <tree2 label="Tree2" href="tree2.html"/>
+ <validateCreditCard label="validateCreditCard" href="validateCreditCard.html"/>
+ <validateISBN label="validateISBN" href="validateISBN.html"/>
+ <validateRegExpr label="validateRegExpr" href="validateRegExpr.html"/>
+ <validateEmail label="validateEmail" href="validateEmail.html"/>
+ <validateEqual label="validateEqual" href="validateEqual.html"/>
+ <newspaperTable label="Newspaper Table" href="newspaperTable.html"/>
+ <aliasBean label="Alias Bean" href="aliasBean.html"/>
+ <Buffer label="Buffer" href="buffer.html"/>
+ <dataScroller label="dataScroller" href="dataScroller.html"/>
+ <fileUpload label="File Upload" href="fileUpload.html"/>
+ <tabbedPane label="TabbedPane" href="tabbedPane.html"/>
+ <calendar label="Calendar" href="calendar.html"/>
+ <popup label="Popup" href="popup.html"/>
+ <javascriptListener label="Javascript Listener" href="javascriptListener.html"/>
+ <inputDate label="Date" href="inputDate.html"/>
+ <inputHtml label="Html Editor" href="htmlEditor.html"/>
+ <dataList label="Data List" href="dataList.html"/>
+ <Tree label="Tree" href="tree.html"/>
+ <TreeTable label="Tree Table" href="treeTable.html"/>
+ <rssTicker label="RSS Ticker" href="rssTicker.html"/>
+ <panelStack label="Panel Stack" href="panelStack.html"/>
+ <stylesheet label="Style Sheet" href="stylesheet.html"/>
+ <forceId label="forceId" href="forceId.html"/>
+ <commandSortHeader label="Sort Header" href="commandSortHeader.html"/>
+ <dataScroller label="Data Scroller" href="dataScroller.html"/>
+ <extDataTable label="Extended Data Table" href="extDataTable.html"/>
+ <panelNavigation label="Panel Navigation" href="panelNavigation.html"/>
+ <uiSaveState label="UI Save State" href="uiSaveState.html"/>
+ </components>
+ <community href="community/" label="Community" tab="community">
+ <whoweare label="Who we are" href="whoweare.html"/>
+ <getinvolved label="Get Involved" href="http://www.apache.org/dev/contributors.html"/>
+ <mailinglists label="Mailing Lists" href="mailinglists.html" />
+ <issue label="Bug Reporting" href="issue.html"/>
+ <cvs label="SVN" href="versioning.html"/>
+ <wiki label="Wiki" href="http://wiki.apache.org/myfaces"/>
+ <bylaws label="Project Bylaws" href="bylaws.html"/>
+ <powered label="Powered by MyFaces" href="poweredbymyfaces.html"/>
+ </community>
+ <!--
+ NOTE: foo tab doesn't really exist (its label is empty String.) This allows us to create bogus
+ links for the binary.xml and source.xml files. These bogus links are necessary to trick
+ Forrest into converting them into html even though they are not linked anywhere. The real
+ links are the cgi scripts tha will eventually make use of these html templates.
+ -->
+ <foo href="" label="" tab="foo">
+ <bindownload_html label="" href="binary.html"/>
+ <srcdownload_html label="" href="source.html"/>
+ </foo>
+</site>
Modified: myfaces/forrest/trunk/content/xdocs/components/tabbedPane.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/tabbedPane.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/tabbedPane.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/tabbedPane.xml Sat Jul 9 10:22:57 2005
@@ -18,7 +18,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="tabbedpane.png" alt="tabbedpane"/>
+ <figure src="images/tabbedpane.png" alt="tabbedpane"/>
</section>
<!-- API -->
<section>
Modified: myfaces/forrest/trunk/content/xdocs/components/tree.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/tree.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/tree.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/tree.xml Sat Jul 9 10:22:57 2005
@@ -18,7 +18,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="tree.png" alt="tree"/>
+ <figure src="images/tree.png" alt="tree"/>
</section>
<!-- API -->
<section>
Modified: myfaces/forrest/trunk/content/xdocs/components/treeTable.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/treeTable.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/treeTable.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/treeTable.xml Sat Jul 9 10:22:57 2005
@@ -18,7 +18,7 @@
<!-- screen shot -->
<section>
<title>Screen Shot</title>
- <figure src="treetable.png" alt="treetable"/>
+ <figure src="images/treetable.png" alt="treetable"/>
</section>
<!-- API -->
<section>
Added: myfaces/forrest/trunk/content/xdocs/components/uiSaveState.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/uiSaveState.xml?rev=209958&view=auto
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/uiSaveState.xml (added)
+++ myfaces/forrest/trunk/content/xdocs/components/uiSaveState.xml Sat Jul 9 10:22:57 2005
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
+
+<document>
+
+ <header>
+ <title>UISaveState</title>
+ </header>
+
+ <body>
+
+ <section>
+ <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>
+ </ul>
+ <ul>
+ <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>
+ </ul>
+ <ul>
+ <li>
+ Running multiple redundant servers is a challenge. You must use
+ cluster environments which are expensive and difficult to handle.
+ </li>
+ </ul>
+ </section>
+
+ <section>
+ <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.
+ </p>
+ <p>
+ MyFaces introduces a new Component "UISaveState" with the corresponding
+ Tag <x:save_state>.
+ Example (see "sample1.jsp" of the "examples" web application):
+ <x:save_state id="save1" value="#{calcForm.number1}" />
+ <x:save_state id="save2" value="#{calcForm.number2}" />
+ <x:save_state id="save3" value="#{ucaseForm.text}" />
+ 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.
+ Example:
+ <x:save_state id="saveCalcForm" value="#{calcForm}"/>
+ 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>
+
+ <footer>
+ <legal>Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.<br />
+ © 2004, Apache Software Foundation
+ </legal>
+ </footer>
+
+</document>
Modified: myfaces/forrest/trunk/content/xdocs/components/validateCreditCard.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/validateCreditCard.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/validateCreditCard.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/validateCreditCard.xml Sat Jul 9 10:22:57 2005
@@ -44,6 +44,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.4</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Matthias Weßendorf</td>
+ </tr>
+ <tr>
<td>validatorId</td>
<td>org.myfaces.validator.CreditCard</td>
</tr>
Modified: myfaces/forrest/trunk/content/xdocs/components/validateEmail.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/validateEmail.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/validateEmail.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/validateEmail.xml Sat Jul 9 10:22:57 2005
@@ -28,6 +28,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.4</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Matthias Weßendorf</td>
+ </tr>
+ <tr>
<td>validatorId</td>
<td>org.apache.myfaces.validator.Email</td>
</tr>
Modified: myfaces/forrest/trunk/content/xdocs/components/validateEqual.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/validateEqual.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/validateEqual.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/validateEqual.xml Sat Jul 9 10:22:57 2005
@@ -28,6 +28,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.5</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Matthias Weßendorf</td>
+ </tr>
+ <tr>
<td>validatorId</td>
<td>org.apache.myfaces.validator.Equal</td>
</tr>
Modified: myfaces/forrest/trunk/content/xdocs/components/validateRegExpr.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/components/validateRegExpr.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/components/validateRegExpr.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/components/validateRegExpr.xml Sat Jul 9 10:22:57 2005
@@ -28,6 +28,14 @@
<title>API</title>
<table>
<tr>
+ <td>since</td>
+ <td>1.0.5</td>
+ </tr>
+ <tr>
+ <td>author</td>
+ <td>Matthias Weßendorf</td>
+ </tr>
+ <tr>
<td>validatorId</td>
<td>org.apache.myfaces.validator.RegExpr</td>
</tr>
Modified: myfaces/forrest/trunk/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/content/xdocs/site.xml?rev=209958&r1=209957&r2=209958&view=diff
==============================================================================
--- myfaces/forrest/trunk/content/xdocs/site.xml (original)
+++ myfaces/forrest/trunk/content/xdocs/site.xml Sat Jul 9 10:22:57 2005
@@ -58,6 +58,11 @@
<panelStack label="Panel Stack" href="panelStack.html"/>
<stylesheet label="Style Sheet" href="stylesheet.html"/>
<forceId label="forceId" href="forceId.html"/>
+ <commandSortHeader label="Sort Header" href="commandSortHeader.html"/>
+ <dataScroller label="Data Scroller" href="dataScroller.html"/>
+ <extDataTable label="Extended Data Table" href="extDataTable.html"/>
+ <panelNavigation label="Panel Navigation" href="panelNavigation.html"/>
+ <uiSaveState label="UI Save State" href="uiSaveState.html"/>
</components>
<community href="community/" label="Community" tab="community">
<whoweare label="Who we are" href="whoweare.html"/>
Added: myfaces/forrest/trunk/resources/images/calendar_nopopup.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/calendar_nopopup.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/calendar_nopopup.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/calendar_popup.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/calendar_popup.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/calendar_popup.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/datalist.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/datalist.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/datalist.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/datascroller.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/datascroller.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/datascroller.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/datatable.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/datatable.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/datatable.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/inputdate.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/inputdate.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/inputdate.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/inputhtml.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/inputhtml.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/inputhtml.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/panelnavigation.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/panelnavigation.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/panelnavigation.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/popup.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/popup.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/popup.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/rssticker.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/rssticker.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/rssticker.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/tabbedpane.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/tabbedpane.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/tabbedpane.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/tree.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/tree.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/tree.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: myfaces/forrest/trunk/resources/images/treetable.PNG
URL: http://svn.apache.org/viewcvs/myfaces/forrest/trunk/resources/images/treetable.PNG?rev=209958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: myfaces/forrest/trunk/resources/images/treetable.PNG
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream