Hi ISomorphic
I am facing a problem when i use Component xml in my SmartGWT project.
When I open my page then I face 2 different errors in development mode.
Two errors are :
1.[ERROR] [TEST] - 16:39:52.838:XRP2:WARN:DynamicForm:isc_DynamicForm_1:unable to look up DataSource: Billreport, databinding will not be used
and
2.[ERROR] [TEST] - 16:39:53.054:XRP2:WARN:ValuesManager:isc_ValuesManager_0:addMember(): mismatched DataSources; new member form [DynamicForm ID:isc_DynamicForm_0] has dataSource: 'undefined', valuesManager has DataSource [NONE]
UI and ds.xml path defined in my server.properties.
project.datasources: $webRoot/ds, $webRoot/shared/ds
project.ui: $webRoot/shared/ui
project.apps: $webRoot/shared/app
Dynamic form definition in my ui.xml looks like bellow.
<DynamicForm ID="topform" autoDraw="true" height="40" Width="150" dataSource="Billreport"> <!-- dataSource="Billreport" -->
<items>
<item id="oDateTo" type="date" name="oDateTo" useTextField="true" title="Approved" />
</items>
</DynamicForm>
In my .java file I write
canvas=new Canvas();
valuesmanager=new ValuesManager();
RPCManager.loadScreen("BillReportXML", new LoadScreenCallback() {
@Override
public void execute() {
Button saveButton = (Button) this.getScreen().getByLocalId("printButton");
final DynamicForm saveForm = (DynamicForm) this.getScreen().getByLocalId("topform");
valuesmanager.addMember(saveForm);
canvas.addChild(this.getScreen());
}
});
Also I have attached my ui.xml file and datasource file.
I will request you please go through it.
I am using
SmartClient Version: v10.0p_2015-03-14/PowerEdition Deployment (built 2015-03-14)
GWT-2.7.0
Java 1.8.0_51-b16 (64 bit)
Windows 7
Mozilla 25 or above.
I am new in Component xml. Can you please provide me a link where I can get help.
Am I miss something else when using Component xml?
Please help me to solve above mentioned 2 problems..
I am facing a problem when i use Component xml in my SmartGWT project.
When I open my page then I face 2 different errors in development mode.
Two errors are :
1.[ERROR] [TEST] - 16:39:52.838:XRP2:WARN:DynamicForm:isc_DynamicForm_1:unable to look up DataSource: Billreport, databinding will not be used
and
2.[ERROR] [TEST] - 16:39:53.054:XRP2:WARN:ValuesManager:isc_ValuesManager_0:addMember(): mismatched DataSources; new member form [DynamicForm ID:isc_DynamicForm_0] has dataSource: 'undefined', valuesManager has DataSource [NONE]
UI and ds.xml path defined in my server.properties.
project.datasources: $webRoot/ds, $webRoot/shared/ds
project.ui: $webRoot/shared/ui
project.apps: $webRoot/shared/app
Dynamic form definition in my ui.xml looks like bellow.
<DynamicForm ID="topform" autoDraw="true" height="40" Width="150" dataSource="Billreport"> <!-- dataSource="Billreport" -->
<items>
<item id="oDateTo" type="date" name="oDateTo" useTextField="true" title="Approved" />
</items>
</DynamicForm>
In my .java file I write
canvas=new Canvas();
valuesmanager=new ValuesManager();
RPCManager.loadScreen("BillReportXML", new LoadScreenCallback() {
@Override
public void execute() {
Button saveButton = (Button) this.getScreen().getByLocalId("printButton");
final DynamicForm saveForm = (DynamicForm) this.getScreen().getByLocalId("topform");
valuesmanager.addMember(saveForm);
canvas.addChild(this.getScreen());
}
});
Also I have attached my ui.xml file and datasource file.
I will request you please go through it.
I am using
SmartClient Version: v10.0p_2015-03-14/PowerEdition Deployment (built 2015-03-14)
GWT-2.7.0
Java 1.8.0_51-b16 (64 bit)
Windows 7
Mozilla 25 or above.
I am new in Component xml. Can you please provide me a link where I can get help.
Am I miss something else when using Component xml?
Please help me to solve above mentioned 2 problems..