10-27-2009 05:02 AM
10-30-2009 06:37 PM
<config>
<actions>
<!– Link to SomeCo's Web Site –>
<action id="web_site">
<label>SomeCo</label>
<href>http://www.optaros.com</href>
<image>/someco/images/icons/website.gif</image>
<target>new</target>
</action>
<action-group id="document_browse">
<action idref="web_site" />
</action-group>
<action-group id="document_browse_menu">
<action idref="web_site" />
</action-group>
<action-group id="doc_details_actions">
<action idref="web_site" />
</action-group>
</actions>
</config>The above is a section from web-client-config-custom.xml that would create a link to a web site and then add that link to several of the UI action menus in Alfresco.11-02-2009 03:41 AM
//some simple script instruction :
document.transformDocument("application/pdf", space)
document.remove()
//and now something for the ajax call wich obviously doesn't work ! :
var bindArgs = {
url: "www.google.com",
method: "post",
mimetype: "text/html",
//load: function(type,data,evt) {Callback script executed after the AJAXcall}
};
dojo.require("dojo.io.*");
dojo.io.bind(bindArgs);
11-04-2009 06:27 PM
var connector = remote.connect("http");
var result = connector.call(someUrl);
if (result !== null) {
var remoteResponse = new String(result);
var header = '<?xml version="1.0" encoding="UTF-8"?>';
remoteResponse = remoteResponse.substring(header.length);
var responseXml = new XML(remoteResponse);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.