07-29-2009 06:19 AM
07-30-2009 09:47 AM
<script type="text/javascript">
window.onload = function() {
var webscriptUrl = 'http://localhost:8080/alfresco/service/yourCustomWebScriptUrl';
YAHOO.util.Connect.asyncRequest('GET', webscriptUrl,{
success: function(o) {
document.getElementById('yourCustomIdElementOnThisHtmlPage').innerHTML=o.responseText;
}
});
}
</script>
This script required that you have to build your HTML with a yourCustomIdElementOnThisHtmlPage as a DIV element:
<div id="yourCustomIdElementOnThisHtmlPage">
…
YOUR CUSTOM WEBSCRIPT OUTPUT WILL BE HERE
…
</div>
Hope this helps.
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.