Looks like there is some problem with latests GWT upgrade!! or am I doing it wrong?
This happens for me also. I use buttons in my page. First click on the buttons works, 2nd click donesn't and again 3rd click works. Its used to work perfectly until i updated my GWT to latest version. I haven't changed anything with my code. No errors seen in firebug. On Thu, Aug 12, 2010 at 10:43 PM, Thomas Broyer <[email protected]> wrote: > > > On 12 août, 14:49, Santosh kumar <[email protected]> wrote: > > Hi, > > > > I am using GWT HyperLinks in my Project, i want some clarification about > > these links. > > when i click on the link for the first time it works fine. Immediately > when > > i click the same link its not working. > > Like control is not coming to that link.. is their any logic to get the > > control to the link when its get clicked continuously. > > please can any one answer to my doubt ??? > > Hyperlink calls History.newItem on clicks, and History.newItem won't > fire a ValueChangeEvent if the target token is the same as the current > one (as, obviously, there would be no "change in value"). > You might want to use a Label (or maybe Anchor if you want it to > really work like a link, with the ability to open in a new window/tab, > copy link URL, etc.) with a ClickHandler in which you'd call > History.newItem *and* do what you want to do (or: call newItem(token, > false) and then fireCurrentHistoryState if you really want to keep > your logic ValueChangeHandlers) > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- -Thanks -Srikanth.G -Google India Ltd -Hyderabad -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
