Why the hell would I want to use a Button and restyle it to an anchor if GWT already provides an Anchor class with the correct style and which has three constructors which state they can be used for scripted anchors (= using the default javascript:; href with the expectation of adding click handlers to them)? If GWT provides an Anchor class with these constructors people are using it if they want a anchor styled text with click handler support, so I don't see why to tell them to use a different widget which they have to restyle. Its just a different opinion and I would just add a small fix to the Anchor class.
Also using a Label or InlineLabel isn't a real choice as both are not FocusWidgets so you cant tab through them for keyboard navigation. But thats just an additional small reason because I think currently you cant activate a focused Anchor via the keyboard and you have to implement it yourself. But maybe that would be a nice feature for the Anchor class, e.g. hitting enter opens the focused Anchor. -- J. -- 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/-/SVK_mStbDN0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
