FYI, that'd be even easier (and possibly faster) with UiRenderer. Event handling would be much easier, unless you really need that "command identifier as a string" approach.
This is available in GWT 2.5 right? Until now I never thought about using release candidates and classes that are subject to change. Would it be a good idea to use GWT 2.5 RC now?
I use an enum now to represent these commands. But to attach them to a HTML tag the only way are attributes, and these are strings, or am I wrong?
And as Juan Pablo said, you shouldn't use <a> for actions, use a <button> or a <span> and style it like a link if you wish, but do not abuse <a>.
What's the problem with "<a>"?
Thanks
Magnus
-- 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/-/y4CTQKvK0tsJ.
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