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 2015/06/03 09:46:24 UTC
svn commit: r1683244 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
Author: lofwyr
Date: Wed Jun 3 07:46:24 2015
New Revision: 1683244
URL: http://svn.apache.org/r1683244
Log:
checkstyle
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.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/util/HtmlRendererUtils.java?rev=1683244&r1=1683243&r2=1683244&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java Wed Jun 3 07:46:24 2015
@@ -130,7 +130,8 @@ public final class HtmlRendererUtils {
return title;
}
- public static void renderSelectItems(final UIInput component, final Iterable<SelectItem> items, final Object[] values,
+ public static void renderSelectItems(
+ final UIInput component, final Iterable<SelectItem> items, final Object[] values,
final TobagoResponseWriter writer, final FacesContext facesContext) throws IOException {
renderSelectItems(component, items, values, null, writer, facesContext);
}
@@ -201,8 +202,9 @@ public final class HtmlRendererUtils {
}
}
- public static void renderCommandFacet(final UIComponent component, final FacesContext facesContext,
- final TobagoResponseWriter writer) throws IOException {
+ public static void renderCommandFacet(
+ final UIComponent component, final FacesContext facesContext, final TobagoResponseWriter writer)
+ throws IOException {
renderCommandFacet(component, component.getClientId(facesContext), facesContext, writer);
}
@@ -231,8 +233,8 @@ public final class HtmlRendererUtils {
}
}
- public static boolean renderSheetCommands(final UISheet sheet, final FacesContext facesContext,
- final TobagoResponseWriter writer) throws IOException {
+ public static boolean renderSheetCommands(
+ final UISheet sheet, final FacesContext facesContext, final TobagoResponseWriter writer) throws IOException {
CommandMap commandMap = null;
for (final UIComponent child : sheet.getChildren()) {
if (child instanceof UIColumnEvent) {
@@ -262,7 +264,7 @@ public final class HtmlRendererUtils {
final UIComponent contextMenu = FacetUtils.getContextMenu(parent);
if (contextMenu != null) {
writer.startElement(HtmlElements.OL, contextMenu);
- writer. writeClassAttribute("tobago-menuBar tobago-menu-contextMenu");
+ writer.writeClassAttribute("tobago-menuBar tobago-menu-contextMenu");
RenderUtils.encode(facesContext, contextMenu);
writer.endElement(HtmlElements.OL);
}