Thursday, May 12, 2016

Re: Dear GWT



On Thursday, May 12, 2016 at 2:37:59 PM UTC+2, Freddy Boucher wrote:
Actually i have a requirement where we allow user to add/upload UI layouts at run time , 

Jrebel wont help me as it only works with java , where as GWT client in sdm is javascript.
tried dynamicUIBinder , it gives the layout at runtime but dont load any handlers etc.

So I need a way where user can upload a Java UI class(GWT composite) with the layout + Handlers. which loads at run time , without restarting the application..

You're probably misunderstanding your requirements.

If your specs is to let your Users define custom views you should define a meta model for example in JSON. So your Users can modify this JSON and you just need to rebuild the view with this JSON.

Either that or some form of scripting (that you sanitize before use, and to which you expose –by exporting them to JS– a defined set of APIs, like Google Apps Script: https://developers.google.com/apps-script/reference/ui/ )
 

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment