Open GoogleCodeExporter opened 8 years ago
BTW, the workaround looks like this:-
uriFragmentUtil = ViewHandler.getUriFragmentUtil();
uriFragmentUtil.addListener(new FragmentChangedListener() {
public void fragmentChanged(FragmentChangedEvent e) {
String fragment = e.getUriFragmentUtility().getFragment();
if (fragment.length() == 0) {
ViewHandler.activateView(FrontPage.class);
}
}
});
addComponent(uriFragmentUtil);
...but it would be good not to do that! ;)
Original comment by jim.groo...@gmail.com
on 22 Nov 2010 at 6:10
You do have a point, however, I'm not very fond of magic null values. I think
I'll rather introduce default vies which can be defined with separate methods.
Original comment by kimp...@gmail.com
on 8 Jan 2011 at 11:21
Original comment by kimp...@gmail.com
on 17 Jun 2011 at 11:27
Original issue reported on code.google.com by
jim.groo...@gmail.com
on 22 Nov 2010 at 6:01