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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Hi,I have several g:Anchor elements in my UiBinder design. I attach OnClick handlers to these to do interesting things. In the browser, these anchors are being rendered as <a> elements lacking an href attribute. When the mouse hovers over them, they don't do the usual link display things - the mouse icon goes into text mode rather than link-follow mode, and there's no blue underline. I tried adding a dummy href="" attribute, but although now they look like normal links, clicking on them follows to the url (in this case, a boring one) instead of the click handler. I want to have my cake and eat it - I want these links to look like links but react with my click handler. Is there a trick for this?
Your issue is either with auth or app initialization, not with hyperlinks.
Google Groups for instance brings you back to where you were when hitting F5.
And opening a new window is when authentication comes into play. The user hasn't logged into the new instance of the application (opened in the new window). Hence we are back to the original problem.With a regular web app, this wouldn't be a problem. The state of whether the user is logged in is maintained on the server (in session variables). In the case of GWT, the state of whether the user is logged is in maintained on the client.