Hello,
I tried the component xml feature and defined a small test form like this:
I could load it with RPCManager.loadScreen(...) but how the fields can have the value of a record in datasource? Coding in Java its easy, just add datasource to form and fetch the record, maybe with a valuesmanager. But how can I do this if the form is a *.ui.xml component? My form is always empty o_o
If the field "kennung" is defined in a *.ds.xml file I only need to define a TextItem kennung = new TextItem("kennung") to get an object specified in the ds.xml with type and title, Does this work also in *.ui.xml file?
Thx
Hans
I tried the component xml feature and defined a small test form like this:
Code:
<DynamicForm ID="inhaltForm" dataSource="contact" autoDraw="false" width="400" numCols="4" colWidths="100,100,100,100" errorOrientation="bottom"> <fields> <TextItem name="kennung" type="text" title="Kurzname" /> </fields> </DynamicForm>
If the field "kennung" is defined in a *.ds.xml file I only need to define a TextItem kennung = new TextItem("kennung") to get an object specified in the ds.xml with type and title, Does this work also in *.ui.xml file?
Thx
Hans
Comment