XPage View column link custom Javascript

I have a Xpage that I use to display a view.One of the columns in the XPage I need to set up as a link which when clicked needs to run a custom JavaScript function.I tried to use the instruction found in the link below in this forum.http://www-10.lotus.com/ldd/nd85forum.nsf/5f27803bba85d8e285256bf10054620d/00cf0d2cbdf2fb99852576b6003f7ab3?OpenDocument

I set the Content Type of the column as HTML,unchecked “Show values in this column as links”.Where do I put in the script to call my custom JavaScript function.The link above asked me to look for “Display data using” but I am unable to find it here.The HTML that I built uses the ‘a’ tag to generate the link.

I appreciate your time to answer my question.

Thank you.

Subject: *don’t use a url but use the onclick event to write your code

Subject: I tried it but didn’t work

My question where in the Xpage View column properties should I place the ‘a’ tag with the onclick code??I put it in the events onclick and that didn’t work.

Please help.

Subject: If using a view than just compute the value for the column

Add or modify your view column and edit the value property for the column (under Data). Choose to compute your value. Then call your JS code and compute the needed HTML for that column (the anchor tag).

I was thinking you were using the link control in my first response.

Howard