Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29200/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
Added Files:
ContribTableTag.java TapestryActionLinkTag.java
TapestryAnyTag.java TapestryBlockTag.java TapestryBodyTag.java
TapestryButtonTag.java
Log Message:
Added Table, ActionLink, Any, Block, Body, Button tags
--- NEW FILE: TapestryButtonTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* Creates a labeled button within a form.
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryButtonTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* No description available yet.
*
*/
String getLabel();
/**
* No description available yet.
*
*/
String getDisabled();
/**
* No description available yet.
*
*/
String getHtmlid();
}
--- NEW FILE: TapestryAnyTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* Dynamically emulates any element, including attributes (provided as informal
parameters).
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryAnyTag extends com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* The element to emulate.
*
*/
String getElement();
/**
* The tag used to add this component in a template.
*
*/
String getTemplateTag();
}
--- NEW FILE: TapestryBodyTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* Takes the place of the normal HTML <body> element, providing various
forms of support to all components it wraps.
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryBodyTag extends com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* Name of element to use, defaults to "body".
*
*/
String getElement();
}
--- NEW FILE: ContribTableTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* The main Table component that is implemented using the lower-level Table
components such as TableView and TableRows.
* The component does not render its body, which makes it a good place to
declare Blocks defining the column appearances.
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface ContribTableTag extends com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* The model describing the data to be presented by the Table component.
* This parameter is optional, but either the 'tableModel' or both 'source'
and 'columns' parameters must be provided.
*
*/
String getTableModel();
/**
* The data to be displayed by the component.
* This parameter is available as an alternative to 'tableModel' and must
be used in combination with the 'columns' parameter.
* The parameter must be an array of values, a collection, an iterator, or
an object implementing the IBasicTableModel interface.
*
*/
String getSource();
/**
* The table columns to be displayed.
* The parameter must be an array, a list, or an Iterator of ITableColumn
objects, an ITableColumnModel, or a String describing the columns (see
documentation).
*
*/
String getColumns();
/**
* The number of records displayed per page when source/columns are used.
* The page size is 10 by default.
*
*/
String getPageSize();
/**
* The initial page to be displayed.
* This is the first page by default.
*
*/
String getInitialPage();
/**
* The id of the column to initially sort the table by.
* The column is set to null by default, i.
*e.
* there is no sorting.
*
*/
String getInitialSortColumn();
/**
* The order of the initial sorting.
* Set this parameter to 'false' to sort in an ascending order and to
'true' to sort in a descending one.
*
*/
String getInitialSortOrder();
/**
* The manager that controls what part of the table model will be stored
in the session.
*
*/
String getTableSessionStateManager();
/**
* The manager that controls where the session data will be stored.
*
*/
String getTableSessionStoreManager();
/**
* Defines how the table state (paging and sorting) will be persisted if
no tableSessionStoreManager is defined.
* The possible values are 'session' (the default), 'client',
'client:page', and 'client:app'.
*
*/
String getPersist();
/**
* The component where Block and messages are pulled from when using
source/columns.
*
*/
String getColumnSettingsContainer();
/**
* The maximum number of pages that will be displayed in the list of table
pages.
* By default, only seven of the pages around the current one are shown.
*
*/
String getPagesDisplayed();
/**
* The column that is being rendered.
* This value is updated when both the column headers and column values are
rendered.
*
*/
String getColumn();
/**
* The row that is being rendered.
* This value is null when the column headers are rendered.
*
*/
String getRow();
/**
* If provided, the parameter is updated with the index of the loop on
each iteration.
*
*/
String getIndex();
/**
* Only active in a form.
* An OGNL expression that returns the primary key of the iterated value.
* The primary keys are stored in hidden fields during rendering and are
loaded from the form during a rewind to ensure that the iterations remain the
same.
* This is a simpler, but a less efficient alternative of the 'converter'
parameter.
* If needed, please use in conjuction with 'fullSource' to reference
objects not currently present in 'source'.
* Also, use the 'defaultValue' parameter to define the object to be
returned if a value corresponding to a particular primary key cannot be found.
*
*/
String getKeyExpression();
/**
* Only active in a form and in combination with the 'keyExpression'
parameter.
* If an object corresponding to a primary key stored in the form cannot be
found in the 'source' parameter, then the objects provided by this parameter
are searched for a match next.
*
*/
String getFullSource();
/**
* Only active in a form.
* The value to be used when no match for a given primary key is found.
*
*/
String getDefaultValue();
/**
* Only active in a form.
* Defines how the items iterated upon will be stored in the form as hidden
values and how the stored information will be converted back to objects.
* This interface allows only the primary key of the items to be stored,
rather than the whole item.
*
*/
String getConverter();
/**
* Only active in a form.
* If provided, the parameter is automatically updated before a rewind with
the list of primary keys stored in the form.
* The parameter is updated right before the iterations begin in a rewind
and could be used to preload the relevant objects in a provided 'converter'.
*
*/
String getPrimaryKeys();
/**
* Only active in a form.
* Determines whether to avoid creating hidden fields within a form.
* Using this parameter may make the form structure different during render
and rewind, and cause exceptions as a result.
* Please use with caution.
*
*/
String getVolatile();
/**
* The image to use to describe a column sorted in an ascending order.
*
*/
String getArrowUpAsset();
/**
* The image to use to describe a column sorted in a descending order.
*
*/
String getArrowDownAsset();
/**
* The CSS class of the table pages
*/
String getPagesClass();
/**
* The CSS class of the table columns
*/
String getColumnsClass();
/**
* The CSS class of the table rows
*/
String getRowsClass();
/**
* The CSS class of the table values
*/
String getValuesClass();
}
--- NEW FILE: TapestryActionLinkTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* Creates a contextual link within the response page.
* The page will be rewound to its original state before the listener is
invoked.
* This component has been deprecated because this approach is inherently
unstable in the face of the changing server-side state.
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryActionLinkTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* Forces the link to be generated as an absolute URL with the given
scheme (unless the scheme matches the scheme for the current request).
*
*/
String getScheme();
/**
* No description available yet.
*
*
* @qtags.required
*/
String getListener();
/**
* No description available yet.
*
*/
String getDisabled();
/**
* No description available yet.
*
*/
String getAnchor();
/**
* No description available yet.
*
*/
String getTarget();
/**
* No description available yet.
*
*/
String getRenderer();
/**
* No description available yet.
*
*/
String getStateful();
}
--- NEW FILE: TapestryBlockTag.java ---
/**
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* A block of dynamic content.
* Blocks don't render until a RenderBlock component triggers them.
*
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryBlockTag extends com.thoughtworks.qdox.model.DocletTag
{
/**
* The id of the component
* @qtags.required
*/
String getId();
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits