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 2016/04/14 16:17:07 UTC
svn commit: r1739115 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/FlowLayoutRenderer.java
Author: lofwyr
Date: Thu Apr 14 14:17:07 2016
New Revision: 1739115
URL: http://svn.apache.org/viewvc?rev=1739115&view=rev
Log:
TOBAGO-1543: Paradigm: The clientId shoud be rendered in the local root element in HTML
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/FlowLayoutRenderer.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/FlowLayoutRenderer.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/FlowLayoutRenderer.java?rev=1739115&r1=1739114&r2=1739115&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/FlowLayoutRenderer.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/FlowLayoutRenderer.java Thu Apr 14 14:17:07 2016
@@ -38,6 +38,7 @@ public class FlowLayoutRenderer extends
final TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
final UIFlowLayout layout = (UIFlowLayout) component;
writer.startElement(HtmlElements.DIV);
+ writer.writeIdAttribute(layout.getClientId());
writer.writeClassAttribute(Classes.create(layout), layout.getCustomClass());
writer.writeStyleAttribute(layout.getStyle());
}