<?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: custom alert Message in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-alert-message/m-p/207441#M160571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a hack that might work for you. It's not pretty but will do the job. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a java action and then add a message to the screen before raising an exception: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;import org.alfresco.web.ui.common.Utils;&lt;BR /&gt;&lt;BR /&gt;public void execute(ExecutionContext executionContext) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Utils.addErrorMessage("This is my error message");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception();&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then "This is my error message" will get shown and the workflow will refuse the continue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not perfect, but at least it allows to display custom messages to the Screen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2009 10:31:02 GMT</pubDate>
    <dc:creator>m_vriens</dc:creator>
    <dc:date>2009-01-05T10:31:02Z</dc:date>
    <item>
      <title>custom alert Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-alert-message/m-p/207440#M160570</link>
      <description>hi all,I have requirement , where , in a simple workflow scenario when a rejection is initiated the user gets to see a custom alert message something like 'You are about to reject the workflow..' Can this be done ?Thanks for the help Regards ab</description>
      <pubDate>Fri, 02 Jan 2009 08:01:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-alert-message/m-p/207440#M160570</guid>
      <dc:creator>abirb</dc:creator>
      <dc:date>2009-01-02T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: custom alert Message</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-alert-message/m-p/207441#M160571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a hack that might work for you. It's not pretty but will do the job. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a java action and then add a message to the screen before raising an exception: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;import org.alfresco.web.ui.common.Utils;&lt;BR /&gt;&lt;BR /&gt;public void execute(ExecutionContext executionContext) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Utils.addErrorMessage("This is my error message");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new Exception();&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then "This is my error message" will get shown and the workflow will refuse the continue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not perfect, but at least it allows to display custom messages to the Screen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:31:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-alert-message/m-p/207441#M160571</guid>
      <dc:creator>m_vriens</dc:creator>
      <dc:date>2009-01-05T10:31:02Z</dc:date>
    </item>
  </channel>
</rss>

