Greetings,
I have created a custom hyperlinkcell column renderer for celltable widget.
Source can be found here
http://pastebin.com/hM7rg4tFhttp://pastebin.com/hM7rg4tF
The hyperlink displays alright but the onBrowserEvent isnt being fired at
all. I have added super(click) on my constructor
@Override AFAIK is a jdk 1.6 feature.
Can u see your project Compiler settings in Eclipse. Set it to follow 1.6
conventions.
Your code looks alright to me..
HTH.
Thanks,
Subhro.
On Tue, Dec 28, 2010 at 3:20 PM, Ketan Shah ketan.s...@gmail.com wrote:
Greetings,
I have created a custom
Thanks Subhro. The @Override annotation works for *render()* method in the
same class but not for onBrowserEvent. I tried your suggestion too but didnt
work (I have openjdk version 1.6.0_20).
Regards,
-Ketan.
On Tue, Dec 28, 2010 at 3:32 PM, Subhrajyoti Moitra
subhrajyo...@gmail.comwrote:
Here's how to configure what Subhro suggests...
In Eclipse; goto Project - Properties - Java Compiler - (Check)Enable
Project Specific Settings - Compiler Compliance Level (select 1.6)
Or if you want to do it at global level: Window - Preferences - Java -
Compiler - Compiler Compliance Level
The signature of onBrowserEvent has changed between 2.1.0 and 2.1.1, which
version are you using?
--
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-web-tool...@googlegroups.com.
To unsubscribe from
@Nirmal: I did exactly that.
@Thomas: I am using 2.1.1
The issue was actually the import statement.
I was importing from com.google.gwt.user.client.Element; when I should
have been importing from com.google.gwt.dom.client.Element;
Thank you all for your prompt responses.
Regards,
-Ketan.
On