AnsweredAssumed Answered

Custom Property Access in richList

Question asked by howejr77 on Sep 8, 2008
Latest reply on Sep 8, 2008 by howejr77
Hello,

I'm trying to customize the browse-sandbox.jsp page so that when it displays the list of files in a folder, I'd like to add a column which will display a "sort-priority" property we have added to the content via attaching an aspect.

The following is an example of the size column that gets printed out:

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

Is there some simple way to change the value parameter of the <h:outputText> tag to print out my property instead? If I change it to value="#{r}" it prints out the whole node and I can see that my property is on the node but I can't find the syntax to print out the property itself.

Would really appreciate any help.

Thanks
Ryan

Outcomes