AnsweredAssumed Answered

Displaying Data Type instead of Size in 'Content items&

Question asked by alexeyg on Sep 25, 2006
Latest reply on Sep 26, 2006 by gavinc
This is a followup to an issue posted earlier, where a user attempted to add a field to display (http://forums.alfresco.com/viewtopic.php?t=2665&highlight=)

I am attempting to display the <title> of content type in the regular Alfresco view instead of Description.

I am editing browse.jsp,
<%– Details - Content –%> -> <%– Content list –%> section.

The Description element is defined around line 403:

<a:column id="col13" style="text-align:left">
<f:facet name="header">
<a:sortLink id="col13-sort" label="#{msg.description}" value="description" styleClass="header"/>
</f:facet>
<h:outputText id="col13-txt" value="#{r.description}" />
</a:column>

I tried modifying value="#{r.description}" of the:
<h:outputText id="col13-txt" value="#{r.description}" /> tag.

It successfully prints things like name, title, size, etc. for r.name, r.title, r.size - but "r.type" does not produce the type name.  Is there a way to display it there (like it does in the Create Content -> Type dropdown?

thank you.

Outcomes