Add/Update widget options to this in customizeProperties()
Ex: properties.addProperty(PROP_BG_COLOR,new JOTWidgetProperty(JOTWidgetProperty.TYPE_TEXT,null,"#FF0000"));
When passing arguments to a widget they are comma separated, do if an arg value contains a comma
this causes problems, so use encodeCommas(argValue) to encode the commas in your args value.
When passing arguments to a widget they are comma separated, do if an arg value contains a comma this causes problems, so use encodeCommas(argValue) to encode the commas in your args value.
Returns: Parameters: - value -
javascript code (without javascript tags) to be run when Ajax call returns.
javascript code (without javascript tags) to be run when Ajax call returns. IE: code to update the HTML view of the data. **Note**: be careful to use the uniqueId when retrieving the XMLHttpRequest element XMLHttpRequest variablke name: (req_"+uniqueId) see JOTExampleWidget for example
Returns:
We want each widget in the "page" to have a unique id, to avoid issues with same widget several time in same page
So we create a unique id in the request scope which shoudl provide what we wat here.
We want each widget in the "page" to have a unique id, to avoid issues with same widget several time in same page So we create a unique id in the request scope which shoudl provide what we wat here.
Returns: