Hello,
I am facing one problem regarding XPage view.
I have a notes view. I use that view in XPage as xpage view.
One of them column data I used below SSJS code.
var
_row:NotesXspViewEntry = rowData;
"<img id='"+_row.getUniversalID()+"'
src='edit_icon.gif' style='cursor:hand' alt='Edit'>"
For the same column onClick event I write below client side
javascript code
tmpdocid='#{javascript:var
_row:NotesXspViewEntry = rowData;_row.getUniversalID()';
alert(tmpdocid);
After doing all, when I click on that image on different
record I am facing same value in alert message twice. The value is A0D54735CC8EF1CE65257934004BDABE.
But this is not for all records. Some of the records.
I take html source and found same name functions twice with
different document id as below
function
view__id1__id4_callback1_viewPanel4_16_viewColumn32__id145_clientSide_onclick(thisEvent)
{
tmpdocid=’A9A19516407F78A565257934004BAFF8';
alert(tmpdocid);
}
function
view__id1__id4_callback1_viewPanel4_16_viewColumn32__id145_clientSide_onclick(thisEvent)
{
tmpdocid=’A0D54735CC8EF1CE65257934004BDABE';
alert(tmpdocid);
}
Any one has any idea why this is happening. Is there any
solution.
Please let me know.
Thanks in advance.
Sandip