Hi,
SmartClient Version: v9.0p_2013-09-22/PowerEdition Deployment (built 2013-09-22)
GWT version: 2.5.0
We are facing an issue when we are trying to load the child module in the parent using component.xml
What we have done -
1. We have created a SmartClient module (Suppose ChildModule).
2. We are trying to use ChildModule in a parent module by inheriting in *.gwt.xml
Here, we are not able to access screens(ui.xml) defined in ChildModule to the parent module. Or we can say we are not able to load the ChildModule in the parent module.
Here is the code, which we are using in the parent module -
final Canvas layout = new Canvas();
RPCManager.loadScreen("MyRootPanel", new LoadScreenCallback() {
@Override
public void execute() {
layout.addChild(this.getScreen()); // GETTING NULL SCREEN.
}
});
layout.draw();
Here is the code, which is defined in Child module -
Code for MyRootPanel.ui.xml [Kept in WebRoot/Shared/ui]
<isomorphicXML>
<Button title="Click here" width="200" ID="myButton" />
</isomorphicXML>
Please help.
Thanks
SmartClient Version: v9.0p_2013-09-22/PowerEdition Deployment (built 2013-09-22)
GWT version: 2.5.0
We are facing an issue when we are trying to load the child module in the parent using component.xml
What we have done -
1. We have created a SmartClient module (Suppose ChildModule).
2. We are trying to use ChildModule in a parent module by inheriting in *.gwt.xml
Here, we are not able to access screens(ui.xml) defined in ChildModule to the parent module. Or we can say we are not able to load the ChildModule in the parent module.
Here is the code, which we are using in the parent module -
final Canvas layout = new Canvas();
RPCManager.loadScreen("MyRootPanel", new LoadScreenCallback() {
@Override
public void execute() {
layout.addChild(this.getScreen()); // GETTING NULL SCREEN.
}
});
layout.draw();
Here is the code, which is defined in Child module -
Code for MyRootPanel.ui.xml [Kept in WebRoot/Shared/ui]
<isomorphicXML>
<Button title="Click here" width="200" ID="myButton" />
</isomorphicXML>
Please help.
Thanks