<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alfresco Web Script Portlet rivet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187328#M140458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here I'm again…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that if I restart alfresco and liferay server and log in Liferay with userIdA (that is not in alfresco) I get the wished behauviour: the aWpr shows alfresco login interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I log in with useridB (that is in Alfresco) awpr works fine because user is both in liferay and in alfresco. But if I log out and log in again with userIdA I get wrong behaouvior: I see my webscript, also if I shouldn't and at same time I get exception I said in previous post: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ERROR [web.scripts.AbstractRuntime] Exceptio&lt;BR /&gt;n from executeScript - redirecting to status template error: 08210143 Web Script&lt;BR /&gt; com/mine/quality/mywebscript.get requires user authentication; however, a gu&lt;BR /&gt;est has attempted access.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What I noticed is that the tickets generated are different between useridB and userIdB, so it's not a problem of caching or storing ticket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me to understand?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2009 20:28:43 GMT</pubDate>
    <dc:creator>nowhere</dc:creator>
    <dc:date>2009-09-21T20:28:43Z</dc:date>
    <item>
      <title>Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187258#M140388</link>
      <description>AWPrAWPr is a JSR-168 portlet that can be used to expose remote Alfresco Web scripts, including those that need user authentication. With the help of a custom Alfresco authentication component that we wrote the portlet can carry the user credentials from the portal to Alfresco, authenticate the user</description>
      <pubDate>Wed, 15 Apr 2009 14:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187258#M140388</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-04-15T14:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187259#M140389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found AWPr is a very useful portlet. However while using this with the sample myspaces webscripts which interacts with alfresco I found that only the UI is rendered but but no content is displayed as shown in one of the screen shots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After investigation I've found that there is a Javascript error in the connection-min.js files which halts the execution of the controller script. The error says &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Access to restricted URI denied" code: "1012 while executing "o.conn.open(method,uri,true)" statement from connection-min.js files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me to resolve this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Neeraj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 08:16:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187259#M140389</guid>
      <dc:creator>ahuja_neeraj</dc:creator>
      <dc:date>2009-05-19T08:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187260#M140390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason this is happening is due to cross-domain security. You can resolve this issue using a proxy like mod_jk for example. The following wiki page explains what the proxy setup should do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.rivetlogic.com/display/AWPr/Example+Web+scripts" rel="nofollow noopener noreferrer"&gt;http://wiki.rivetlogic.com/display/AWPr/Example+Web+scripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The basic idea is that Alfresco must be accessible using the same domain name as that of the portal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:37:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187260#M140390</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-19T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187261#M140391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your portlet seems really interesting, but I would like to ask you a question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If a portlet developed with "Rivet Web Script portlet" shows a link to a non public document inside Alfresco, can the user access it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: MySpaces portlet can show the link below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://portal-hostname.com/alfresco/d/d/workspace/SpacesStore/1dacbd04-d028-482f-9359-a7e195f06442/filename.ppt" rel="nofollow noopener noreferrer"&gt;http://portal-hostname.com/alfresco/d/d/workspace/SpacesStore/1dacbd04-d028-482f-9359-a7e195f06442/filename.ppt&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;If the user clicks on it, the access to the document will not be a "liferay access", but a direct access to Alfresco, so the user wouldn't be authenticated. Would he?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you solve this problem? Should one use a standard SSO like CAS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 14:05:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187261#M140391</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2009-05-24T14:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187262#M140392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's happening is that the MySpaces webscript adds a cookie with the Alfresco ticket in it to the client browser when the webscript is first rendered. Subsequent calls to the Alfresco download servlet will then be authenticated as the Liferay user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The portlet will call the Alfresco login webscript initially to get an Alfresco ticket for the Liferay user. As a side note, this ticket is sent on every request from the AWPr portlet instance to Alfresco via a URL argument called 't'. This is to allow webscript authors to do whatever they want with that ticket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you copied the Alfresco download URL and pasted it into a browser that doesn't have the Alfresco cookie you will be redirected to the Alfresco login page. But if you add the parameter 'ticket=TICKET_&amp;lt;ticket-value&amp;gt;' you will be able to download the document if the user who owns the ticket has read rights on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The drawback here is that you wouldn't be able to robustly have more than one portlet on the same portal page displaying webscripts that serve download URLs from different unclustered Alfresco servers&amp;nbsp; because the cookie would keep getting overwritten. The only way would be to append the ticket to the download URL like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;/alfresco/d/d/workspace/SpacesStore/771fbc61-d11a-4685-8a4d-143c310d07f0/image.png?ticket=TICKET_fb8dfe0f9fdf48b62e428fbe8f6665ddab01db55&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;This is ok but not desirable since accessing this URL from any browser will authenticate the request as that user which could pose a security risk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 14:45:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187262#M140392</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-24T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187263#M140393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found AWPr is an useful portlet to expose remote Alfresco Web scripts and fortunately I got it working. I also managed to expose entire alfresco under portal…but I didn't succeeded so I toke a chance with AWPr portlet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, my problem is that I have already my webscripts, say webscript A and in A's ftl template I have a link to another webscript of mine, say B webscript…but I dind't find a way to open B on the screen within the confines of the portlet window. In the best case…it leave liferay portal and opens as simple alfresco webscritp (say url &lt;/SPAN&gt;&lt;A href="http://localhost:8080/wcservice/B" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/wcservice/B&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me to solve this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rosa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 17:26:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187263#M140393</guid>
      <dc:creator>nowhere</dc:creator>
      <dc:date>2009-05-25T17:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187264#M140394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AWPr provides a javascript function that can be used to convert Alfresco URLs to Liferay URLs in the client's browser. This function is used by awprmyspaces.js which is packaged with the example webscripts AMP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The method is called AWPr.encodeUrl(). Of course this means that you won't be able to have more than one AWPr instance on the same portal page. The next AWPr release takes care of this issue by adding a portlet preference that allows you to configure the name of the javascript variable that holds the encodeUrl function thus allowing for multiple AWPr instances on the same portal page to have different javascript encodeUrl functions. The way it will work is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the preference value is 'ABC', then the javascript variable will be called 'AWPr_ABC' and the function will be called like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AWPr_ABC.encodeUrl()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To see an example of how to use this function you can see this link: &lt;/SPAN&gt;&lt;A href="http://wiki.rivetlogic.com/display/AWPr/AWPr+Design#AWPrDesign-AJAXcalls" rel="nofollow noopener noreferrer"&gt;http://wiki.rivetlogic.com/display/AWPr/AWPr+Design#AWPrDesign-AJAXcalls&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another feature we will add is another portlet preference that allows you to configure what strings need to be replaced and what they should be replaced by. We could also have another portlet preference that allows you to configure other script URLs that need to be proxied. That way you could run webscripts that navigate back and forth between one another. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 01:37:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187264#M140394</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-26T01:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187265#M140395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rivet,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your support… Now I'm facing with AJAX (JSON) calls made by myself…It's my first time with them so I'm getting what I want, but I can't say if it's correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I read about AWPr encodeUrl function, it seems interesting and I wrote a simple test but I didn't get what I need:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;&amp;lt;!–&lt;BR /&gt; function func() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var link = document.getElementById("my");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; link.setHTML('&amp;lt;a href="' + AWPr.encodeUrl("/alfresco/wcservice/quality/quality2") + '"&amp;gt;Click Here&amp;lt;/a&amp;gt;');&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;// –&amp;gt;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;body onload="func();"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class="content"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div id="articles"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div id="right"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p id="my"&amp;gt;temp&amp;lt;/p&amp;gt;&lt;BR /&gt;….(other stuff)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and what I get in href is "&lt;/SPAN&gt;&lt;A href="http://localhost:8081/web/guest/home?p_p_id=awpr_WAR_awpr_INSTANCE_Hm1D&amp;amp;p_p_lifecycle=1&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;p_p_col_id=column-1&amp;amp;p_p_col_count=1" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/web/guest/home?p_p_id=awpr_WAR_awpr_INSTANCE_Hm1D&amp;amp;p_p_lifecycle=1&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;p_p_col_id=column-1&amp;amp;p_p_col_count=1&lt;/A&gt;&lt;SPAN&gt;" where I suppose istance is the same as first portlet load that is linked to webservce (/alfresco/wcservice/quality/quality1) (say A, as in my firts post), so I get a second call to same webscript and not to B (/alfresco/wcservice/quality/quality2). Surely I'm in wrong somewhere… Let me know what you think, also about making AJAX calls from zero. Sorry If I can't explain better &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;, they all are new concepts to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 17:41:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187265#M140395</guid>
      <dc:creator>nowhere</dc:creator>
      <dc:date>2009-05-26T17:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187266#M140396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The current release of AWPr assumes that you are using a single webscript where all navigation happens within that webscript itself. The other supported scenario is for an outer webscript calling an inner webscript using an AJAX call much like what you see with MySpaces and MySpacesPanel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will try to support your use case by adding a portlet preference that accepts a list of script URLs that are to be proxied but I'm not sure when we will be able to release it. I'll update this forum when I have a date. I'll also try to include it in the upcoming 1.1.0 release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How urgent is your need for this feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 17:55:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187266#M140396</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-26T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187267#M140397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you are very kind…but I need it working in a few days, so don't considerate my needs in your release planning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still, I don't understand when you say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The other supported scenario is for an outer webscript calling an inner webscript using an AJAX call much like what you see with MySpaces and MySpacesPanel.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain this?&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't understand if it fits my use case…May be I'm&amp;nbsp; misurdestanding, otherwise I'll continue working at my "silly" solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 18:04:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187267#M140397</guid>
      <dc:creator>nowhere</dc:creator>
      <dc:date>2009-05-26T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187268#M140398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The MySpaces webscript that comes with Alfresco uses a YUI asynchronous call to get the contents of an inner webscript called MySpacesPanel and changes the URLs to using the URL encoder function. You could potentially do the same thing in your webscript where the "Click Here" link will make an AJAX call and get the other webscript (quality2) and use the encodeUrl function to change the URLs in that webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if that will work in your case though so it would probably be best to use the next release of AWPr for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 18:12:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187268#M140398</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-26T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187269#M140399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's what I do…I have differents links making AJAX call, but I don't know if and why I should need to encode URLs in second webscript… :roll: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely thanks for help again, now I can't wait…in future I'll look for next release &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 18:24:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187269#M140399</guid>
      <dc:creator>nowhere</dc:creator>
      <dc:date>2009-05-26T18:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187270#M140400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I want to thank you for you awesome job with AWPr. It is very nice. Now about my situation, I'm experiencing some problems calling AWPRmyspaces webscript. I have mod_jk mounted and also I already configured the portlet in liferay so my enviroment taking account that apache is receiving all request is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apache: &lt;/SPAN&gt;&lt;A href="http://localhost" rel="nofollow noopener noreferrer"&gt;http://localhost&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfreso: &lt;/SPAN&gt;&lt;A href="http://localhost/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost/alfresco&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; [&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Liferay: &lt;/SPAN&gt;&lt;A href="http://localhost/*" rel="nofollow noopener noreferrer"&gt;http://localhost/*&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; [&lt;/SPAN&gt;&lt;A href="http://localhost:8090/liferay" rel="nofollow noopener noreferrer"&gt;http://localhost:8090/liferay&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured AWPrmyspaces webscript with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfrescoContextPath = /alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfrescoHost = &lt;/SPAN&gt;&lt;A href="http://localhost" rel="nofollow noopener noreferrer"&gt;http://localhost&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;httpMethod = GET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webscriptsParams =&amp;nbsp; {f}[], {p}[], {alfUrl}[&lt;/SPAN&gt;&lt;A href="http://localhost/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost/alfresco&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webScriptURL = /ui/awprmyspaces&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the problems. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.-Even though I can see the webscript, I am only able to visualize the default user space. When I give clic to the root or another folder in the path, I always go to the default path (like refreshing the webscript ). In other words the webscript is not taking into account the path of which folder I want to see. The thing is that when I call the webscript directly to tomcat (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/wcservice/ui/awprmyspaces?alfUrl=http://localhost/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/wcservice/ui/awprmyspaces?alfUrl=http://localhost/alfresco&lt;/A&gt;&lt;SPAN&gt; ) from firefox it works fine, but from liferay it doesnt.The problem is basically that if I go directly to alfresco server it works, but If I dont and I call the webscript from liferay (awpr) and passing throughout the proxy it doesnt work, maybe it is a simple error but I havent worked with proxies until now. If you have any idea please tell me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.-Our alfresco repository contains some folders with latin chars like í, ó. So Awpr portlet its failing because it doesnt encode properly the folder name, I dont know why, but I checked the logs and it is sending the latin chars not being encoded as alfUrl param. However for example it is encoding spaces or other chars. Any idea what to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 16:01:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187270#M140400</guid>
      <dc:creator>dnunez_mx</dc:creator>
      <dc:date>2009-05-28T16:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187271#M140401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Diego,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of error are you getting with the folder names? Can you please post the error in AWPr's jira?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.rivetlogic.com/browse/AWPR" rel="nofollow noopener noreferrer"&gt;http://issues.rivetlogic.com/browse/AWPR&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 16:49:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187271#M140401</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-28T16:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187272#M140402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Alaaeldin, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for you quick response. I already posted the error on AWPr´s Jira. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://issues.rivetlogic.com/browse/AWPR-2" rel="nofollow noopener noreferrer"&gt;http://issues.rivetlogic.com/browse/AWPR-2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 09:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187272#M140402</guid>
      <dc:creator>dnunez_mx</dc:creator>
      <dc:date>2009-05-29T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187273#M140403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alaaeldin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw your solution about my problem but I'm not sure to understand. Please correct me If I misunderstood the cause. But according with your explanation, you will add an extra option to select the encoding type (UTF-8, ISO-8859-1) when sending the params in the portlet. But its supposed that UTF-8 is covering latin chars and many others right? I this is true why the portlet is required to use ISO-8859-1? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And about my first problem :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.-Even though I can see the webscript, I am only able to visualize the default user space. When I give clic to the root or another folder in the path, I always go to the default path (like refreshing the webscript ). In other words the webscript is not taking into account the path of which folder I want to see. The thing is that when I call the webscript directly to tomcat (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/wcservice/ui/awpr" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/wcservice/ui/awpr&lt;/A&gt;&lt;SPAN&gt; … t/alfresco ) from firefox it works fine, but from liferay it doesnt.The problem is basically that if I go directly to alfresco server it works, but If I dont, and I call the webscript from liferay (awpr) and passing throughout the proxy it doesnt work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any clue to follow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much for your effort with this project,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 23:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187273#M140403</guid>
      <dc:creator>dnunez_mx</dc:creator>
      <dc:date>2009-05-29T23:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187274#M140404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Diego,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The character encoding restriction you will find is related to the database. By default (if I'm not mistaken) MySQL is set to use Latin-1 as the characterset:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;mysql&amp;gt; status;&lt;BR /&gt;————–&lt;BR /&gt;mysql&amp;nbsp; Ver 14.12 Distrib 5.0.51b, for apple-darwin9.0.0b5 (i686) using readline 5.0&lt;BR /&gt;&lt;BR /&gt;Connection id:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;71&lt;BR /&gt;Current database:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Current user:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;root@localhost&lt;BR /&gt;SSL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Not in use&lt;BR /&gt;Current pager:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stdout&lt;BR /&gt;Using outfile:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;''&lt;BR /&gt;Using delimiter:&amp;nbsp;&amp;nbsp;&amp;nbsp;;&lt;BR /&gt;Server version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.0.51b-log MySQL Community Server (GPL)&lt;BR /&gt;Protocol version:&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;BR /&gt;Connection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Localhost via UNIX socket&lt;BR /&gt;Server characterset:&amp;nbsp;&amp;nbsp;&amp;nbsp;latin1&lt;BR /&gt;Db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; characterset:&amp;nbsp;&amp;nbsp;&amp;nbsp;latin1&lt;BR /&gt;Client characterset:&amp;nbsp;&amp;nbsp;&amp;nbsp;latin1&lt;BR /&gt;Conn.&amp;nbsp; characterset:&amp;nbsp;&amp;nbsp;&amp;nbsp;latin1&lt;BR /&gt;UNIX socket:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/tmp/mysql.sock&lt;BR /&gt;Uptime:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4 days 22 hours 27 min 10 sec&lt;BR /&gt;&lt;BR /&gt;Threads: 22&amp;nbsp; Questions: 203200&amp;nbsp; Slow queries: 0&amp;nbsp; Opens: 175&amp;nbsp; Flush tables: 1&amp;nbsp; Open tables: 169&amp;nbsp; Queries per second avg: 0.477&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So what's happening here is that the webscript fails o find the path to the folder because the encoding is UTF-8. If your server configuration ensures the use of utf8 then things should work using UTF-8. I decided to make the character encoding a portlet preference to make AWPr more flexible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now regarding your other issue. It's related to the same character encoding problem. What's happening is that the way MySpaces and AWPrMySpaces are written is that if the folder you're trying to navigate to does not exist it will default to the user's home folder. Do your folders that have latin characters in them are failing and the webscript is sending you to the logged in user's Alfresco home folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 23:34:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187274#M140404</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-29T23:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187275#M140405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Diego,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing I noticed is that your Alfresco proxy setting should probably be fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently it's set as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost/alfresco&lt;/A&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should set it like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/alfresco*" rel="nofollow noopener noreferrer"&gt;http://localhost/alfresco*&lt;/A&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tested it with mod_jk, but if you want to use another proxy make sure you can access the Alfresco webclient using the following url:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/alfresco" rel="nofollow noopener noreferrer"&gt;http://localhost/alfresco&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 23:36:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187275#M140405</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-29T23:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187276#M140406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AWPr 1.1.0 has been released and has new features that address the use cases and issues we've received from the AWPr users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main features are: (see the &lt;/SPAN&gt;&lt;A href="http://wiki.rivetlogic.com/display/AWPr/AWPr+Design#AWPrDesign-Portletpreferences" rel="nofollow noopener noreferrer"&gt;wiki&lt;/A&gt;&lt;SPAN&gt; for more details)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Control over the AWPr javascript variable&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Control over which Web script URLs should be proxied&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Control over what type of encoding to use for request parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can download AWPr 1.1.0 &lt;/SPAN&gt;&lt;A href="http://wiki.rivetlogic.com/display/AWPr/Downloads" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please use this forum if you have any questions about the new features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Alaaeldin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2009 02:49:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187276#M140406</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2009-05-31T02:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Web Script Portlet rivet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187277#M140407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to use your portlet but I need to change something: I need a user on Alfresco called liferayguest and I need to change the authenticator you provide to authenticate a guest user on Liferay as a liferayguest on Alfresco. This is because guest users should be able to contribute on Alfresco using an Alfresco portlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need to customize the Star amp (is it correct?) and so I'm looking for the source code of this amp, but I could not find them. Could you help me, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;What's happening is that the MySpaces webscript adds a cookie with the Alfresco ticket in it to the client browser when the webscript is first rendered. Subsequent calls to the Alfresco download servlet will then be authenticated as the Liferay user.&lt;BR /&gt;&lt;BR /&gt;The portlet will call the Alfresco login webscript initially to get an Alfresco ticket for the Liferay user. As a side note, this ticket is sent on every request from the AWPr portlet instance to Alfresco via a URL argument called 't'. This is to allow webscript authors to do whatever they want with that ticket.&lt;BR /&gt;&lt;BR /&gt;If you copied the Alfresco download URL and pasted it into a browser that doesn't have the Alfresco cookie you will be redirected to the Alfresco login page. But if you add the parameter 'ticket=TICKET_&amp;lt;ticket-value&amp;gt;' you will be able to download the document if the user who owns the ticket has read rights on it.&lt;BR /&gt;&lt;BR /&gt;The drawback here is that you wouldn't be able to robustly have more than one portlet on the same portal page displaying webscripts that serve download URLs from different unclustered Alfresco servers&amp;nbsp; because the cookie would keep getting overwritten. The only way would be to append the ticket to the download URL like so:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;/alfresco/d/d/workspace/SpacesStore/771fbc61-d11a-4685-8a4d-143c310d07f0/image.png?ticket=TICKET_fb8dfe0f9fdf48b62e428fbe8f6665ddab01db55&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;This is ok but not desirable since accessing this URL from any browser will authenticate the request as that user which could pose a security risk.&lt;BR /&gt;&lt;BR /&gt;–Alaaeldin&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 10:51:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-web-script-portlet-rivet/m-p/187277#M140407</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2009-06-01T10:51:12Z</dc:date>
    </item>
  </channel>
</rss>

