Tuesday, May 29, 2012

Re: making Anchor look like a normal link

Depending on how you're implementing your hyperlinks (if they are foo links), then you could add a method to your handler to first check if the user is authenticated, and then forward them to the target of the link. Of course foo links would need to be considerate of the CTRL+click, middle click, left click, history activities the user expects. In the case that you are not authorized to see the content of the link (i.e. session expiration), then you could open a popup for the user to authenticate.


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/-/yc-jC_wEFTIJ.
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