Op zaterdag 5 januari 2013 17:27:51 UTC+1 schreef Ashton Thomas het volgende:
I would greatly appreciate some input here. I am trying to use the below references to implement Code Splitting w/ Activities/Place/GINHOWEVER, I can't get anything to work. Not even a simple solution which I 'think' should be working regardless of my current implementation for A/P+GIN...Thomas' ActivityAsyncProxy https://gist.github.com/3038878 (This is the method I am trying to use)Other References:My Hope is that I am doing something blatantly wrong. I have a simple Split Point that creates a string and custom widget (very simple) and shows a PopupPanel. However it still gets thrown into the Left overs.My end goal is the complete solution to MVP/GIN (which originally didn't work so I thought I'd try this simple solution - no luck so I'm coming to you guys:)I've attached a piece of the Compile Report and including the below links for better reference:Button b = new Button("Click Me", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
GWT.runAsync(Application.class
, new RunAsyncCallback() { @Override
public void onSuccess() {
String sp3 = "3sp33sp33sp33sp33sp33sp33sp33
sp33sp33sp33sp33sp33spp3"; VerticalPanel vp = new VerticalPanel();
vp.add(new InlineLabel(sp3));
MySPTestWidget t = new MySPTestWidget(); // Simple Composite with unique string to test SP
vp.add(t);
PopupPanel p = new PopupPanel();
p.setWidget(vp);
p.center();
}
@Override
public void onFailure(Throwable reason) {
Window.alert("SP Application Failed");
}
});
}
});
Any thoughts on why the simple (and possibly the ultimate goal of MVP/GIN-CodeSplitting) is not working?Thanks very much in advance!-Ashton
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ghZpLMoo5l0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment