You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ms...@locus.apache.org on 2000/12/12 20:08:41 UTC
cvs commit: jakarta-struts/src/doc struts-form.xml
mschachter 00/12/12 11:08:41
Modified: src/doc struts-form.xml
Log:
- Updated struts-form.xml to allow for new form:image tag
Submitted By: Oleg V. Alexeev
Revision Changes Path
1.16 +162 -0 jakarta-struts/src/doc/struts-form.xml
Index: struts-form.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/src/doc/struts-form.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- struts-form.xml 2000/12/08 02:42:29 1.15
+++ struts-form.xml 2000/12/12 19:08:41 1.16
@@ -1173,6 +1173,168 @@
</tag>
+ <tag>
+ <name>image</name>
+ <summary>
+ Renders an input of type "image"
+ </summary>
+ <tagclass>org.apache.struts.taglib.form.ImageTag</tagclass>
+ <info>
+ This tag renders an input of type "image". Use the "src" attribute
+ in conjunction with a non-null "isKey" attribute to retrieve a
+ property value from a resource bundle. Use the "path"
+ attribute to specify a direct path to the image. See info on
+ the "property" attribute if you would like to obtain the coordinates
+ of the mouse click submitted with the request.
+ </info>
+ <attribute>
+ <name>locale</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ The locale to use to retrieve the key specified by "src".
+ </info>
+ </attribute>
+ <attribute>
+ <name>bundle</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ The servlet context attribute key for the MessageResources
+ instance to use.
+ </info>
+ </attribute>
+ <attribute>
+ <name>accessKey</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onBlur</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onChange</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onClick</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onDblClick</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onFocus</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onKeyDown</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onKeyPress</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onKeyUp</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onMouseDown</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onMouseMove</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onMouseOut</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onMouseOver</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onMouseUp</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>property</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ The name of this image tag. The parameter names for the request
+ will appear as "property.x" and "property.y", the x and y
+ representing the coordinates of the mouse click for the image.
+ A way of retrieving these values through a form bean is to
+ define getX(), getY(), setX(), and setY() methods, and specify
+ your propery as a blank string (property="").
+ </info>
+ </attribute>
+ <attribute>
+ <name>src</name>
+ <required>true</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ The "src" attribute of the input tag, or if "isKey" is not null,
+ the key of the bundle value to use for this attribute.
+ </info>
+ </attribute>
+ <attribute>
+ <name>style</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>styleClass</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>tabIndex</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>value</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>path</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ The path of image for image button.
+ </info>
+ </attribute>
+ <attribute>
+ <name>isKey</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <info>
+ Whether or not the "src" attribute represents a ResourceBundle key.
+ </info>
+ </attribute>
+ </tag>
+
+
<tag>