<?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: Web Script Portlet: Ant target for packaging? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89409#M60775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Web Script Portlet runtime assumes the user has already logged into the Portal and that a user with the same name exists in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, first you need to login to the portal and second, you need to ensure Liferay and Alfresco are sharing the same authentication mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error handling obviously needs tidying up here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 17:24:25 GMT</pubDate>
    <dc:creator>davidc</dc:creator>
    <dc:date>2007-06-20T17:24:25Z</dc:date>
    <item>
      <title>Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89404#M60770</link>
      <description>I've pulled the latest 2.1 out of the community SVN site and have it successfully building and running. I'd like to play with the Web Script portlet:/root/projects/web-client/source/java/org/alfresco/web/scripts/portlet/Is there an ant target that will automatically bundle this in a WAR file so I ca</description>
      <pubDate>Thu, 24 May 2007 20:27:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89404#M60770</guid>
      <dc:creator>dante256</dc:creator>
      <dc:date>2007-05-24T20:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89405#M60771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I haven't written any docs for the web script portlet (that's a task I'll get to soon).&amp;nbsp; However, the Web Script portlet support allows any Web Script to be hosted in a JSR-168 portal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've included portlet configuration for JBoss Portal.&amp;nbsp; This may not be your portal of choice, but it demonstrates a usage of Web Script portlets.&amp;nbsp; You can use ant build-jboss or ant incremental-jboss.&amp;nbsp; Take a look at portlet.xml for the configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are deploying to Jboss Portal, there are specific instructions you must follow… &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Build_and_Deploy_WAR_JBossPortal" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Build_and_Deploy_WAR_JBossPortal&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're still in the development phase of 2.1, so any comments you have on Web Scripts in or out of portal, we'd appreciate - there's still time for us to react to them prior 2.1 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 22:13:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89405#M60771</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-05-24T22:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89406#M60772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks David.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've gotten as far as getting this building and obstensibly deploying into JBoss Portal (although I don't see it in the list of portlets – I'm just getting my feet wet with this portal product). From the log files, it does appear that an Alfresco instance is starting up in the container.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking through the portlet.xml file. Ultimately, we will want to point the portlet at web scripts that will run on an Alfresco instance on another box. Is there syntax to do this (i.e. can I just change the &amp;lt;init-param&amp;gt; to accomplish this)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 15:05:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89406#M60772</guid>
      <dc:creator>dante256</dc:creator>
      <dc:date>2007-05-31T15:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89407#M60773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I run alfresco as a web app not a portlet app so a lightweight standalone jsr-168 portlet would be far better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In anycase I deployed the war from head as a portlet application to liferay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Got a lot of javascript errors running alfresco client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other portlets all reported an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; java.lang.IllegalArgumentException - All user details are mandatory!&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; org.alfresco.web.bean.repository.User.(User.java:70)&amp;nbsp; &lt;BR /&gt; org.alfresco.web.scripts.portlet.WebClientPortletAuthenticator.createWebClientUser(WebClientPortletAuthenticator.java:140)&amp;nbsp; &lt;BR /&gt; org.alfresco.web.scripts.portlet.WebClientPortletAuthenticator.authenticate(WebClientPortletAuthenticator.java:114)&amp;nbsp; &lt;BR /&gt; org.alfresco.web.scripts.portlet.WebScriptPortlet$WebScriptPortalRuntime.authenticate(WebScriptPortlet.java:263)&amp;nbsp; &lt;BR /&gt; org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:294)&amp;nbsp; &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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 00:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89407#M60773</guid>
      <dc:creator>garpinc</dc:creator>
      <dc:date>2007-06-17T00:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89408#M60774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have received same error after installing Web Scripts Portlets in Liferay.&amp;nbsp; Liferay is displaying Alfresco Client portlet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the reason we are getting this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Web Script portlets require login credentials. Assuming that we need to send credentials for these web script portlets to render in Liferay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Alfresco engineer to help us in resolving this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or do we need to use SSO(Single Sign On) to login to Liferay and Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will&amp;nbsp; be greatly appreciated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When will Alfresco 2.1 will be released?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read Alfresco 2.1 is concentrating on Web Script Portlets..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 16:16:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89408#M60774</guid>
      <dc:creator>ooftish_com</dc:creator>
      <dc:date>2007-06-20T16:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89409#M60775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Web Script Portlet runtime assumes the user has already logged into the Portal and that a user with the same name exists in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, first you need to login to the portal and second, you need to ensure Liferay and Alfresco are sharing the same authentication mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error handling obviously needs tidying up here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 17:24:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89409#M60775</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-06-20T17:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89410#M60776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there an out of the box way for alfresco to use liferays authentication/user management mechanism?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 19:29:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89410#M60776</guid>
      <dc:creator>garpinc</dc:creator>
      <dc:date>2007-06-20T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Portlet: Ant target for packaging?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89411#M60777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not that I'm aware of.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 11:26:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-portlet-ant-target-for-packaging/m-p/89411#M60777</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-06-21T11:26:14Z</dc:date>
    </item>
  </channel>
</rss>

