There are samples of using XML screen definitions in the SmartGWT EE Showcase under the folder "Component XML", but you have to download a 4.0 build to get them:
http://smartclient.com/builds
The Component XML overview explains how to provide dynamic Component XML that's stored in a DB - see "Dynamic Component XML":
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/ComponentXML.html
http://smartclient.com/builds
The Component XML overview explains how to provide dynamic Component XML that's stored in a DB - see "Dynamic Component XML":
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/ComponentXML.html
On Tue, Mar 5, 2013 at 4:01 PM, Thiago borges martins <tborgesmartins@gmail.com> wrote:
Hum understand, I had thought of something like that, but I was in doubt because GWT (smartgwt) and compiled to javascript and have part of the RF (RequestFactory), but I've thought a one implementation. Without wanting to abuse his good vontante you have an example of a loading screen.
2013/3/5 Sanjiv Jivan <sanjiv.jivan@gmail.com>--Hi Thiago,With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime:
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String,
com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[])
So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen().
You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server:
http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator,java.lang.String)
SanjivOn Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins <tborgesmartins@gmail.com> wrote:Good afternoon, colleagues,
I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system.
This is possible using Smart-gwt?
I thank everyone's attention.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/whI-KxRs0_0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Att.
Thiago B. Martins
System Analyst
Fone: +55 34 9151-2635--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment