<?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: UserTask w.form:best practice to define the custom attribute in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114266#M80525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally… XForms….&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 19:17:36 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2012-09-17T19:17:36Z</dc:date>
    <item>
      <title>UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114260#M80519</link>
      <description>Hello everybody, I try the currently described here steps for development of the user tasks with custom GUI mask elements with validators.It seems to work when the custom form type/Custom form renderer not needs the additional informations to validate. However, if I need such additional informations</description>
      <pubDate>Thu, 13 Sep 2012 07:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114260#M80519</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-09-13T07:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114261#M80520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you check the org.activiti.explorer.form.UserFormType example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not 100% sure, but I do seem to remember it supports validation through exceptions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 13:48:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114261#M80520</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-13T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114262#M80521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you check the org.activiti.explorer.form.UserFormType example.&lt;BR /&gt;I'm not 100% sure, but I do seem to remember it supports validation through exceptions.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Hi jbarrez, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You for feedback:-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i checked UserFormType / UserFormRenderer and some other types. But i need anyway the parameters, that determine for example the MAX or MIN bounds and that are not a fix values (In other word i could not that "hardcoded" define it into Validator class of Activiti )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently i use the "name" attribute to transfer the JSON serialized JavaBean as XML escaped string, that is desirialized on Activiti side….The steps, that described on start-topic are too heavily&amp;nbsp;&amp;nbsp; fo me &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 21:33:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114262#M80521</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-09-13T21:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114263#M80522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably a better solution would be to enhance the form property with a 'validation expression' or a 'validation Java class'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the question is: what would the engine then do upon entering the form properties? Would it simply throw an exception?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In nowadays web apps, you want the validation to be instant, so you'd need a duplication of those validation on the client side anyway …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it might be a good addition to the form api, nonetheless …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 06:33:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114263#M80522</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-14T06:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114264#M80523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarrez, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, the better solution is to extend the form property with the additional attributes/subelements. Such solution would be the really &lt;/SPAN&gt;&lt;STRONG&gt;clean &lt;/STRONG&gt;&lt;SPAN&gt;solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In such case, it's needed to enhance both XSD and to define a new Java interface, or to extend the existing &lt;/SPAN&gt;&lt;A href="http://activiti.org/javadocs/org/activiti/engine/form/FormProperty.html" rel="nofollow noopener noreferrer"&gt;FormProperty&lt;/A&gt;&lt;SPAN&gt; interface (&lt;/SPAN&gt;&lt;EM&gt;Late solution that can be employed, however, only when a new release with incompatible changes would&lt;/EM&gt;&lt;SPAN&gt;). (For example the new Getter would be "getAdditionalAttribute" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; So that method could be used within the mehtod "Field getPropertyField(FormProperty formProperty)" of the custom renderer, that inherits the &lt;/SPAN&gt;&lt;A href="http://svn.codehaus.org/activiti/activiti/trunk/modules/activiti-webapp-explorer2/src/main/java/org/activiti/explorer/ui/form/AbstractFormPropertyRenderer.java" rel="nofollow noopener noreferrer"&gt;AbstractFormPropertyRenderer&lt;/A&gt;&lt;SPAN&gt;. Thus it woulde be possible, to transfer the needed for validation parameter into the custom validator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Furthermore, the custom validator would be used that transfered parameters within isValidString() method during parsing of input value. If not valid value would be entered, so the isValid returns the "false", and the InvalidValueException with given message would be thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The AbstractFormType must not have the additional methods, because the it is quite enough, throw the exception in custom form type, if the wrong type is used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem of such clean solution, however, is that the core API must be adapted. If this is done &lt;/SPAN&gt;&lt;STRONG&gt;not &lt;/STRONG&gt;&lt;SPAN&gt;in the context of extensions through "standard" activiti team, so it must always do the merge. if, the new relase of activiti comes….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 08:36:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114264#M80523</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-09-14T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114265#M80524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yup, I agree with what you're saying.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reviewing the forms is something that we plan to do in the near future. And validation will indeed be an important part of it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:52:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114265#M80524</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-17T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114266#M80525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally… XForms….&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 19:17:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114266#M80525</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-09-17T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114267#M80526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just knew that one was coming &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, I checked out Orbeon last week. But I wasn't convinced: the syntax feel heavy and the editors don't seem to be mature. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If anything like &lt;/SPAN&gt;&lt;A href="http://wufoo.com/" rel="nofollow noopener noreferrer"&gt;http://wufoo.com/&lt;/A&gt;&lt;SPAN&gt; existed in open source … I would be sold immediately!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 20:50:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114267#M80526</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-17T20:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114268#M80527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;yup, I agree with what you're saying.&lt;BR /&gt;&lt;BR /&gt;Reviewing the forms is something that we plan to do in the near future. And validation will indeed be an important part of it.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks for the info :ugeek:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 21:16:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114268#M80527</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-09-17T21:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114269#M80528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I just knew that one was coming &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Actually, I checked out Orbeon last week. But I wasn't convinced: the syntax feel heavy and the editors don't seem to be mature. &lt;BR /&gt;If anything like &lt;A href="http://wufoo.com/" rel="nofollow noopener noreferrer"&gt;http://wufoo.com/&lt;/A&gt; existed in open source … I would be sold immediately!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You've already done a lot, as you have used the Vaadin framework to develop the Activiti Explorer webapp. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. The simple forms can already created with the &lt;/SPAN&gt;&lt;A href="http://dev.vaadin.com/wiki/Addons/VisualEditor" rel="nofollow noopener noreferrer"&gt;Vaadin Visual Editor&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 21:25:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114269#M80528</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-09-17T21:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: UserTask w.form:best practice to define the custom attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114270#M80529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Absolutely, but I'm no fan of visual tools (call me old fashioned), but I see people being productive in them so I might need to revise that stand &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 09:00:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/usertask-w-form-best-practice-to-define-the-custom-attribute/m-p/114270#M80529</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-09-18T09:00:26Z</dc:date>
    </item>
  </channel>
</rss>

