Versions: smartgwt 2.0, gwt 2.0.1
I'd like to be able to use a dynamic form definition (and for that matter a listgrid or other canvas) in multiple places in my application. For example, I have a "result" editor and would like to display two of these side by side for a user to easily compare values. I also have a few different "screens" that have differing query panels, with the same results grid definition.
Is there a "clone" that does a deep copy (and allows for renaming the IDsin the graph), and if so would this work? If not, what is the best practice for this?
I have the same issue with the datasource backing these canvases and would like to have the same data source definition, but "N" different criteria against this datasource active at a time (one for each of the above canvases that is backed by the "same" datasource definition).
I could, of course copy the xml files multiple times every time I edit it and rename the ids, then load them all separately, but I'm wondering if there is another, better way to do this. I don't relish the thought of having to hand edit "N" number of files every time I make a single logical change.
I'd like to be able to use a dynamic form definition (and for that matter a listgrid or other canvas) in multiple places in my application. For example, I have a "result" editor and would like to display two of these side by side for a user to easily compare values. I also have a few different "screens" that have differing query panels, with the same results grid definition.
Is there a "clone" that does a deep copy (and allows for renaming the IDsin the graph), and if so would this work? If not, what is the best practice for this?
I have the same issue with the datasource backing these canvases and would like to have the same data source definition, but "N" different criteria against this datasource active at a time (one for each of the above canvases that is backed by the "same" datasource definition).
I could, of course copy the xml files multiple times every time I edit it and rename the ids, then load them all separately, but I'm wondering if there is another, better way to do this. I don't relish the thought of having to hand edit "N" number of files every time I make a single logical change.
Comment