AnsweredAssumed Answered

access widget value

Question asked by alfdeveloper1 on Apr 24, 2013
Latest reply on Apr 26, 2013 by alfdeveloper1
how do i access my custom widget value?
I have extended Alfresco.ConsolePanelHandler where I have put a widget as follows in the onLoad() function:

parent.widgets.createButton = Alfresco.util.createYUIButton(parent, "test-button1", parent.onTestClick1);
parent.widget.nameP = Dom.get(parent.id+"-test-text1");

In the onTestClick function i want to access the nameP widget's value and display it using

Alfresco.util.PopupManager.displayMessage({
                text: this.msg(?????)
            });


HOW DO I DO IT?

thank you in advance!!

Outcomes