You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by me...@apache.org on 2009/05/25 05:16:38 UTC
svn commit: r778268 -
/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
Author: medgar
Date: Mon May 25 03:16:37 2009
New Revision: 778268
URL: http://svn.apache.org/viewvc?rev=778268&view=rev
Log:
format updates
Modified:
incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=778268&r1=778267&r2=778268&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Mon May 25 03:16:37 2009
@@ -745,7 +745,7 @@
/**
* Render an anchor tag HTML representation of the Menu. If the menu item
- * is selected the anchor tag will be rendered with class="selected"
+ * is selected the anchor tag will be rendered with class="selected"
* attribute.
*
* @see #toString()
@@ -776,9 +776,9 @@
if (getTitle() != null && getTitle().length() > 0) {
buffer.appendAttributeEscaped("title", getTitle());
}
-
+
if (isSelected()) {
- buffer.appendAttribute("class", "selected");
+ buffer.appendAttribute("class", "selected");
}
buffer.closeTag();
@@ -818,8 +818,8 @@
/**
* Return an HTML anchor tag representation of the menu item. If the menu is
- * a separator this method will return a HR tag <hr/>. If the menu
- * item is selected the anchor tag will be rendered with class="selected"
+ * a separator this method will return a HR tag <hr/>. If the menu
+ * item is selected the anchor tag will be rendered with class="selected"
* attribute.
* <p/>
* Note for more fine grained rendering control you should use a Velocity