Author: steveh
Date: Thu May 12 14:54:20 2005
New Revision: 169892
URL: http://svn.apache.org/viewcvs?rev=169892&view=rev
Log:
Fix for BEEHIVE-645: netui:area tag libraries documentation
Added example code.
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java
Modified:
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java?rev=169892&r1=169891&r2=169892&view=diff
==============================================================================
---
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java
(original)
+++
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java
Thu May 12 14:54:20 2005
@@ -19,6 +19,18 @@
* </map>
* </pre>
* @netui:tag name="area" description="Generates a URL-encoded area to a
specified URI."
+ * @example
+ * The following <netui> tags...
+ * <pre><netui:image src="someDefaultPic.jsp" alt="a default picture"
usemap="#defaultMap"/>
+ * <map id="defaultMap" name="defaultMap">
+ * <netui:area shape="rect" coords="0,0,80,80" href="bigPicture.jsp"
alt="big picture of the image"/>
+ * </map></pre>
+ *
+ * ...output the following HTML:
+ * <pre><img src="someDefaultPic.jsp" usemap="#defaultMap" alt="a default
picture">
+ * <map id="defaultMap" name="defaultMap">
+ * <area href="bigPicture.jsp" shape="rect" alt="big picture of the
image" coords="0,0,80,80">
+ * </map></pre>
* @see Attribute
* @see java.lang.String
*/