-
1. Re: Examples of dynamic layout and components?
csa Oct 16, 2014 3:59 PM (in response to hr.stoyanov)Hi,
You probably remember this CDI producer example from our docs:
http://docs.jboss.org/errai/3.0.3.Final/errai/reference/html_single/#sid-21758062
I am not sure that's the best solution though. Do you really need a different UI widget/component instead of just using a responsive layout (i.e. relying on bootstrap etc.)? That's what the errai-tutorial project does.
If you do need a different widget depending on runtime properties you can also create rebind rule and have the GWT compiler generate a specific permutation that replaces the component: http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsDeferred.html#replacement
Cheers,
Christian
-
2. Re: Examples of dynamic layout and components?
hr.stoyanov Nov 18, 2014 11:18 AM (in response to hr.stoyanov)Thanks Christian, but responsive design can help only do so much for you. I guess what we are looking for is "adaptive design" with "intelligent autofitting".