Hi All,

I am developing a widget which has an hyperlink as given below

<a id="SSO_1" rownum="20" mode="READONLY" href="javascript:{}">TEST1 </
a>

In onPreviewNativeEvent i have the following code snippet


   if (event.getTypeInt() == Event.ONCLICK)

   {
      Element loElement = Element.as(loTarget);
      if(loElement.getTagName().equalsIgnoreCase("A"))
      {
        // Window.alert(" in here1 ");
         String lsId = loElement.getId();
         int liRowNumber = loElement.getPropertyInt("rownum");

         Window.alert(" in here1 "+liRowNumber+"-->"+loElement.getId()
+"-->"+lsId+"-->"+loElement.getString());




The alert is always giving me liRowNumber as 0 even though its 20...
the loeElement.getString shows the cirrect anchor tag where rownum is
20...does any one know what i am doing wrong or if it is a bug?

Thanks,
Parag
--~--~---------~--~----~------------~-------~--~----~
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