<?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 redirect in a .form ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/redirect-in-a-form/m-p/78005#M51691</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;I use my own version of the explorer(with vaadin) and the activiti engine. My problem is when i put a javascript redirect in the .form &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!–&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.location="&lt;A href="http://localhost:8080/mycompany?token=${token}&amp;amp;taskId=1" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/mycompany?token=${token}&amp;amp;taskId=1&lt;/A&gt;";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // –&amp;gt;&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt;Please wait…&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When i come back on the explorer application, the script is executed again.. and again… and again… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Aug 2011 08:46:03 GMT</pubDate>
    <dc:creator>bhj2</dc:creator>
    <dc:date>2011-08-06T08:46:03Z</dc:date>
    <item>
      <title>redirect in a .form ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/redirect-in-a-form/m-p/78005#M51691</link>
      <description>Hello,I use my own version of the explorer(with vaadin) and the activiti engine. My problem is when i put a javascript redirect in the .form &amp;lt;script language="javascript" type="text/javascript"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!–&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.location="http://localhost:8080/mycompany?token=${token}&amp;amp;taskId=1";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /</description>
      <pubDate>Sat, 06 Aug 2011 08:46:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/redirect-in-a-form/m-p/78005#M51691</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-08-06T08:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: redirect in a .form ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/redirect-in-a-form/m-p/78006#M51692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When using Vaadin, it's not a good idea to write your own javascript, let alone manipulating the page's location without passing through the Vaadin Mainwindow or Application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In vaading, you should do this (from the top of my head):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;application.getMainWindow().open(new ExternalResource("http://…."));&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 07:35:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/redirect-in-a-form/m-p/78006#M51692</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-09T07:35:52Z</dc:date>
    </item>
  </channel>
</rss>

