Dear all,
I have a Window object with dynamically added controls. After windows.show() call a want to apply some jquery scripts to loaded controls, but for that i need to know that all the controls are rendered in browser window, so jquery does not fail. How do i accomplish that?
Regards, Egi
Part of the code:
public static Window buildWindow() {
.....
window.show();
window.bringToFront();
// custom JS call through JNSI
final CustomJS customJs = new CustomJS();
customJs.run(params);
return window;
}
// CustomJS class
....
private void run(String params) { runJs(params); }
private native void runJs(String params) /*-{
// some jquery functions
}-*/
....
I have a Window object with dynamically added controls. After windows.show() call a want to apply some jquery scripts to loaded controls, but for that i need to know that all the controls are rendered in browser window, so jquery does not fail. How do i accomplish that?
Regards, Egi
Part of the code:
public static Window buildWindow() {
.....
window.show();
window.bringToFront();
// custom JS call through JNSI
final CustomJS customJs = new CustomJS();
customJs.run(params);
return window;
}
// CustomJS class
....
private void run(String params) { runJs(params); }
private native void runJs(String params) /*-{
// some jquery functions
}-*/
....
Comment