<?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: Accessing annotated spring beans in an expression in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164622#M118354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be great if the problem could be solved so easy. But according to the user guide you can use # in expressions… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem is due to the fact that org.activiti.engine.impl.javax.el.BeanELResolver gets a proxy instead of a real object from the spring context evaluating the expression. The question now is whether there is a solution for this problem that allows me to use my annotated beans or I have to define all my spring beans in a XML configuration file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 11:11:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-15T11:11:17Z</dc:date>
    <item>
      <title>Accessing annotated spring beans in an expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164620#M118352</link>
      <description>Hi,today is a first day I’m experimenting with activiti. It seems to be a nice framework, thanks guys &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;I have a problem accessing an annotated spring bean in a service task expression: &amp;lt;serviceTask id="servicetask" name="Service Task" activiti:expression="#{myService.performAction()}"&amp;gt;&amp;lt;/se</description>
      <pubDate>Sun, 13 Oct 2013 21:50:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164620#M118352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-13T21:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing annotated spring beans in an expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164621#M118353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess, you need to use $ instead of # in EL expressions.&amp;nbsp;&amp;nbsp; I mean try&amp;nbsp; ${myService.performAction()}&amp;nbsp; instead of #{myService.performAction()}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 11:49:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164621#M118353</guid>
      <dc:creator>bathe</dc:creator>
      <dc:date>2013-10-14T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing annotated spring beans in an expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164622#M118354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be great if the problem could be solved so easy. But according to the user guide you can use # in expressions… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem is due to the fact that org.activiti.engine.impl.javax.el.BeanELResolver gets a proxy instead of a real object from the spring context evaluating the expression. The question now is whether there is a solution for this problem that allows me to use my annotated beans or I have to define all my spring beans in a XML configuration file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 11:11:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-annotated-spring-beans-in-an-expression/m-p/164622#M118354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-15T11:11:17Z</dc:date>
    </item>
  </channel>
</rss>

