Author: thomas.heute(a)jboss.com
Date: 2007-08-16 07:27:51 -0400 (Thu, 16 Aug 2007)
New Revision: 7946
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml
Log:
JBPORTAL-1540: Add description column to portlet lists
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml 2007-08-16
11:23:40 UTC (rev 7945)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml 2007-08-16
11:27:51 UTC (rev 7946)
@@ -25,8 +25,8 @@
<table width="100%">
<thead class="portlet-section-header">
<tr>
- <th>Id</th>
<th>Name</th>
+ <th>Description</th>
<th>Remote</th>
<th>Remotable</th>
<th>Actions</th>
@@ -38,13 +38,15 @@
class="#{portlet.context.id ==
portletmgr.selectedPortlet.context.id ? 'portlet-section-selected' : (status.index
% 2 == 0 ? 'portlet-section-body' :
'portlet-section-alternate')}">
<td>
<h:commandLink
- action="#{portletmgr.selectPortlet}">
+ action="#{portletmgr.selectPortlet}"
+ title="#{portlet.context.id}">
<f:param name="id"
value="#{portlet.context.id}"/>
<f:param name="plugin"
value="manager"/>
- #{portlet.context.id}
+ <h:outputText rendered="#{not empty
portlet.name.value}">#{portlet.name.value}</h:outputText>
+ <h:outputText title="#{portlet.context.id}"
rendered="#{empty
portlet.name.value}">#{portlet.context.id}</h:outputText>
</h:commandLink>
</td>
- <td>#{portlet.name.value}</td>
+ <td>#{portlet.description.value}</td>
<td><h:selectBooleanCheckbox disabled="true"
value="#{portlet.remote}"/></td>
<td><h:selectBooleanCheckbox disabled="true"
value="#{portlet.remotable}"/></td>
<td>
Show replies by date