GWTP Code Splitting

101 views
Skip to first unread message

Hardik Mishra

unread,
Dec 28, 2011, 1:43:17 AM12/28/11
to Google Web Toolkit
Hello All

I am using GWTP (MVP framework by Google) with GWT 2.3. I want to use
GWT code splitting with my presenters.

I know about @ProxyCodeSplit annotation in Presenters. Like below

@ProxyCodeSplit
public interface MyProxy extends Proxy<MainPagePresenter> {
}
Is this sufficient ? Or Do I need to dig out GWT Code Splitting which
provides A call to GWT.runAsync.

Ed

unread,
Dec 28, 2011, 3:46:49 AM12/28/11
to google-we...@googlegroups.com
@ProxyCodeSplit is part of the GWTP so I think you are better off asking it in the GWTTP forum.
See:

Fabricio Pizzichillo

unread,
Dec 28, 2011, 5:01:03 AM12/28/11
to google-we...@googlegroups.com
Hi Hardik. I am not an expert in GWTP, but the little I saw, it is also necessary to add theAsyncProvider <YourPresenter> getYourPresenter (); on the interface that extends fromGinjector. Look here http://code.google.com/p/gwt-platform/wiki/GettingStarted #Binding_everything_together
regards
Fabricio

2011/12/28 Hardik Mishra <mishra....@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Reply all
Reply to author
Forward
0 new messages