• Open a Dialog from Tooltip?

    By Rami Muurimäki 1 decade ago

    Is it possible to open a dialog from Tooltip controller?

    In my use case I have a tooltip which shows some additional info of the field/ form. I would like to add an "edit" link/button inside the tooltip so that user is able to edit the text shown in the tooltip.

    I tried to add some additional fields inside the tooltip and show them if the edit button was clicked, but it didn't work. Other solution is that the edit button closes the tooltip and opens a new dialog to user.

    • tooltipDialog

      By Thomas Adrian 1 decade ago

      have you tried tooltipDialog?

      • tooltipDialog

        By Rami Muurimäki 1 decade ago

        Yes, but shortly. i don't see what is the difference between TooltipDialog and "normal" dialog?

        So far best solution that I came up with is to use both Tooltip and dialog controls. Tooltip is used to show the info text to user when user hovers the link. On click I'm opening a separate dialog to user. How ever the ideal solution would be that I could show the "edit" linki/button in the Tooltip control and that would open the dialog.

      • That was the trick

        By Rami Muurimäki 1 decade ago

        TooltipDialog did the magic.

        My bad, I was using it in a wrong way. With a help of following blog article I got it working

        http://lotusnotus.com/lotusnotus_en.nsf/dx/mini-patterns-for-xpages-parameter-editing-with-dialogs-1.htm