Hello,

I would like to format a property of a <collectionItem> tag by calling a
java method
I have tried the following code :

<layout:collection name="myVector" id="myRow" align="left">
    <layout:collectionItem title="libelle.workDuration" sortable="true"
style="text-align: right;"
width="50"><%Util.formatWorkDuration(myRow.getWorkDuration());%></layout:col
lectionItem>
</layout:collection>


where "myRow.getWorkDuration()" returns a number of hours worked like "1600"
and "Util.formatWorkDuration(myRow.getWorkDuration())" format "1600" to "10
months and 2 days"

Obviously this doesn't work as "myRow" is not found by the java compiler..

How can I do this?

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to