<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<title>Lord Lotus Blog - Category : dojo</title>
<description>Lord Lotus Blog - Category : dojo</description>
<lastBuildDate>Wed, 10 Feb 2010 10:00:29 -0400</lastBuildDate>
<link>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf</link>
<item><title>Configuring a Notes date field for use with the Dojo date picker</title><pubDate>Fri, 5 Jun 2009 13:08:28 -0400</pubDate><description><![CDATA[ Credit goes to Michelle O'Rorke.&nbsp; She had blogged about how to do this, but it didn't sink in&nbsp;for me the first time around.&nbsp; You need to change the field display settings so that Domino will render the date into international format ...]]></description><link>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SQMXX</link><category>dojo</category><dc:creator>Mike Sobczak</dc:creator><comments>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SQMXX</comments><guid isPermaLink="true">http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SQMXX</guid><content:encoded><![CDATA[ <p>Credit goes to Michelle O'Rorke.&nbsp; She had <a href="http://michelles-universe.blogspot.com/2008/11/discovering-dojo-for-domino-part-4.html" target="_blank">blogged</a> about how to do this, but it didn't sink in&nbsp;for me the first time around.&nbsp; You need to change the field display settings so that Domino will render the date into international format (&quot;yyyy-mm-dd&quot;).&nbsp; When the Dojo control processes the value in the field, it will format the date into the format using the i18n settings it detects in your browser.&nbsp; <br/>
<br/>
When you submit the form, Domino will be able to process the date because of the display settings for the field.&nbsp; The only other thing to do is add a computed for display field that will display the date normally (&quot;mm/dd/yyyy&quot; for us Yanks) when a document is being read.&nbsp; Here's a picture of how to do the date field settings:</p>
<br/>
<p><img height="426" alt="Date field display settings" src="http://www.punkdbynotes.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/(Images)/A264C94305A29300852575CC005DF187/$File/DateFieldDisplaySettingsForDojo.bmp" width="307"/></p>]]></content:encoded><wfw:commentRss>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/CommentsRSS?Open&amp;id=CC469C8FBC44A65A852575CC005E1956</wfw:commentRss><wfw:comment>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/PostComment?RunAgent&amp;id=CC469C8FBC44A65A852575CC005E1956</wfw:comment></item><item><title>More fun with Dojo: "Using JavaScript control" nullifies other Dojo components</title><pubDate>Sun, 31 May 2009 13:55:10 -0400</pubDate><description><![CDATA[ I've been including&nbsp;dojo components in my Domino form using the following $$HTMLHead field:

However, when I change a Rich Text field to use the new &quot;Using JavaScript control&quot; setting, the dojo rich text area appears, but none of my other ...]]></description><link>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SKNT5</link><category>dojo</category><dc:creator>Mike Sobczak</dc:creator><comments>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SKNT5</comments><guid isPermaLink="true">http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SKNT5</guid><content:encoded><![CDATA[ <p>I've been including&nbsp;dojo components in my Domino form using the following <strong>$$HTMLHead</strong> field:</p>
<p><img height="220" alt="Load Dojo $$HTMLHead" src="/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/(Images)/4D9CAED2A27002E0852575C700626165/$File/LoadDojo.jpg" width="675"/></p>
<p>However, when I change a Rich Text field to use the new &quot;Using JavaScript control&quot; setting, the dojo rich text area appears, but none of my other dojo controls (FilteringSelect, ComboBox, TextArea, etc.) will&nbsp;load.&nbsp; Nice...</p>]]></content:encoded><wfw:commentRss>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/CommentsRSS?Open&amp;id=18C5E8A037500E8B852575C70061D174</wfw:commentRss><wfw:comment>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/PostComment?RunAgent&amp;id=18C5E8A037500E8B852575C70061D174</wfw:comment></item><item><title>Question on dojo date picker</title><pubDate>Wed, 27 May 2009 10:04:53 -0400</pubDate><description><![CDATA[ I've been having a fun time trying to get the dojo date picker to work.&nbsp; I'm using dojo 1.1.1 that ships with Domino 8.5.

It seems that the dijit.form.DateTextBox widget won't load a date value that already exists in the document if its not in the ...]]></description><link>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SFJ83</link><category>dojo</category><dc:creator>Mike Sobczak</dc:creator><comments>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SFJ83</comments><guid isPermaLink="true">http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/d6plinks/DOMO-7SFJ83</guid><content:encoded><![CDATA[ I've been having a fun time trying to get the dojo date picker to work.&nbsp; I'm using dojo 1.1.1 that ships with Domino 8.5.<br/>
<br/>
It seems that the dijit.form.DateTextBox widget won't load a date value that already exists in the document if its not in the format dojo is expecting, which is &quot;yyyy-mm-dd&quot;.&nbsp; I tried reformatting the date in the &quot;HTML Attributes&quot; event for the field, but the date is still cleared out by the widget:<br/>
<br/>
<div style="margin-left: 40px;">date := SurveyDate;<br/>
year := @Text ( @Year ( date ) );<br/>
<br/>
month := @Text ( @Month ( date ) );<br/>
@If ( @Length ( month ) &lt; 2; month := &quot;0&quot; + month; &quot;&quot; );<br/>
<br/>
day := @Text ( @Day ( date ) );<br/>
@If ( @Length ( day ) &lt; 2; day := &quot;0&quot; + day; &quot;&quot; );<br/>
<br/>
&quot;dojoType=\&quot;dijit.form.DateTextBox\&quot; value=\&quot;&quot; + year + &quot;-&quot; + month + &quot;-&quot; + day + &quot;\&quot;&quot;<br/>
</div>
<br/>
The <a href="javascript:void(0);/*1243432436652*/">Dojomino</a> dojomino.dijit.form.DateTextBox widget solves this problem, but the load time for Dojomino far from optimal.<br/>
<br/>
Is there a way I can solve this problem using dojo 1.1.1?&nbsp; Or this problem been resolved with a later version of dojo?&nbsp; Or is there a way I can just load the one Dojomino widget I need?]]></content:encoded><slash:comments>0</slash:comments><wfw:commentRss>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/CommentsRSS?Open&amp;id=AED32C805D981AC9852575C3004D5A27</wfw:commentRss><wfw:comment>http://ww2.nutechs.com/hosting/msobczak/Blogs/BlogSphere-1_0_2/LordLotusBlog.nsf/PostComment?RunAgent&amp;id=AED32C805D981AC9852575C3004D5A27</wfw:comment></item></channel>
</rss>
