<?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: Show dialog in a Share action calling a JavaScript WebScript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270861#M223991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 14:01:49 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2012-07-30T14:01:49Z</dc:date>
    <item>
      <title>Show dialog in a Share action calling a JavaScript WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270859#M223989</link>
      <description>I'm trying to config an action, which calls a javascript function, like the example on this sitehttp://ecmstuff.blogspot.com.br/2012/04/adding-document-library-actions-in.htmlThe action is:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;action id="mycompany.doclib.action.sendAsEmail"&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; icon="email"&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; type="javascri</description>
      <pubDate>Fri, 27 Jul 2012 19:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270859#M223989</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-07-27T19:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show dialog in a Share action calling a JavaScript WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270860#M223990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the authors class is NOT a Java-based web script, but simply a Java-based action - there is a difference between these two. Note that the initial Java-class is indeed a web script, but not the last example you referred to with the executor bean. An action can be called by the onActionFormDialog method - a webscript can't. Either you change your web script to a proper action or you stick to the initial action and change it to show a form which submits to your web script (note: every form can be configured to submit to a web script instead of the form service via a submission URL parameter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2012 12:58:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270860#M223990</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-07-28T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show dialog in a Share action calling a JavaScript WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270861#M223991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:01:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270861#M223991</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-07-30T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show dialog in a Share action calling a JavaScript WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270862#M223992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do the same thing than douglascrp but I'm new on Alfresco and Yahoo Toolkit… So I need help to follow your instructions in order to change the action to show a form. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand, I take the same function "YAHOO.Bubbling.fire" and construct my dialog call in &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;n: function mycompany_onActionSendEmail(file) { … } &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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question is : what should I use to display a dialog (Alfresco.modules.SimpleDialog?). My need is to invite the user to select an item in a dropdown list on the dialog form and to call a javascript webscript with this dropdown list value as parameter when submit. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then do I call&amp;nbsp; "this.modules.actions.genericAction(…)" on the submit dialog function ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-dialog-in-a-share-action-calling-a-javascript-webscript/m-p/270862#M223992</guid>
      <dc:creator>romvdn58</dc:creator>
      <dc:date>2013-05-08T15:53:00Z</dc:date>
    </item>
  </channel>
</rss>

