I’m using a view control on my xpage and need to display one column of the view with indents. This is what I have for my view column formula:
…
spaces:="  ";
“[”+@Repeat(spaces;indent)+Name+“]”
where indent is a computed number and Name is a fieldname.
I set my column in my xpage view control to “Display column values” in HTML, but all I get is the string just as computed in the view. What am I missing?
I don’t actually use View Controls … too restrictive … but I continually have to put escape=“true” in places I wouldn’t expect to, like script blocks. So I tossed that out. JP has actually done this, so that suggestion will bear fruit much quicker…
Since I couldn’t use the ‘link’ checkbox, I added an onclick event for the view column and then opened the doc page by using a simple action and this formula to get the doc unid: