This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 26, 2011, 5:32 AM
2 Posts

XPage View

  • Category: Forum design
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 0
 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

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal