Author: xlawrence
Date: Wed Aug 2 15:46:37 2006
New Revision: 14829
URL: https://svndev.jahia.net/websvn/listing.php?sc=1&rev=14829&repname=jahia
Log:
cleanup javadoc
Modified:
trunk/core/src/java/org/jahia/taglibs/declarations/DeclareFieldTag.java
Modified:
trunk/core/src/java/org/jahia/taglibs/declarations/DeclareFieldTag.java
URL:
https://svndev.jahia.net/websvn/diff.php?path=/trunk/core/src/java/org/jahia/taglibs/declarations/DeclareFieldTag.java&rev=14829&repname=jahia
==============================================================================
--- trunk/core/src/java/org/jahia/taglibs/declarations/DeclareFieldTag.java
(original)
+++ trunk/core/src/java/org/jahia/taglibs/declarations/DeclareFieldTag.java Wed
Aug 2 15:46:37 2006
@@ -16,21 +16,18 @@
* limitations under the License.
*/package org.jahia.taglibs.declarations;
-import java.util.HashMap;
-import java.util.Hashtable;
-import java.util.Map;
-
-import javax.servlet.ServletRequest;
-import javax.servlet.jsp.JspException;
-import javax.servlet.jsp.JspTagException;
-import javax.servlet.jsp.tagext.BodyTagSupport;
-
import org.jahia.data.JahiaData;
import org.jahia.data.fields.FieldTypes;
import org.jahia.exceptions.JahiaException;
import org.jahia.resourcebundle.ResourceBundleMarker;
import org.jahia.utils.JahiaTools;
+import javax.servlet.ServletRequest;
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.JspTagException;
+import javax.servlet.jsp.tagext.BodyTagSupport;
+import java.util.Hashtable;
+
/**
* <p>Title: declareField</p>
* <p>Description: Declares a field</p>
@@ -38,10 +35,10 @@
* <p>Company: Jahia</p>
* @author Serge Huber
* @version 1.0
- * @todo FIXME add javadoc
- * @todo implement resource bundle marker support
+ * todo FIXME add javadoc
+ * todo implement resource bundle marker support
*
- * @jsp:tag name="declareField" body-content="empty"
+ * jsp:tag name="declareField" body-content="empty"
* description="Declares a field.
* <p>A field, or 'Jahia Field', is Jahia's most basic storage element and
allows users of the CMS (content management system)
* to structure their data. Fields may be of a variety of types; examples of
which are : Limited text, Unlimited text,
@@ -76,14 +73,14 @@
private String aliasNames = "";
/**
- * @jsp:attribute name="id" required="false" rtexprvalue="true"
+ * jsp:attribute name="id" required="false" rtexprvalue="true"
* description="id attribute for this tag.
* <p><attriInfo>Inherited from
javax.servlet.jsp.tagext.TagSupport</attriInfo>"
*/
/**
- * @jsp:attribute name="name" required="true" rtexprvalue="true"
+ * jsp:attribute name="name" required="true" rtexprvalue="true"
* description="the name for the field.
* <p><attriInfo>It is an identifier that must be unique within the
current parent object (page or container), and usually it's
* a good idea to make it unique within the set of templates especially if
you plan to reuse content later on between several
@@ -95,7 +92,7 @@
}
/**
- * @jsp:attribute name="title" required="false" rtexprvalue="true"
+ * jsp:attribute name="title" required="false" rtexprvalue="true"
* description="the display name for the field.
* <p><attriInfo>It will be displayed in the update container window.
Unlike the name,
* it should be as end-user friendly as possible, since it will be
displayed in the browser. It is also possible to make the
@@ -106,7 +103,7 @@
}
/**
- * @jsp:attribute name="type" required="true" rtexprvalue="true"
+ * jsp:attribute name="type" required="true" rtexprvalue="true"
* description="the field type.
* <p><attriInfo> The possible values for the field type are :
'Application', 'BigText', 'Boolean',
* 'Color', 'Date', 'File', 'Float', 'Integer�, 'Page',
'SharedSmallText', 'SmallText' and 'Undefined'. Note that these type
@@ -121,7 +118,7 @@
}
/**
- * @jsp:attribute name="titleKey" required="false" rtexprvalue="true"
+ * jsp:attribute name="titleKey" required="false" rtexprvalue="true"
* description="the field's key in the resource bundle. This is the
internationalized version of the 'title' attribute.
* <p><attriInfo>This key uniquely identifies the locale-specific field
title in the associated 'BundleKey' bundle appropriate
* for the current user's locale.
@@ -138,7 +135,7 @@
}
/**
- * @jsp:attribute name="bundleKey" required="false" rtexprvalue="true"
+ * jsp:attribute name="bundleKey" required="false" rtexprvalue="true"
* description="the identifier of the resource bundle where titleKey's
value is looked up.
* <p><attriInfo>Resource bundles contain key/value pairs for specific
locales and are used for internalization.
* Go <a
href=http://java.sun.com/j2se/1.4.2/docs/api/java/util/ResourceBundle.html>here</a>
for more details.
@@ -166,7 +163,7 @@
}
/**
- * @jsp:attribute name="value" required="false" rtexprvalue="true"
+ * jsp:attribute name="value" required="false" rtexprvalue="true"
* description="the field's default value.
* <p><attriInfo>This is the default value that is displayed if no value
is defined for it in the database.
* </attriInfo>"
@@ -177,7 +174,7 @@
}
/**
- * @jsp:attribute name="valueKey" required="false" rtexprvalue="true"
+ * jsp:attribute name="valueKey" required="false" rtexprvalue="true"
* description="the field's default-value key in the resource bundle. This
is the internationalized version of the 'value' attribute.
* <p><attriInfo>This is the internationalized default value that is
displayed if no value is defined for it in the database.
* Note that if valueKey's value cannot be found, the value in the 'value'
attribute (if defined) is used instead. If