<?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 actionContext, session params for custom action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/actioncontext-session-params-for-custom-action/m-p/169395#M122782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear reader,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering how to get access to the session object&amp;nbsp; in order to get a valide ticket from inside the &amp;lt;param&amp;gt; element in use&amp;nbsp; inside a custom action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact, what I'm trying to do is to call an outside web application by the the use of a custom edit action and this by using the &amp;lt;href&amp;gt; and &amp;lt;params&amp;gt; elements inside my action definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible ? Should it be done by using the actionContext node or an other way ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried something like that : &amp;lt;param name="myparam"&amp;gt;#{session.ticket}&amp;lt;/param&amp;gt; but without success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance !!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 21:20:26 GMT</pubDate>
    <dc:creator>pierre_duracel</dc:creator>
    <dc:date>2008-04-23T21:20:26Z</dc:date>
    <item>
      <title>actionContext, session params for custom action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/actioncontext-session-params-for-custom-action/m-p/169395#M122782</link>
      <description>Dear reader,I'm wondering how to get access to the session object&amp;nbsp; in order to get a valide ticket from inside the &amp;lt;param&amp;gt; element in use&amp;nbsp; inside a custom action.In fact, what I'm trying to do is to call an outside web application by the the use of a custom edit action and this by using the &amp;amp;l</description>
      <pubDate>Wed, 23 Apr 2008 21:20:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/actioncontext-session-params-for-custom-action/m-p/169395#M122782</guid>
      <dc:creator>pierre_duracel</dc:creator>
      <dc:date>2008-04-23T21:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: actionContext, session params for custom action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/actioncontext-session-params-for-custom-action/m-p/169396#M122783</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;In fact after spending some time in debug mode inside eclipse (going from UIAction to VariableResolverImpl),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally found that a bean is available called : &lt;/SPAN&gt;&lt;STRONG&gt;_alfAuthTicket&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under this name it does exist the User bean and the getTicket method which I needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By looking inside the VariableResoverImpl, I see that the resolution of variables occurs&amp;nbsp; in this order :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Implicit objects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Request context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Session context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Application context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ManagedBean&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe would it be of interest if someone could explain where these contexts are set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 16:22:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/actioncontext-session-params-for-custom-action/m-p/169396#M122783</guid>
      <dc:creator>pierre_duracel</dc:creator>
      <dc:date>2008-04-24T16:22:51Z</dc:date>
    </item>
  </channel>
</rss>

