04-15-2009 10:57 AM
02-26-2010 03:25 AM
<webscript>
<shortname>Hello</shortname>
<description>Polite greeting</description>
<url>/sample/hello</url>
<authentication>none</authentication>
</webscript>
Hello world!
02-26-2010 09:01 AM
Hi Alaaeldin,
It work`s ok!!! I think it`s working because the character encoding in the portlet….
Thanks a lot for your help!!!!
02-26-2010 09:03 AM
I'm having problems to get the STAR authentication running on my Liferay 5.2.5 EE + Alfresco 3.2r2 configuration.
…What could be causing this?
03-24-2010 07:15 AM
03-24-2010 09:42 AM
1) Alfresco Host: http://localhost:8080
2) Alfresco Context Path: /alfresco
3) Script Url: /ui/awprmyspaces
4) Constant Script Parameters: {alfUrl}[http://localhost:8080/alfresco]
5) Default Script Parameters : {f}[1],{p}[/Company Home]
6) Proxy all URLs in this portlet: NO
7) Proxy URLs: SI: {/ui/awprmyspaces}
😎 Javascript Variable: uiawprmyspaces
9) REST Method Type: GET
10) URL Encoding Type: UTF-8
03-24-2010 10:01 AM
03-24-2010 11:37 AM
04-06-2010 05:39 PM
05-21-2010 09:52 AM
function goToPage(param){
var parameters = "node="+ encodeURI(param)+
"&alf_ticket=${ticket}";
http_request = initialize();
http_request.open("POST", "${url}/alfresco/s/rst/getArticle",true);
http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http_request.setRequestHeader("Content-length", parameters.length);
http_request.setRequestHeader("Connection", "close");
http_request.onreadystatechange=function() {
if (http_request.readyState==4) {
resultMail = http_request.responseText;
document.getElementById('test').innerHTML = resultMail;
}
}
http_request.send(parameters);
}
http_request.open("POST", "${url}/alfresco/s/rst/getArticle",true);
withhttp_request.open("POST", AWPr.encodeUrl("/alfresco/s/rst/getArticle"),true);
But this doesn't work either.05-21-2010 10:09 AM
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.