mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Updated MyFaces source code, fixed warning from HtmlRenderer and fixed selector issues in portal
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -203,7 +203,10 @@ public class RichListRenderer extends BaseRenderer
|
||||
if (header != null)
|
||||
{
|
||||
header.encodeBegin(context);
|
||||
header.encodeChildren(context);
|
||||
if (header.getRendersChildren())
|
||||
{
|
||||
header.encodeChildren(context);
|
||||
}
|
||||
header.encodeEnd(context);
|
||||
}
|
||||
|
||||
@@ -266,7 +269,10 @@ public class RichListRenderer extends BaseRenderer
|
||||
if (smallIcon != null)
|
||||
{
|
||||
smallIcon.encodeBegin(context);
|
||||
smallIcon.encodeChildren(context);
|
||||
if (smallIcon.getRendersChildren())
|
||||
{
|
||||
smallIcon.encodeChildren(context);
|
||||
}
|
||||
smallIcon.encodeEnd(context);
|
||||
out.write(" ");
|
||||
}
|
||||
@@ -349,7 +355,7 @@ public class RichListRenderer extends BaseRenderer
|
||||
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns)
|
||||
throws IOException
|
||||
{
|
||||
ResponseWriter out = context.getResponseWriter();
|
||||
// ResponseWriter out = context.getResponseWriter();
|
||||
|
||||
// render column headers as labels
|
||||
// TODO: add "showHeaders" to RichList to allow hiding of header facets for some view modes
|
||||
@@ -446,7 +452,10 @@ public class RichListRenderer extends BaseRenderer
|
||||
if (icon != null)
|
||||
{
|
||||
icon.encodeBegin(context);
|
||||
icon.encodeChildren(context);
|
||||
if (icon.getRendersChildren())
|
||||
{
|
||||
icon.encodeChildren(context);
|
||||
}
|
||||
icon.encodeEnd(context);
|
||||
}
|
||||
out.write("</td>");
|
||||
@@ -646,7 +655,10 @@ public class RichListRenderer extends BaseRenderer
|
||||
if (largeIcon != null)
|
||||
{
|
||||
largeIcon.encodeBegin(context);
|
||||
largeIcon.encodeChildren(context);
|
||||
if (largeIcon.getRendersChildren())
|
||||
{
|
||||
largeIcon.encodeChildren(context);
|
||||
}
|
||||
largeIcon.encodeEnd(context);
|
||||
}
|
||||
out.write("</td>");
|
||||
|
Reference in New Issue
Block a user