<?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: finish-button onclick handler in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/finish-button-onclick-handler/m-p/86619#M58579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'onclick' handler in dialog config is only for additional buttons that can be configured for dialogs, it does not apply to the finish button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, there is a way, you add the JS function handler for the onclick event when the page loads. There are a few examples of doing this in the web client, for example, have a look at /jsp/content/create-content-wizard/details.jsp, it has the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;document.getElementById("wizard:finish-button").onclick = function() {finishButtonPressed = true; clear_wizard();}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 09:20:54 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2007-07-23T09:20:54Z</dc:date>
    <item>
      <title>finish-button onclick handler</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/finish-button-onclick-handler/m-p/86618#M58578</link>
      <description>Hi!I want to add an onclick event handler to the finish command-button in the wizard/container.jsp. I do not want this action to fire for all wizard pages. Can I put some elements in the xml config and attach an onclick handler as it is in the dialog pages. Any other suggestions?</description>
      <pubDate>Sat, 21 Jul 2007 09:45:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/finish-button-onclick-handler/m-p/86618#M58578</guid>
      <dc:creator>kerem</dc:creator>
      <dc:date>2007-07-21T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: finish-button onclick handler</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/finish-button-onclick-handler/m-p/86619#M58579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'onclick' handler in dialog config is only for additional buttons that can be configured for dialogs, it does not apply to the finish button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, there is a way, you add the JS function handler for the onclick event when the page loads. There are a few examples of doing this in the web client, for example, have a look at /jsp/content/create-content-wizard/details.jsp, it has the following line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;document.getElementById("wizard:finish-button").onclick = function() {finishButtonPressed = true; clear_wizard();}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:20:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/finish-button-onclick-handler/m-p/86619#M58579</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-07-23T09:20:54Z</dc:date>
    </item>
  </channel>
</rss>

