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-serv856/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
Modified Files:
TapestryPropertyTag.java
Added Files:
TapestryTextFieldTag.java
Log Message:
Added tapestry.text-field tag for Tapestry's TextField component
Added ability to guess the name parameter for the tapestry.property tag
Index: TapestryPropertyTag.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags/TapestryPropertyTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TapestryPropertyTag.java 11 Oct 2005 23:15:58 -0000 1.2
--- TapestryPropertyTag.java 14 Oct 2005 15:49:10 -0000 1.3
***************
*** 11,20 ****
* obtained from HiveMind.
* @qtags.location class
! * @author Paolo Don�
*/
public interface TapestryPropertyTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the property.
! * @qtags.required
*/
String getName_();
--- 11,22 ----
* obtained from HiveMind.
* @qtags.location class
! * @qtags.location method
! * @author Paolo Dona
*/
public interface TapestryPropertyTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The name of the property.
! * It is required only if the tag is used as a tag class.
! * property's name will be guessed if this tag is used in a getter method.
*/
String getName_();
***************
*** 24,27 ****
--- 26,33 ----
* or leave blank for no persistence (that is, a transient property).
* "session" is the most common strategy.
+ * @qtags.allowed-value session
+ * @qtags.allowed-value client
+ * @qtags.allowed-value client:page
+ * @qtags.allowed-value client:app
*/
String getPersist();
--- NEW FILE: TapestryTextFieldTag.java ---
/*
* Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.tapestry.qtags;
/**
* A text input field.
*
* @qtags.location class
* @author Paolo Dona
*/
public interface TapestryTextFieldTag extends
com.thoughtworks.qdox.model.DocletTag {
/**
* The id of the component
* @qtags.required
*/
String getId();
/**
* The text string to be read and updated.
* @qtags.required
*/
String getValue_();
/**
* If true, then the disabled attribute will be written on render, and the
* TextField will not update its value parameter when the form is submitted.
*/
String getDisabled();
/**
* The name of the field, which may be used by a FieldLabel.
*/
String getDisplayName ();
/**
* If true, then the TextField will render itself as a password field
* (that hides the content entered by the user).
*/
String getHidden();
String getTranslator();
String getValidators();
}
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits