<?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: Debugging JS embedded in a form in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297431#M250561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Axel for your comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They were helpful to make me understand something more about the form mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I can try to extract some JS code from the control template and run it from an external JS; then I should be able to debug it as you suggest for the ObjectFinder component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 13:05:54 GMT</pubDate>
    <dc:creator>cgiuliano</dc:creator>
    <dc:date>2015-03-04T13:05:54Z</dc:date>
    <item>
      <title>Debugging JS embedded in a form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297428#M250558</link>
      <description>Hello everyone,I'm struggling to find a convenient way to do debugging on the Java Script code embedded into the dynamic form controls' templates.In&amp;nbsp; many FTL template for form controls (e.g. association.ftl) there is embedded JS to manage some kind of interaction. But when the form is &amp;lt;strong&amp;gt;</description>
      <pubDate>Wed, 25 Feb 2015 11:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297428#M250558</guid>
      <dc:creator>cgiuliano</dc:creator>
      <dc:date>2015-02-25T11:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging JS embedded in a form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297429#M250559</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;it depends on how you load the form. If it is part of the page load, you should be able to debug it as any other embedded JavaScript using FireBug. The tricky part comes when the forms is part of a dialog which is loaded asynchronously. I am not really sure you can efficiently debug this with FireBug at all - the best bet here would be to simply add the breakpoints inside of the ObjectFinder JS source instead of trying to debug the embedded JS code.&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>Wed, 25 Feb 2015 13:00:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297429#M250559</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-25T13:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging JS embedded in a form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297430#M250560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can add "debugger" statement in the embedded javascript, and use the developer window / console to debug the javascript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 06:09:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297430#M250560</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2015-02-27T06:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging JS embedded in a form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297431#M250561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Axel for your comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They were helpful to make me understand something more about the form mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I can try to extract some JS code from the control template and run it from an external JS; then I should be able to debug it as you suggest for the ObjectFinder component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:05:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-js-embedded-in-a-form/m-p/297431#M250561</guid>
      <dc:creator>cgiuliano</dc:creator>
      <dc:date>2015-03-04T13:05:54Z</dc:date>
    </item>
  </channel>
</rss>

