> I believe that if GWT allowed Anchor to contain widgets, people would
> complain that Anchor/DisclosurePanel/Widget-X within an Anchor wouldn't work
> (the way they expect).
Ok... but honestly, there are a zillion things that are possible to do
with GWT (and especially CSS) that cause peculiar behavior. This
wouldn't be anywhere near the top of my list of things to be confused
about! :-)
> It's not impossible today to do it so it's OK as a limitation: GWT let's you
> do it, not as easily as you'd have wished, but still (even though in most
> case you really don't need it, I mean, I couldn't find a single use case for
> a widget within an anchor that wouldn't have a better alternative)
I guess this is what I find most confusing. I have wanted this on
multiple occasions - I often have an anchor whose content is
programmatically determined. It may contain image resources. I just
want to stuff the anchor with any of several widgets rather than
mucking about with HTML text.
This seems like a common case. What design patterns should I use instead?
Jeff
--
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-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