Hi Salva,

When you create a new ULC widget for your custom widget say MyWidget, you
create a server side class ULCMyWidget and a client side class UIMyWidget.

The client side class UIMyWidget and the custom widget MyWidget should be on
the class path of the ULC UI Engine - i.e. the ULC client running as Applet
or JNLP.

In ULCMyWidget.typeString() method you have return a string that is the
fully qualified class name for the UIMyWidget, for example
"mypackage.client.UIMyWidget". Note that you should not return
UIMyWidget.class.getName() - this will only work in the development
environment.

Shared classes should obviously be available on the classpath of ULC server
side application as well as the ULC client.

Please refer to ULC Extension Guide of ULC 6.1 for more details about
extending ULC.

BTW:

Could you tell us:

- what kind of application are you developing?
- which company are you working for?
- what kind of license are you using?

We strongly recommend that you buy support.

Thanks and regards,

Janak





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of salva vilarrasa
Sent: Monday, July 10, 2006 9:12 AM
To: [EMAIL PROTECTED] Com
Subject: [ULC-developer] widget


When I create a new Widget it is working fine in my ide launching through a
main class, but when putting all in my applet I got an error while trying to
create a new instance of the UIwidget. Any clue of what this can be?
Another question, if I got some shared class like the constants used in the
piechart example where should i place it both in my client.jar and
server.jar? thanks for all!

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to