Re: Java Form from ScriptableWidget?

2004-09-08 Thread Peter Brant
Hi Phil, Use jsForm.getWidget().unwrap(). Pete I have a java object which currently has a method (addForm) that accepts a Form object as a parameter. In v1 of the forms javascript code this can easily be accessed from javascript with javaObj.addForm(jsForm.getWidget()); However I want

Java Form from ScriptableWidget?

2004-09-07 Thread Phil Snowdon
I have a java object which currently has a method (addForm) that accepts a Form object as a parameter. In v1 of the forms javascript code this can easily be accessed from javascript with javaObj.addForm(jsForm.getWidget()); However I want to use some of the new features in the v2 API. Now when