<?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: Creating Custom Form Widget with Dojo- Tutorial (in process) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234951#M188081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response.&amp;nbsp; Looks like I am at approximately the same point as you, having also read the wiki one pager on how to create custom widgets.&amp;nbsp; So have you actually managed to create a widget and encorporate it into alfresco?&amp;nbsp; If so can you provide an example?&amp;nbsp; I will be working on this today also so am happy to share my progress with you (assuming I make any). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2009 21:27:14 GMT</pubDate>
    <dc:creator>boneill</dc:creator>
    <dc:date>2009-10-20T21:27:14Z</dc:date>
    <item>
      <title>Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234944#M188074</link>
      <description>0</description>
      <pubDate>Sat, 26 Sep 2009 21:56:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234944#M188074</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-09-26T21:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234945#M188075</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;BR /&gt;&lt;SPAN&gt;Did you make any progress on the tutorial.&amp;nbsp; I need to implement a custom widget and hitting a brick wall on information of how to do this&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 04:08:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234945#M188075</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2009-10-20T04:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234946#M188076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still working, but I have gotten past a number of road-blocks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where are you stuck? What have you attempted &amp;amp; what's the roadblock?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 04:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234946#M188076</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-10-20T04:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234947#M188077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am pretty much stuck at the beginning.&amp;nbsp; I spent today trying to figure out dojo. I am trying to follow the advice of alfresco to create a html page for the dojo widget first and then create it as a widget.&amp;nbsp;&amp;nbsp; I created a simple dojo html page.&amp;nbsp; I now need it to call out to a webscript but it needs to run through alfresco so that I dont get cross domain issues when calling the webscript.&amp;nbsp; I cant get it to run in alfresco though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I placed it into the root of the alfresco webapp and try calling it but it just displays as straight html and does not call dojo.&amp;nbsp; very frustrating.&amp;nbsp; so I suppose first things first.&amp;nbsp; How do I create a html page and include it in alfresco so that I can use it as a dojo page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 05:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234947#M188077</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2009-10-20T05:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234948#M188078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dojo is just a javascript toolkit, so it's supposed to show up in all html (and javascript). There is no separate calling to dojo. Also, dojo is a separate entity from alfresco, so they can work independently. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.dojocampus.org/" rel="nofollow noopener noreferrer"&gt;http://docs.dojocampus.org/&lt;/A&gt;&lt;SPAN&gt;&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; will give you an idea of what dojo is. However, alfresco uses a really old version of dojo 0.4.1, I believe. So, most of the apis are out of date.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 07:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234948#M188078</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-10-20T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234949#M188079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cheers, understand a bit about dojo now but still no clearer on how you create a widget in alfresco.&amp;nbsp; Any heads up appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 10:31:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234949#M188079</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2009-10-20T10:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234950#M188080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Integrating the custom widget into Alfresco is best done by reverse engineering what's currently there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Creating_XForms_Widgets" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Creating_XForms_Widgets&lt;/A&gt;&lt;SPAN&gt;&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; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Integrating a custom Dojo widget into Alfresco involves:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 1. Adding your custom widget definition to xforms.js (located in the /scripts/ajax/ directory in alfresco.war)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 2. Registering the new widget with Alfresco in web-client-config-wcm.xml (located in the /WEB-INF/classes/alfresco/ directory in alfresco.war), giving it a symbolic name as part of that process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 3. Updating your Web Form XML Schema(s) to use your custom widget, by putting the widget's symbolic name in the "appearance" annotation of the relevant element(s) "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Digging through those files will let you see how alfresco incorporates dojo code into it's form processor. Another long-standing alfresco bug states that both of these files must be directly edited instead of extended. The alfresco framework hardcoded too many things to allow for simple per widget code extensions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 15:58:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234950#M188080</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-10-20T15:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234951#M188081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response.&amp;nbsp; Looks like I am at approximately the same point as you, having also read the wiki one pager on how to create custom widgets.&amp;nbsp; So have you actually managed to create a widget and encorporate it into alfresco?&amp;nbsp; If so can you provide an example?&amp;nbsp; I will be working on this today also so am happy to share my progress with you (assuming I make any). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 21:27:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234951#M188081</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2009-10-20T21:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234952#M188082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you done any work with applying custom appearances to xsds?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;basically, how it works is that you have to define a custom appearance (i.e., a new &amp;lt;widget&amp;gt; node in web-client-config-wcm.xml) that will point to your custom dojo javascript class. The new javascript class is added to xforms.js. For syntax, take a look at all of the out of the box &amp;lt;widget&amp;gt; nodes and how they point to a javascript class. Then find that class in xforms.js to see how it is defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the basic layout of the files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It'll look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;widget xforms-type="xf:select1" appearance="mycustom2" javascript-class-name="alfresco.xforms.ComboboxSelect2" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to web-client-config-wcm.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then add:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco.xforms.ComboboxSelect2 = alfresco.xforms.AbstractSelectWidget.extend({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;……&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to xforms.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still working on the specific logic of my widget, but that's how you incorporate them into alfresco. I fully agree that alfresco's documentation &amp;amp; existing forum posts are quite lacking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;let me know how that works for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 21:59:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234952#M188082</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-10-20T21:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234953#M188083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you made any progress? Please let me know if you ran into any issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I posted some walkthrough details and some summary information at: &lt;/SPAN&gt;&lt;A href="http://ecmconsultant.blogspot.com/" rel="nofollow noopener noreferrer"&gt;http://ecmconsultant.blogspot.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:03:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234953#M188083</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-10-27T05:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom Form Widget with Dojo- Tutorial (in process)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234954#M188084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if you're following this thread, but I wanted to know if you got everything worked out. Any issues crop up?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 22:13:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-custom-form-widget-with-dojo-tutorial-in-process/m-p/234954#M188084</guid>
      <dc:creator>rsulliv1</dc:creator>
      <dc:date>2009-11-06T22:13:53Z</dc:date>
    </item>
  </channel>
</rss>

