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 2013/04/10 17:36:16 UTC
svn commit: r1466521 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java
Author: lofwyr
Date: Wed Apr 10 15:36:16 2013
New Revision: 1466521
URL: http://svn.apache.org/r1466521
Log:
TOBAGO-1192: buttons and links rendering without javascript fragments
- also for ToolBarRenderer
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java?rev=1466521&r1=1466520&r2=1466521&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ToolBarRendererBase.java Wed Apr 10 15:36:16 2013
@@ -392,8 +392,6 @@ public abstract class ToolBarRendererBas
if (!toolBar.isTransient()) {
writer.writeIdAttribute(command.getClientId(facesContext));
}
-// writer.writeAttribute(HtmlAttributes.ONCLICK, commandClick != null ? commandClick : menuClick, true);
- writer.writeAttribute(HtmlAttributes.ONCLICK, "/* dropped */", true);
if (map != null) {
writer.writeAttribute(DataAttributes.COMMANDS, JsonUtils.encode(map), true);
}
@@ -434,8 +432,6 @@ public abstract class ToolBarRendererBas
writer.writeStyleAttribute(menuStyle);
// todo: span has not type: use data-tobago-type here (TOBAGO-1004)
writer.writeAttribute(HtmlAttributes.TYPE, HtmlInputTypes.BUTTON, false);
-// writer.writeAttribute(HtmlAttributes.ONCLICK, menuClick, true);
- writer.writeAttribute(HtmlAttributes.ONCLICK, "/* dropped */", true);
}
// render sub menu popup button