Hi All,
I have a tabbed screen. Left side of the screen is menu and right side is dynamic content. I want to change right side with RPCManager.LoadScreen("myscreen", callback, globals);
The problem is RPCManager.LoadScreen always overrides everything. And i can only see loaded screen (i can see other components backside and not accessible..)
some usefull infos..
1. using version Smart GWT 3.1 Enterprise Edition
2. browser Chrome,ie ...
3.sample ui xml;
<DynamicForm ID="DynamicForm0" autoDraw="false">
<fields>
<FormItem name="TextItem0" constructor="TextItem"/>
<FormItem name="ButtonItem0" constructor="ButtonItem"/>
</fields>
</DynamicForm>
<DataView ID="DataView0" width="100%" height="100%" overflow="hidden" autoDraw="true">
<members><Canvas ref="DynamicForm0"/>
</members>
</DataView>
4.sample code to get and load screen
RPCManager.loadScreen("myscreen", new LoadScreenCallback() {
@Override
public void execute() {
DynamicForm v0 = (DynamicForm) Canvas.getById("DynamicForm0");
Tab tab = new Tab();
tab.setID("myscreen_tab");
tab.setTitle("myscreen");
tab.setPane(v0);
tab.setCanClose(true);
getMainTabSet().addTab(tab);
getMainTabSet().selectTab(tab);
}
});
thanks for any help..
I have a tabbed screen. Left side of the screen is menu and right side is dynamic content. I want to change right side with RPCManager.LoadScreen("myscreen", callback, globals);
The problem is RPCManager.LoadScreen always overrides everything. And i can only see loaded screen (i can see other components backside and not accessible..)
some usefull infos..
1. using version Smart GWT 3.1 Enterprise Edition
2. browser Chrome,ie ...
3.sample ui xml;
<DynamicForm ID="DynamicForm0" autoDraw="false">
<fields>
<FormItem name="TextItem0" constructor="TextItem"/>
<FormItem name="ButtonItem0" constructor="ButtonItem"/>
</fields>
</DynamicForm>
<DataView ID="DataView0" width="100%" height="100%" overflow="hidden" autoDraw="true">
<members><Canvas ref="DynamicForm0"/>
</members>
</DataView>
4.sample code to get and load screen
RPCManager.loadScreen("myscreen", new LoadScreenCallback() {
@Override
public void execute() {
DynamicForm v0 = (DynamicForm) Canvas.getById("DynamicForm0");
Tab tab = new Tab();
tab.setID("myscreen_tab");
tab.setTitle("myscreen");
tab.setPane(v0);
tab.setCanClose(true);
getMainTabSet().addTab(tab);
getMainTabSet().selectTab(tab);
}
});
thanks for any help..
Comment