<?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: Delegate expression and fields in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/delegate-expression-and-fields/m-p/90315#M61483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue with the delegateExpression is that it MAY resolve to another bean every single time it's called, so field-injection can't be done just once, as it is with the normal JavaDelegates. However, you get the execution passed in, you can extract all variables you want but I understand the fact that you code the expressions, rather than define them in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your process file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK, nothing is planned for this. As I see delegateExpressions, is to have the resolving the of the javaDelegate fully controlled in the developer's hands. Having field-injection on that as well is a valid use case, although not crucial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could always suggest a solution based on the current functionality or propose a patch, we're happy to accept contributions in this area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 07:37:19 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-06-20T07:37:19Z</dc:date>
    <item>
      <title>Delegate expression and fields</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegate-expression-and-fields/m-p/90314#M61482</link>
      <description>After several weeks of using activiti I continually get frustrated that a delegate expression cant have fields.Being able to define a spring bean namee as the expression and then wire the bean is one of the most useful features of the this tool.However when defining an activity you almost always nee</description>
      <pubDate>Mon, 18 Jun 2012 23:52:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegate-expression-and-fields/m-p/90314#M61482</guid>
      <dc:creator>wslade</dc:creator>
      <dc:date>2012-06-18T23:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delegate expression and fields</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegate-expression-and-fields/m-p/90315#M61483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue with the delegateExpression is that it MAY resolve to another bean every single time it's called, so field-injection can't be done just once, as it is with the normal JavaDelegates. However, you get the execution passed in, you can extract all variables you want but I understand the fact that you code the expressions, rather than define them in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your process file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK, nothing is planned for this. As I see delegateExpressions, is to have the resolving the of the javaDelegate fully controlled in the developer's hands. Having field-injection on that as well is a valid use case, although not crucial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could always suggest a solution based on the current functionality or propose a patch, we're happy to accept contributions in this area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 07:37:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegate-expression-and-fields/m-p/90315#M61483</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-20T07:37:19Z</dc:date>
    </item>
  </channel>
</rss>

