mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
detail list CSS improvements
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -174,7 +174,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListBefore(javax.faces.context.FacesContext, org.alfresco.web.ui.common.component.data.UIColumn[])
|
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListBefore(javax.faces.context.FacesContext,
|
||||||
|
* org.alfresco.web.ui.common.component.data.UIColumn[])
|
||||||
*/
|
*/
|
||||||
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns)
|
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns)
|
||||||
throws IOException
|
throws IOException
|
||||||
@@ -182,9 +183,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
ResponseWriter out = context.getResponseWriter();
|
ResponseWriter out = context.getResponseWriter();
|
||||||
|
|
||||||
// render column headers as labels
|
// render column headers as labels
|
||||||
out.write("<tr");
|
out.write("<tr>");
|
||||||
outputAttribute(out, richList.getAttributes().get("headerStyleClass"), "class");
|
String headerClass = (String)richList.getAttributes().get("headerStyleClass");
|
||||||
out.write('>');
|
|
||||||
for (int i=0; i<columns.length; i++)
|
for (int i=0; i<columns.length; i++)
|
||||||
{
|
{
|
||||||
UIColumn column = columns[i];
|
UIColumn column = columns[i];
|
||||||
@@ -195,7 +195,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
out.write("<th");
|
out.write("<th");
|
||||||
outputAttribute(out, column.getAttributes().get("width"), "width");
|
outputAttribute(out, column.getAttributes().get("width"), "width");
|
||||||
outputAttribute(out, column.getAttributes().get("style"), "style");
|
outputAttribute(out, column.getAttributes().get("style"), "style");
|
||||||
outputAttribute(out, column.getAttributes().get("styleClass"), "class");
|
String columnClass = (String)column.getAttributes().get("styleClass");
|
||||||
|
outputAttribute(out, columnClass != null ? columnClass : headerClass, "class");
|
||||||
out.write('>');
|
out.write('>');
|
||||||
|
|
||||||
// output the header facet if any
|
// output the header facet if any
|
||||||
@@ -220,7 +221,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListRow(javax.faces.context.FacesContext, org.alfresco.web.ui.common.component.data.UIColumn[], java.lang.Object)
|
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListRow(javax.faces.context.FacesContext,
|
||||||
|
* org.alfresco.web.ui.common.component.data.UIColumn[], java.lang.Object)
|
||||||
*/
|
*/
|
||||||
public void renderListRow(FacesContext context, UIRichList richList, UIColumn[] columns, Object row)
|
public void renderListRow(FacesContext context, UIRichList richList, UIColumn[] columns, Object row)
|
||||||
throws IOException
|
throws IOException
|
||||||
@@ -302,7 +304,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListAfter(javax.faces.context.FacesContext, org.alfresco.web.ui.common.component.data.UIColumn[])
|
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListAfter(javax.faces.context.FacesContext,
|
||||||
|
* org.alfresco.web.ui.common.component.data.UIColumn[])
|
||||||
*/
|
*/
|
||||||
public void renderListAfter(FacesContext context, UIRichList richList, UIColumn[] columns)
|
public void renderListAfter(FacesContext context, UIRichList richList, UIColumn[] columns)
|
||||||
throws IOException
|
throws IOException
|
||||||
@@ -350,7 +353,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListBefore(javax.faces.context.FacesContext, org.alfresco.web.ui.common.component.data.UIColumn[])
|
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListBefore(javax.faces.context.FacesContext,
|
||||||
|
* org.alfresco.web.ui.common.component.data.UIColumn[])
|
||||||
*/
|
*/
|
||||||
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns)
|
public void renderListBefore(FacesContext context, UIRichList richList, UIColumn[] columns)
|
||||||
throws IOException
|
throws IOException
|
||||||
@@ -359,7 +363,8 @@ public class RichListRenderer extends BaseRenderer
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListRow(javax.faces.context.FacesContext, org.alfresco.web.ui.common.component.data.UIColumn[], java.lang.Object)
|
* @see org.alfresco.web.ui.common.renderer.data.IRichListRenderer#renderListRow(javax.faces.context.FacesContext,
|
||||||
|
* org.alfresco.web.ui.common.component.data.UIColumn[], java.lang.Object)
|
||||||
*/
|
*/
|
||||||
public void renderListRow(FacesContext context, UIRichList richList, UIColumn[] columns, Object row) throws IOException
|
public void renderListRow(FacesContext context, UIRichList richList, UIColumn[] columns, Object row) throws IOException
|
||||||
{
|
{
|
||||||
|
@@ -301,15 +301,15 @@ a.headbarLink
|
|||||||
|
|
||||||
.recordSetRowAlt
|
.recordSetRowAlt
|
||||||
{
|
{
|
||||||
background-color: #DEE5EC;
|
background-color: #F5F5F5;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recordSetHeader
|
.recordSetHeader
|
||||||
{
|
{
|
||||||
background-color: #C6D8EB;
|
color: #004488;
|
||||||
color: #1B3557;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
border-bottom: 1px solid #cacfd3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.errorMessage
|
.errorMessage
|
||||||
|
Reference in New Issue
Block a user