|
|
|
Re: Problem with Custom Widget .set() [message #1848562 is a reply to message #1456231] |
Wed, 08 December 2021 05:54 |
David Lee Messages: 83 Registered: May 2013 |
Member |
|
|
[quote title=Ivan Furnadjiev wrote on Thu, 30 October 2014 02:22]Hi,
did you create a JavaScript type handler for your custom widget [1]? Is
your property listed in the handler:
|rap.registerTypeHandler( "my.CustomWidgetType", {
factory : function( properties ) {
return new MyCustomWidget( properties );
},
properties : [ "||frmCtt" ]
} );|
and in your widget JS prototype you need function setFrmCtt( value )
where you will actually do the update of the property.
Hi, Ivan
Reversely, on Java side, how to get the value of 'frmCtt' from JavaScript?
And how to access frmCtt inside JavaScript?
Thank you so much!
David
[Updated on: Wed, 08 December 2021 07:11] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02679 seconds