you can solve this problem by checking the checkbox (which is hopefully in the data row) with dojo. Then you can show your dialog and if you have a table in your dialog you could put an event on this table (onmouseover), which gets the data you want to show by executing a server side js, which can use the noteid now.
If you do that you have to set a flag because if you’re not doing that, the table refreshs every time (onmouseover-event).
And yes, i know that this is a pretty dirty solution but it works
In this solution the user must first click on the checkbox and then click on the link? did i understand this right?
The workaround you suggested is not fine for me because I want to open different Dialogs in several columns, every column should open a different popup…
It could be interesting if the checkbox will get checked automatically from the click event in the columns! This will result transparent to the end user!
We did exactly as you are trying to open a dijit dialog by clicking on an icon in the view column from viewpanel. The dialog is displaying document in an xpage perfectly. However, all buttons are idle and no action fire. Here is the code below. By the way, are buttons in your dialog working? If so, please let us know how they works. Big thanks.
dojo.require(“dijit.form.Button”);
dojo.addOnLoad(function(){
//first check if it’s there so we don’t create a duplicate
var dialog = dijit.byId(“fieldProfileDialogId”);
if (dialog) { dialog.destroyRecursive(); }
var url = “xpFormFieldProfile.xsp” + “?documentId=” + “#{javascript:rowFieldProfile.getUniversalID()}” + “&action=editDocument”;
Subject: i tried with session variable: no working
I’ve already tried to put the column value in a sessionScope Variable,but seems as when the popup’s open that variable change its value to the last value of the datacollection…