<?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: Pass list into a form property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200013#M153143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I will see what I can do about it. Do you know of any example I can look at? I am not so experienced so I haven't heard of "form field converter"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 13:09:43 GMT</pubDate>
    <dc:creator>jwistrom</dc:creator>
    <dc:date>2015-06-05T13:09:43Z</dc:date>
    <item>
      <title>Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200011#M153141</link>
      <description>HiI am rather new to Activiti but I have some knowledge. I am using Vaadin to render the forms. I have created my own fields for rendering. Now I want to create a form property (or something) so I can render a component with two tables (available values and assigned values) in the Bpmn xml I want to</description>
      <pubDate>Thu, 04 Jun 2015 20:45:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200011#M153141</guid>
      <dc:creator>jwistrom</dc:creator>
      <dc:date>2015-06-04T20:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200012#M153142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Johan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to store the variables in the process context in the form field type converter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 12:31:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200012#M153142</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-06-05T12:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200013#M153143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I will see what I can do about it. Do you know of any example I can look at? I am not so experienced so I haven't heard of "form field converter"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 13:09:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200013#M153143</guid>
      <dc:creator>jwistrom</dc:creator>
      <dc:date>2015-06-05T13:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200014#M153144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can look at the Date converter as an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/form/DateFormType.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/form/DateFormType.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 15:12:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200014#M153144</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-06-05T15:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200015#M153145</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;From what I understand. The Date converter parses the string to a date format. In my case i pass in an expression that returns a list. How do I parse the string I pass in to an expression and then execute the expression in my custom form type (or custom form field)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:31:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200015#M153145</guid>
      <dc:creator>jwistrom</dc:creator>
      <dc:date>2015-06-07T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200016#M153146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pretty much the same way as the date, you just need to decide on a way to store the list as a string and then serialize/deserialize when needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 09:41:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200016#M153146</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-12T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200017#M153147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't I need to pass in the list with the extension activiti:value in the xml? If so, what I understand expression can not be passed in, right? Isn't the date pattern passed in that way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Johan &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 20:28:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200017#M153147</guid>
      <dc:creator>jwistrom</dc:creator>
      <dc:date>2015-06-14T20:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200018#M153148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would indeed need something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:value id="left" name="Go Left" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then in the FormType implementation do something like .getInformation("left")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:12:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200018#M153148</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-16T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200019#M153149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then I will pass in a String right? If I pass in an expression, say&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;${1+1}&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I have done like this in my custom form type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(FormValue fv : formProperty.getFormValues()){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (fv.getId().equals("myId")){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myExpression = fv.getName();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But how do I interpret the incoming string as an expression because I do not get 2 in my form values, I get the string "${1+1}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Johan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 16:31:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200019#M153149</guid>
      <dc:creator>jwistrom</dc:creator>
      <dc:date>2015-06-22T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pass list into a form property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200020#M153150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm you would to make it an Expression object, from the String (get the ExpressionManager from the ProcessEngineConfiguration), but you would need something to resolve it against (eg an execution).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:06:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-list-into-a-form-property/m-p/200020#M153150</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-30T19:06:03Z</dc:date>
    </item>
  </channel>
</rss>

