Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Using DataSources for Dynamic GUI generation

$
0
0
Problem:
I've been trying to use DataSources to load different 'template' files that a client can choose from, these files would then generate a different layout. But I:
Code:

cannot change the ... dataURL ... after the component has been created.
Are there alternative methods to change the URL?

Mostly I would like to know if there anything that DataSource's provide that can be used to help generate layouts dynamically. Such as caching, or is this something that DataSources weren't made for?

I can post example code if necessary :).

Details:
I've accomplished this using GWT-RPC calls but I would like to use DataSources setRecordXPath() method.

Viewing all articles
Browse latest Browse all 4756