08-27-2011 04:23 PM
…
YAHOO.util.Event.addListener(this.widgets.isPrivate, "change", this.onVisibilityChange, this, true);
this.widgets.sitePreset = Dom.get(this.id + "-sitePreset");
YAHOO.util.Event.addListener(this.widgets.sitePreset, "change", this.onSitePresetChange, this, true);
…
…
/**
* Called when user clicks on the sitePreset combobox.
*
*/
onSitePresetChange: function CS_onSitePresetChange()
{
// Is possible to call a webscript here???
},
/**
* Called when user clicks on the cancel button.
* Closes the CreateSite panel.
*
* @method onCancelButtonClick
* @param type
* @param args
*/
onCancelButtonClick:
…
My question is if I can call a web script in create-site.js and fill another combobox from the json data returned by the webscript…08-30-2011 11:13 AM
Alfresco.util.Ajax.jsonGet (
{
url: Alfresco.constants.PROXY_URI + "urlWebScript"
…
Thanks anyway!
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.