<?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: Read-only properties until task ownership set? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99358#M68672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm glad I was helpfull&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 16:08:46 GMT</pubDate>
    <dc:creator>dhalupa</dc:creator>
    <dc:date>2007-07-19T16:08:46Z</dc:date>
    <item>
      <title>Read-only properties until task ownership set?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99354#M68668</link>
      <description>I have some workflow properties in the manage task dialog that I would like to be read-only until the task is owned.&amp;nbsp; Once a user takes ownership of the task, those properties would then be editable.&amp;nbsp; Is there a way to do this?Thanks.</description>
      <pubDate>Mon, 16 Jul 2007 16:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99354#M68668</guid>
      <dc:creator>jdbrown</dc:creator>
      <dc:date>2007-07-16T16:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Read-only properties until task ownership set?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99355#M68669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to give you some ideas, this is how I would approach the problem. Please, have in mind that I did not actually try that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Extend the class org.alfresco.web.bean.workflow.ManageTaskDialog and add a method which would return boolean indicating whether task has been assigned or not (I guess this could be determined by checking the bpm:assignee property) &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public boolean getTaskNotAssigned(){&lt;BR /&gt;//Determine whether task is assigned&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;2. Copy jsp/workflow/manage-task-dialog.jsp to some your custom directory and change &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;r:propertySheetGrid id="task-props" value="#{DialogManager.bean.taskNode}"&lt;BR /&gt;var="taskProps" columns="1" externalConfig="true" /&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;r:propertySheetGrid id="task-props" value="#{DialogManager.bean.taskNode}"&lt;BR /&gt;var="taskProps" columns="1" externalConfig="true" readOnly="#{DialogManager.bean.taskNotAssigned}/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Register your new bean, register your new dialog with new managed bean and new jsp view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Look at web-client-config-dialogs.xml for example how to configure that&amp;nbsp; custom dialog gets called for your custom tasks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope I was helpfull&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 09:57:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99355#M68669</guid>
      <dc:creator>dhalupa</dc:creator>
      <dc:date>2007-07-18T09:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read-only properties until task ownership set?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99356#M68670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Denis, thank you for the suggestion and it looks like it should work.&amp;nbsp; I will give it a try and report back.&amp;nbsp; Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 14:02:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99356#M68670</guid>
      <dc:creator>jdbrown</dc:creator>
      <dc:date>2007-07-18T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read-only properties until task ownership set?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99357#M68671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works like a charm - thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 15:51:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99357#M68671</guid>
      <dc:creator>jdbrown</dc:creator>
      <dc:date>2007-07-19T15:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read-only properties until task ownership set?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99358#M68672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm glad I was helpfull&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 16:08:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-only-properties-until-task-ownership-set/m-p/99358#M68672</guid>
      <dc:creator>dhalupa</dc:creator>
      <dc:date>2007-07-19T16:08:46Z</dc:date>
    </item>
  </channel>
</rss>

