You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT-Ext Developer Forum
Hello,
What is the recommended way to add hyperlinks to a GWT-Ext panel? I am
trying to add one the following way but the GWT and Ext components
don't seem to play nicely together.
Any pointers would be appreciated.
Casey
Sample code:
public void onModuleLoad() {
Panel mainPanel = new Panel();
mainPanel.add(new Hyperlink("Setup", "setup"));
RootPanel.get().add(mainPanel);
}
Error in development shell:
[ERROR] Unable to load module entry point class
eagle.bpn.client.MainEntryPoint (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: F[E] has no properties
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
481)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeHandle(ModuleSpace.java:
225)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeHandle(JavaScriptHost.java:
89)
at com.gwtext.client.widgets.Panel.create(Panel.java:83)
at com.gwtext.client.widgets.Component.getElement(Component.java:333)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:
82)
at com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:
68)
at eagle.bpn.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:
66)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
Rob Smith
unread,
Apr 7, 2008, 4:45:26 PM4/7/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT-Ext Developer Forum
Which version of GWT-Ext are you using.
I tried your example with gwt-ext 2.0.3 and it works
Casey Watson
unread,
Apr 8, 2008, 3:25:05 AM4/8/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GWT-Ext Developer Forum
I was running with 2.0.2. After upgrading to 2.0.3 it works for me as
well.