<?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: How to model jsf form properties as process variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146462#M102294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason why nobody answers is because it is a pretty specific use-case. As such, nobody reall has 'best practices' on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to give it a go&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Step 1) Can we have a backing bean with all 40 fields and their attributes and propagate that bean instead of XML. If yes than what should be scope of that bean and does it needs to be converted to process variables ??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's been 5 years since I wrote my last line of JSF … so I don't really know the answer to that question. But as far as Activiti goes, you choose whatever you like. Do you want to store it as process variable? Fine, no problem. Only some? No problem too. None at all, and only link it somehow (eg using the formKey) … also not an issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 2) If we go with XML approach then how will XML exist in the process engine, as a process variable or any other form ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you store the XML as-is, it will be one process variable. Note you do lose query functionality in that case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, having 40 process variables will also have a serious impact on performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 3) Do we achieve this using XSL transformation inside a service task or maybe XML modification within JSF objects itself ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My gut feeling says it belongs to the process. That way you don't bind your logic to one UI technology.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 4) Whats the best approach to render JSF/PrimeFaces page using this XML ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No clue, like I said, my jsf is very rusty.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 10:22:03 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-01-21T10:22:03Z</dc:date>
    <item>
      <title>How to model jsf form properties as process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146460#M102292</link>
      <description>Hi,We are buildig a workflow using Activiti, JSF/PrimeFaces and JEE/CDI.Our JSF form has about 40 form fields and each field can have different view permissions like (readable,disabled,editable,hidden) based on privileges of the approver. There are around 5 levels of approvers so we have created 5 u</description>
      <pubDate>Thu, 17 Jan 2013 09:03:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146460#M102292</guid>
      <dc:creator>sherlock</dc:creator>
      <dc:date>2013-01-17T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to model jsf form properties as process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146461#M102293</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;Please give me proper direction to model above workflow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:19:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146461#M102293</guid>
      <dc:creator>sherlock</dc:creator>
      <dc:date>2013-01-21T06:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to model jsf form properties as process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146462#M102294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason why nobody answers is because it is a pretty specific use-case. As such, nobody reall has 'best practices' on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to give it a go&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Step 1) Can we have a backing bean with all 40 fields and their attributes and propagate that bean instead of XML. If yes than what should be scope of that bean and does it needs to be converted to process variables ??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's been 5 years since I wrote my last line of JSF … so I don't really know the answer to that question. But as far as Activiti goes, you choose whatever you like. Do you want to store it as process variable? Fine, no problem. Only some? No problem too. None at all, and only link it somehow (eg using the formKey) … also not an issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 2) If we go with XML approach then how will XML exist in the process engine, as a process variable or any other form ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you store the XML as-is, it will be one process variable. Note you do lose query functionality in that case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, having 40 process variables will also have a serious impact on performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 3) Do we achieve this using XSL transformation inside a service task or maybe XML modification within JSF objects itself ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My gut feeling says it belongs to the process. That way you don't bind your logic to one UI technology.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 4) Whats the best approach to render JSF/PrimeFaces page using this XML ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No clue, like I said, my jsf is very rusty.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 10:22:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146462#M102294</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-01-21T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to model jsf form properties as process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146463#M102295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My addition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- In my JSF based app (or tapestry or whatever) we use XForms for the forms. Simply because it is best suited to the task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- We use formKey to reference a fulle external (to activiti) form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- We store the XML either as a process variable while in transit (several tasks work on the same xml) and after several steps we store it in our own model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- We have some generic code that extracts some data via xpath and store it in process variables so it can be easily used in expressions (support for xpath as expressions in Activiti would be nice ;-))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The rest of the app is in JSF (or whatever)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This approach works great for us&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2013 09:19:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146463#M102295</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-01-26T09:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to model jsf form properties as process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146464#M102296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No clue, like I said, my jsf is very rusty.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Time to buy a wirebrush and some sanding paper then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2013 09:24:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-model-jsf-form-properties-as-process-variables/m-p/146464#M102296</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-01-26T09:24:55Z</dc:date>
    </item>
  </channel>
</rss>

