Author: thomas.heute(a)jboss.com
Date: 2007-08-16 07:23:40 -0400 (Thu, 16 Aug 2007)
New Revision: 7945
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml
Log:
Made the portlet listing less scary
JBPORTAL-1540: Add description column to portlet lists
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml 2007-08-16
09:45:01 UTC (rev 7944)
+++
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portlets.xhtml 2007-08-16
11:23:40 UTC (rev 7945)
@@ -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>