You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2005/05/13 17:43:55 UTC

svn commit: r170043 - /incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java

Author: steveh
Date: Fri May 13 08:43:55 2005
New Revision: 170043

URL: http://svn.apache.org/viewcvs?rev=170043&view=rev
Log:
Re-fixing BEEHIVE-645: netui:area tag libraries documentation

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=170043&r1=170042&r2=170043&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 Fri May 13 08:43:55 2005
@@ -11,23 +11,17 @@
 /**
  * @jsptagref.tagdescription
  * Generates a URL-encoded area to a specified URI.
+ * @netui:tag name="area" description="Generates a URL-encoded area to a specified URI."
  * @example In this sample, an area tag is written with the shape, coords, href, and alt attributes,
  * for an image map associated with the "someDefaultPic.jpg" image.
- * <pre>&lt;netui:image src="someDefaultPic.jpg" alt="the default picture" usemap="#defaultMap"/>
- * &lt;map id="defaultMap" name="defaultMap">
- *   &lt;netui:area shape="rect" coords="0,0,80,80" href="bigPicture.jsp" alt="big picture of the image"/>
- * &lt;/map>
- * </pre>
- * @netui:tag name="area" description="Generates a URL-encoded area to a specified URI."
- * @example 
- * The following &lt;netui> tags... 
- * <pre>&lt;netui:image src="someDefaultPic.jsp" alt="a default picture" usemap="#defaultMap"/>
+ * <p>The following &lt;netui> tags...</p> 
+ * <pre>&lt;netui:image src="someDefaultPic.jpg" alt="a default picture" usemap="#defaultMap"/>
  * &lt;map id="defaultMap" name="defaultMap">
  *   &lt;netui:area shape="rect" coords="0,0,80,80" href="bigPicture.jsp" alt="big picture of the image"/>
  * &lt;/map></pre>
  *
- * ...output the following HTML:
- * <pre>&lt;img src="someDefaultPic.jsp" usemap="#defaultMap" alt="a default picture">
+ * <p>...output the following HTML:</p>
+ * <pre>&lt;img src="someDefaultPic.jpg" usemap="#defaultMap" alt="a default picture">
  * &lt;map id="defaultMap" name="defaultMap">
  *   &lt;area href="bigPicture.jsp" shape="rect" alt="big picture of the image" coords="0,0,80,80">
  * &lt;/map></pre>