Have a tricky question I'd like to ask. We're currently using Smart GWT version 2.03 and we're using DataSources generated from XML Schemas to create a dynamic front-end. The front-end created this way was good for the last 8 months, but now we want it to do more. We want to however continue using our XML Schemas and don't want to use ds.xml. Our plan then is to use the special xml <appinfo> fields to pass in our own custom instructions that we would parse ourselves and then use to modify the DataSource, such as change a text field into a text area field.
Here comes the problem. We currently loading our xml schema into a DataSource using the Smart GWT SchemaSet object. So we are automatically given a DataSource from our schema. Now if we were to embed some <appinfo> tags into our schema, would there be anyway to query this data while it is in DataSource form or is all this information lost when it's converted from the Schema to the DataSource form?
If the data is lost in the conversion then can anyone give a quick example on how we can load the schema first as a Schema object and THEN load it into a DataSource? I've been reading up on the DataSource for a while (quick guide, javadoc, etc) but I haven't found any examples of how load a schema into a DataSource.
Here comes the problem. We currently loading our xml schema into a DataSource using the Smart GWT SchemaSet object. So we are automatically given a DataSource from our schema. Now if we were to embed some <appinfo> tags into our schema, would there be anyway to query this data while it is in DataSource form or is all this information lost when it's converted from the Schema to the DataSource form?
If the data is lost in the conversion then can anyone give a quick example on how we can load the schema first as a Schema object and THEN load it into a DataSource? I've been reading up on the DataSource for a while (quick guide, javadoc, etc) but I haven't found any examples of how load a schema into a DataSource.
Comment