Thursday, May 12, 2016

Re: Dear GWT

After reading the above conversation it looks like this a feature in GWT 2.8 with which we can at run time add/change a class at client side ..
Is this true?

Coz I just try using GWT2.8 then running sdm , and then I just change some thing in a class  
like if before the class contains 
Window.alert("Hello");

At run time i goes to the code and change it to Window.alert("Hello world");
and then click the button which calls that class ... 
But I still get the message "Hello";

to see the "Hello world" I need to refresh the application.


So i was just wondering if there is some way for the above thing in 2.8 

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..

Is this what GWT 2.8 is providing or is there any way i can achive the above.

Any suggestion will be really helpful .

Thanks 


On Thu, May 12, 2016 at 2:00 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Wednesday, May 11, 2016 at 11:17:18 PM UTC+2, Ali Akhtar wrote:
I'm sure. In 2.8 beta1, everytime a new class is added, or a new uiBinder file, it requires a restart in order for it to be detected and not get a weird error like $mg_1 not found

You (or your tools) must be doing something wrong. Can you tell more about how you're launching SDM?

--
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.

--
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