You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by an...@apache.org on 2007/04/06 15:14:05 UTC
svn commit: r526148 - in
/tapestry/tapestry4/trunk/tapestry-contrib/src/site: site.xml
xdoc/componentreference/ajaxstatus.xml
Author: andyhot
Date: Fri Apr 6 06:14:04 2007
New Revision: 526148
URL: http://svn.apache.org/viewvc?view=rev&rev=526148
Log:
Docs for new AjaxStatus component
Added:
tapestry/tapestry4/trunk/tapestry-contrib/src/site/xdoc/componentreference/ajaxstatus.xml
Modified:
tapestry/tapestry4/trunk/tapestry-contrib/src/site/site.xml
Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/site/site.xml?view=diff&rev=526148&r1=526147&r2=526148
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/src/site/site.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-contrib/src/site/site.xml Fri Apr 6 06:14:04 2007
@@ -40,6 +40,7 @@
<item name="Overview" href="/index.html" />
<item name="Components" href="/componentreference/index.html" collapse="true">
+ <item name="AjaxStatus" href="/componentreference/ajaxstatus.html" />
<item name="CheckboxGroup" href="/componentreference/checkboxgroup.html" />
<item name="ColumnSortImage" href="/componentreference/columnsortimage.html" />
<item name="ColumnSortLink" href="/componentreference/columnsortlink.html" />
Added: tapestry/tapestry4/trunk/tapestry-contrib/src/site/xdoc/componentreference/ajaxstatus.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/site/xdoc/componentreference/ajaxstatus.xml?view=auto&rev=526148
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/src/site/xdoc/componentreference/ajaxstatus.xml (added)
+++ tapestry/tapestry4/trunk/tapestry-contrib/src/site/xdoc/componentreference/ajaxstatus.xml Fri Apr 6 06:14:04 2007
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2005 The Apache Software Foundation
+
+ Licensed 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.
+-->
+<document>
+ <properties>
+ <title>AjaxStatus</title>
+ </properties>
+ <body>
+
+ <section name="AjaxStatus">
+
+ <p>
+ An extension of the <a href="../../components/general/any.html">Any</a> component that .
+ defines an html node that becomes visible when ajax requests are in progress,
+ and gets hidden when those requests end.
+ </p>
+
+ <subsection name="Parameters">
+ <table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Default</th>
+ <th>Description</th>
+ </tr>
+
+ <tr>
+ <td>element</td>
+ <td>string</td>
+ <td>no</td>
+ <td><em>From the HTML template</em></td>
+ <td>The element to render.</td>
+ </tr>
+
+ </table>
+
+ <p>
+ Body:
+ <strong>allowed</strong>
+ </p>
+
+ <p>
+ Informal parameters:
+ <strong>allowed</strong>
+ </p>
+
+ <p>
+ Reserved parameters:
+ <em>none</em>
+ </p>
+
+ </subsection>
+
+ <subsection name="Example">
+
+ <source xml:space="preserve"><![CDATA[
+<div jwcid="@contrib:AjaxStatus" style="display:none;color:white;background:red;position:absolute;top:0;right:0">
+Loading...
+</div>
+]]></source>
+
+ </subsection>
+ </section>
+ </body>
+</document>