You do not appear to be associating the clicked item with the correct
token...

> String token = History.getToken();

This is accessing the global History singleton, not the Hyperlink's
history token.

If you really want to use a hyperlink, then you could get the
hyperlink that was clicked on, and then extract the historyToken from
it.
EG.,

onClick(ClickEvent event)
{
    Hyperlink sender = (Hyperlink) click.getSource();
    String token = sender.getHistoryToken()
    :
}


Or you could use a TableListener and listen for table clicks instead,
and then you do not need to put the itemId into a hyperlink history
token.  You would have to keep track of it elsewhere, for example a
List object that is maintained in parallel with the FlexTable.

Jamie

-----------------------
Find television broadcast antennas in your area (US & Canada):
http://www.antennamap.com/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to