xPages: Column icons in view control

Hi, (again :frowning: )

this one should be really simple, but i have already spent two hours of searching and trying without and progress.

I have a view-control and one column should display its values as icons. Just like the notes-view does. The column really exists in the “source-view”.

In the column-display-properties i have checked to display as “Icon”. Now i need to compute the “picture” for this icon based on each documents value. The picture should be “/view_attachment.gif” and it exists as a data ressource.

My data source name is “CurrView”.

(Actually what the icon should display is if the document has attachments or not. The view-column formula is “@If(@Attachments>0;“view_attachment.gif”;”“)”

What is the syntax for a computed column icon in the xPage-view-control ?

Thank you for your help.

Lars

Subject: Designer Wiki should help…

See here:http://www-10.lotus.com/ldd/ddwiki.nsf/dx/02042009032445PMWEBRXJ.htm

Subject: This is a nightmare…

  • I can’t count leading zeros! It’s phenomenally frustrating…