Welcome to the IBM Collaboration Solutions Community IQJam
UsernamePassword
Reset Password | Register
   
Home | Tags | Help
From CSJS refresh a panel dijit.TooltipDialog 

I would develop a action button in all my View like facebook....

You can see the example in this link

When you click on the "gear" image you see a dijit.TooltipDialog connected to my Panel Xpages

I would change the content of my panel if I click on document with a FORMA or FORMB ..etc...

so that I have created in the last column SSJS code that call a  CSJS function :
 

function OpenDialogToolTip(obj, unid, targetPanel, form)

Now I need in the JS Client to refresh my panel dinamically and I use this:

function OpenDialogToolTip(obj, unid,idpanel,formname){
    XSP.partialRefreshGet(idpanel, {
                  params: {
                'IdDoc': unid,
                'FormName':formname
                  },onComplete: function () {
                      dijit.popup.open({
                          popup: dijit.byId(idpanel),
                          around: dojo.byId(obj)
                      });
                      var dlg=dijit.byId(idpanel);
                      dlg.focus();
     
                 }
            });
   
}

 

But I have problem after the first click for rendering the dijit.TooltipDialog....because the dijit component is Damaged!

The solution is to capture the response of Ajax call partialRefreshGet and write the response with the native dijit function of dijit.TooltipDialog setContent() but I don't know how

 

Can someone help me with suggestion?

Domino Development / XPages
daniele grillo - about 1 year ago |  |  | Viewed 301 times

There is 1 answer

0votes

Resolved:

The really problem is the target node of dijit widjet.

Now work weel!

daniele grillo - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community

Latest Answers for Domino Development / XPages 

How to call LS agent in xpage
Vijay Kumar - 6 months ago
Multi-values in an xPage view panel column
Judy Kilpinen - 8 months ago
From CSJS refresh a panel dijit.TooltipDialog
daniele grillo - about 1 year ago
How to get value from Repeater Control.
Atul Saxena - about 1 year ago
doing a partial update "beforepageload"
jeroen somhorst - about 1 year ago
How to get value from Repeater Control.
jeroen somhorst - about 1 year ago
How to get value from Repeater Control.
Mervin Thomas - about 1 year ago
Where Would I Delete My Cookie?
Lenni Sauve - over 2 years ago
Query_String value empty with agent URL from xpage
Andy Cunliffe - over 2 years ago
textfield formatting
Ben Poole - over 2 years ago
File Upload/File Download using Managed Beans
Toby Samples - over 2 years ago
File Upload/File Download using Managed Beans
Andy Cunliffe - over 2 years ago

Experts for Domino Development / XPages

There are no experts to display