You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/04/23 16:23:05 UTC

svn commit: r1589427 - /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java

Author: lofwyr
Date: Wed Apr 23 14:23:05 2014
New Revision: 1589427

URL: http://svn.apache.org/r1589427
Log:
TOBAGO-1192 cleanup

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java?rev=1589427&r1=1589426&r2=1589427&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/LinkRenderer.java Wed Apr 23 14:23:05 2014
@@ -55,8 +55,6 @@ public class LinkRenderer extends Comman
     final AbstractUILink link = (AbstractUILink) component;
     final String clientId = link.getClientId(facesContext);
     final boolean disabled = link.isDisabled();
-// final CommandRendererHelper helper = new CommandRendererHelper(facesContext, link, CommandRendererHelper.Tag.ANCHOR);
-// final String href = helper.getHref();
 
     final TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
 
@@ -66,7 +64,6 @@ public class LinkRenderer extends Comman
       writer.startElement(HtmlElements.SPAN, link);
     } else {
       writer.startElement(HtmlElements.A, link);
-//      writer.writeAttribute(HtmlAttributes.HREF, href, true); XXX
 
       final CommandMap map = new CommandMap(new Command(facesContext, link));
       writer.writeAttribute(DataAttributes.COMMANDS, JsonUtils.encode(map), true);