Luca,
I tried this but I am getting an error message: https://www.screencast.com/t/a0XEM4g2w
this is the code i used:
this.txtURL.Eval(“this.getChildControl(\”txtURL\”).setNativeContextMenu(true)”);
I also tried using single quotes.
this.txtURL.Eval(“this.getChildControl(‘txtURL’).setNativeContextMenu(true)”);
Any suggestions to fix this? The textbox name is txtURL
Mitch
Use “textfield” – that’s the name of the inner editable widget. Wisej (qooxdoo) widgets are usually composed using child widgets, each with a specific name and role. The name is usually “icon”, “label”, “textfield”, “popup”, “list”. These are the id’s used to created the child widgets and refer to them in javascript using getChildWidget(name). When the widget is a child, the name (ID) becomes the child appearance key in the theme: the icon inside a button is “button/icon”, the label “button/label”, etc.
ok… that works.. thanks
This is the line of code that works now (field is called txtURL)
this.txtURL.Eval(“this.getChildControl(‘textfield’).setNativeContextMenu(true)”);