Hi Bryan
I got your response just after I resent this! I managed to get it working using your advice. What I was missing was the magic provided by the "this" object. Pretty basic error!
To get it to work I used a parameterized version of collection.
In the definition for index-page in application.dryml I used:
<collection param/>
Then I created an index.dryml in the view for my controller:
<index-page>
<collection: replace>
<div>
<table-plus fields= "status, created_date, updated_date" >
<controls:>
<% if this.capture_path =~ /File not available/ %>
No file
<% else %>
<a href="#{this.file_path}" >Download file</a>
<% end %>
</controls:>
</table-plus>
</div>
</collection:>
</index-page>
The key to getting all this to work was remembering the "this" object!
I hope this helps someone else with a similar problem.
Thanks Bryan for the push in the right direction.
Cheers,
Patrick