simple calendar example configuration errors

12 views
Skip to first unread message

YourSm...@gmail.com

unread,
Aug 15, 2007, 10:10:56 AM8/15/07
to gwtsandbox

i was excited to learn about your extended widgets, but am having some
configuration errors getting them up and running.

i can't find an example of how to configure the module.gwt.xml file,
and i'm sure that's causing me the errors. what should the module in
order to instantiate a calendar?

here's the error trace --

Failure while parsing XML
[ERROR] Line 18: Unexpected exception while processing element
'inherits'
[TRACE] Loading inherited module 'org.gwtwidgets.Components'

here are all the configurations i've tried of the inherits statement

<inherits name='org.gwtwidgets.client.ui.CalendarPanel' />
<inherits name='org.gwtwidgets.client.ui.UI' />
<inherits name='org.gwtwidgets.client.ui' />
<inherits name='org.gwtwidgets.components.Components' />
<inherits name='org.hanson.gwt.Components'/>
<inherits name='org.gwtwidgets.Components' />
<inherits name='org.gwtwidgets.client.Client' />

i'm fairly sure i have the rest of the configuration correct --

1. i've added the gwt-widgets jar file to the .classpath
<classpathentry kind="lib" path="lib/gwt-widgets-0.1.5.jar"/>

2. i've added the gwt-widgets jar file to the project-build and
project-complie files
$APPDIR/lib/gwt-widgets-0.1.5.jar

any help would be most apprecaited.

Robert Hanson

unread,
Aug 15, 2007, 10:37:00 AM8/15/07
to gwtsa...@googlegroups.com
It should be explained in the README that came with the distribution.

You are using the <inherits> tag incorrectly. The <inherits> tag is
meant to only be used to point to a GWT module config, and not
individual classes or packages.

<inherits name='org.gwtwidgets.WidgetLibrary' />

Rob

Reply all
Reply to author
Forward
0 new messages