Thanks for reporting this!
I looked into this and it turns out to be a bug we accidentally
introduced in the 1.1 release.
I have checked in a bugfix, but for now the workaround is to set the
launchHref variable to the name of your jnlp file like this:
Clock extends Widget {
launchHref: "Clock.jnlp"
}
Keith: Can you roll a patch for this fix? The fix is in:
widgetfx\api\src\org\widgetfx\Widget.fx. Technically we only require an
SDK push, but we might as well update the web start version too.
Cheers,
--Steve
> --~--~---------~--~----~------------~-------~--~----~
> WidgetFX Developers Group: http://groups.google.com/group/widgetfx-dev?hl=en?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
--
--Steve
blog: http://steveonjava.com/
Ken,
Thanks for reporting this!
I looked into this and it turns out to be a bug we accidentally introduced in the 1.1 release.
I have checked in a bugfix, but for now the workaround is to set the launchHref variable to the name of your jnlp file like this:
Clock extends Widget {
launchHref: "Clock.jnlp"
}
Keith: Can you roll a patch for this fix? The fix is in: widgetfx\api\src\org\widgetfx\Widget.fx. Technically we only require an SDK push, but we might as well update the web start version too.
Cheers,
--Steve
On 3/2/2009 4:15 AM, Ken Orr wrote:
I'm trying to create a simple widget. When I run the widget from
NetBeans as a WebStart app, I end up seeing a dialog to "Add Widget",
which looks like a stock WidgetFX dialog.
Why don't I see my widget? How do I build and run my simple widget
from within NetBeans?
Thanks,
-Ken