<?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: External Form Rendering (What is the alternative in 5.8?) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73186#M47709</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;BR /&gt;&lt;SPAN&gt;You can use form properties instead. Form properties are the new way of implementing user task forms since version 5.7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just look in the user guide for more information.&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>Tue, 06 Dec 2011 18:50:48 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2011-12-06T18:50:48Z</dc:date>
    <item>
      <title>External Form Rendering (What is the alternative in 5.8?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73185#M47708</link>
      <description>Hi,I just want to display the value of some process variables on a from that appears within a User Task. I am using Activiti 5.8 with the bundled Activiti Explorer.I tried putting a vote.form in my bar archive and referenced it in my user task like this&amp;lt;userTask id="voteTask" name="Vote to Promot</description>
      <pubDate>Tue, 06 Dec 2011 15:39:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73185#M47708</guid>
      <dc:creator>swapnonil</dc:creator>
      <dc:date>2011-12-06T15:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: External Form Rendering (What is the alternative in 5.8?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73186#M47709</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;BR /&gt;&lt;SPAN&gt;You can use form properties instead. Form properties are the new way of implementing user task forms since version 5.7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just look in the user guide for more information.&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>Tue, 06 Dec 2011 18:50:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73186#M47709</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-06T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: External Form Rendering (What is the alternative in 5.8?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73187#M47710</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;BR /&gt;&lt;SPAN&gt;I have tried using form properties and from what I understand I can use&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. string as a datatype which renders a label:textfield combination&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. date as a datatype which renders a label:datefield combination&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. enum as a datatype which renders a label:select box combination&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. long as a datatype which renders a label:textfield combination&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. boolean&amp;nbsp; as a datatype which renders a label:checkbox combination&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My requirement is to simply display a label, with rudimentary formatting like bold and font size tags around it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do this using form properties?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 06:01:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73187#M47710</guid>
      <dc:creator>swapnonil</dc:creator>
      <dc:date>2011-12-07T06:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: External Form Rendering (What is the alternative in 5.8?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73188#M47711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have same problem… activiti-explorer dont render ".form" files. activiti-explorer use GWT api to show view components. I'm using Primefaces with jsf2, in my project to render "&amp;lt;activiti:formProperty&amp;gt;" elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like: &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="postalCode" name="Cod Postal" type="postalCode"/&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;I have an formProperty.xhtml where has defined this type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;p:inputMask rendered="#{cc.attrs.formProperty.property.type.name == 'postalCode'}"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mask="99999-999" value="#{cc.attrs.formProperty.property.value}"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; disabled="#{!cc.attrs.formProperty.property.writable}" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;And a extended class where override AbstractFormType methods&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;public class PostalCodeFormType extends AbstractFormType {&lt;BR /&gt;private static Logger log = Logger.getLogger(PostalCodeFormType.class);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; public PostalCodeFormType() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; log.debug("PostalCode Property Type initialized");&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp; public String getName() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "postalCode";&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp; public Object convertFormValueToModelValue(String propertyValue) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (propertyValue==null || propertyValue.equals("")) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new Long(propertyValue);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp; public String convertModelValueToFormValue(Object modelValue) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (modelValue==null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return modelValue.toString();&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp; public String toString() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return getName();&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;In my ApplicationContext I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;property name="customFormTypes" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="postalCodeFormType"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;It works fine!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I have an problem with "enum" type mapped to "selectOneMenu" primefaces element:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;p:selectOneMenu rendered="#{cc.attrs.formProperty.property.type.name == 'enum'}" value="#{cc.attrs.formProperty.property.value}" disabled="#{!cc.attrs.formProperty.property.writable}"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;f:selectItems value="#{cc.attrs.formProperty.information}" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p:selectOneMenu&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;in workflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="direction" type="enum"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="left" name="Go Left" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="right" name="Go Right" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="up" name="Go Up" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="down" name="Go Down" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;It,s return null values….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody can help me with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is a bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 16:19:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73188#M47711</guid>
      <dc:creator>nandoztx</dc:creator>
      <dc:date>2012-02-28T16:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: External Form Rendering (What is the alternative in 5.8?)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73189#M47712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;About 'null' values from 'enum' element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved this, was a bug in my source when I need transform FormProperties to a Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If formProperty is an enum: catch ID;&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;for(String key: values.keySet()) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if(value == values.get(key)){ -&amp;gt; wrong comparation&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if(value.equals(values.get(key))){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return key;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;So… it works&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 17:35:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/external-form-rendering-what-is-the-alternative-in-5-8/m-p/73189#M47712</guid>
      <dc:creator>nandoztx</dc:creator>
      <dc:date>2012-03-29T17:35:48Z</dc:date>
    </item>
  </channel>
</rss>

