<?xml version="1.0" encoding="ISO-8859-1"?>
<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/"
 xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
<channel>
<title>John's Blog</title>
<description>Full Posts from Articles</description>
<lastBuildDate>Thu, 7 May 2009 10:06:20 -0400</lastBuildDate>
<link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf</link>
<item><title>XPages - Undocumented Feature that will help you build Plug-n-Play Custom Controls</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-CstomControls-Tip</link><description><![CDATA[ When building Custom Controls for XPages, the ultimate goal is to make the Custom Control plug-n-play. &nbsp;You want to be able to drop the custom control on any XPage and have it interact with the XPage seamlessly.

Being a Design Partner, I have been ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-CstomControls-Tip</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-CstomControls-Tip</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">When building Custom Controls for XPages, the ultimate goal is to make the Custom Control plug-n-play. &nbsp;You want to be able to drop the custom control on any XPage and have it interact with the XPage seamlessly.</font>
<br />
<br /><font size=2 face="sans-serif">Being a Design Partner, I have been working with XPages since the pre-beta versions. &nbsp;Prior to that I was Design Partner for the Lotus Component Designer. &nbsp;So to come across a new feature is exciting.... &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">I recently wanted to make a custom control completely independent of the XPage it was on (</font><a href="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control" target=_blank><font size=2 color=blue face="sans-serif">see this custom control</font></a><font size=2 face="sans-serif">). &nbsp;Yet I still needed to grab some values from the datasource for the XPage the control is placed on. &nbsp;The issue is that the XPage datasource name is set by the developer and I could not see a way to determine the datasource name without requiring the end developer to place additional code on their XPage to support my custom control.</font>
<br />
<br /><font size=2 face="sans-serif">Looking through the Request Scope variables on the page at runtime, I found that there is a variable present on every XPage called <strong>currentDocument</strong>. &nbsp;Sure enough, it was of NotesXSPDocument type and was set to the current document for the XPage. &nbsp;So I could now have access to any data on the document I needed without knowing the datasource name. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">For example, if I wanted to find out what the Form name for the document opened in the XPage that my custom control was on, I could use the following code:</font>
<br /><font size=2 face="sans-serif"><em>theForm=currentDocument.getForm();</em></font>
<br />
<br /><font size=2 face="sans-serif">or to get the backend NotesDocument and determine the Document unique ID:</font>
<br />
<br /><font size=2 face="sans-serif"><em>doc=currentDocument.getDocument();<br /> docUNID=doc.getUniversalID(); </em></font>
<br />
<br /><font size=2 face="sans-serif">I checked with the XPages Chief Architect, Phil Riand, and this object will be supported in future releases and will be documented. &nbsp;So it is safe to use this feature in your applications.</font>
<br />
<br /><font size=2 face="sans-serif">Enjoy....</font>
<br />
<br /><font size=2 face="sans-serif">-John</font>
<br /> ]]></content:encoded><pubDate>Thu, 7 May 2009 10:06:20 -0400</pubDate><slash:comments>5</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=010C184758D07B48882575AF004D7DAB</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=010C184758D07B48882575AF004D7DAB</wfw:comment></item><item><title>XPages Multi Attachments Custom Control - on OpenNTF.org</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control</link><description><![CDATA[ I updated my sample Multi Attachment custom control to now accept configuration parameters so it is easier to reuse the control in different applications. &nbsp;The updated application can be downloaded from OpenNTF.org by clicking here. &nbsp;

I decided ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">I updated my sample </font><a href="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7" target=_blank><font size=2 color=blue face="sans-serif">Multi Attachment custom control</font></a><font size=2 face="sans-serif"> to now accept configuration parameters so it is easier to reuse the control in different applications. &nbsp;The updated application can be downloaded from OpenNTF.org by </font><a href=http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages%20Multi%20Attachment%20Custom%20Control target=_blank><font size=2 color=blue face="sans-serif">clicking here</font></a><font size=2 face="sans-serif">. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">I decided to make the control easy to drag and drop onto any XPage after speaking with Niklas Heidloff from IBM. &nbsp;He was filling me in on all the </font><a href="http://www-10.lotus.com/ldd/heidloffblog.nsf/dx/openntf-and-ibm" target=_blank><font size=2 color=blue face="sans-serif">changes coming soon to OpenNTF.org</font></a><font size=2 face="sans-serif"> and I felt it was important to contribute to the efforts that are underway. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif"><strong>About the Multi Attachment Custom Control</strong></font>
<br /><font size=2 face="sans-serif">This custom control uses a central attachment repository db for all the attachments for your application. &nbsp;It allows the user to add as many attachments to a document as they want by clicking the &quot;Add New Upload&quot; button . &nbsp;Each attachment is a separate document in the attachment repository and is linked back to the document using the document's universalID. &nbsp;The custom control uses a repeat control to repeat a description and download control for each attachment.</font>
<br />
<br /><font size=2 face="sans-serif">The parameters I added allow you to specify the location and name of the repository database as well as control the various features of the file download control. &nbsp;The repository contains a single view and form. &nbsp;You can place that view and form into any database to create the repository.</font>
<br />
<br /><font size=2 face="sans-serif">Here's a screen shot of the custom control being used on an XPage that tracks Project information:</font>
<br />
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control/StoryRichTextMime/M2?OpenElement"  alt="Image:John's Blog - XPages Multi Attachments Custom Control - on OpenNTF.org" Title="Image:John's Blog - XPages Multi Attachments Custom Control - on OpenNTF.org" />
<br />
<br /><font size=2 face="sans-serif">Here's a screen shot showing the parameters:</font>
<br />
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-MultiFile-Download-Control/StoryRichTextMime/M3?OpenElement"  alt="Image:John's Blog - XPages Multi Attachments Custom Control - on OpenNTF.org" Title="Image:John's Blog - XPages Multi Attachments Custom Control - on OpenNTF.org" />
<br />
<br /><font size=2 face="sans-serif"><strong>Descriptions of the available parameters</strong></font>
<br />
<table>
<tr valign=top>
<td><font size=2 face="sans-serif"><strong><em>Parameter</em></strong></font>
<td><font size=2 face="sans-serif"><strong><em>Description</em></strong></font>
<td><font size=2 face="sans-serif"><strong><em>Type</em></strong></font>
<tr valign=top>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">fileUploadDbName</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">The db name that will store the attachments. &nbsp;Include the full path from the Notes data directory.</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">string</font>
<tr valign=top>
<td><font size=2 face="sans-serif">hideIfNoAttachments</font>
<td><font size=2 face="sans-serif">Controls the visibility of the download control if there are no attachments</font>
<td><font size=2 face="sans-serif">boolean</font>
<tr valign=top>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">showCreatedDate</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">Controls the visibility of the column for Creation date</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">boolean</font>
<tr valign=top>
<td><font size=2 face="sans-serif">showModifiedDate</font>
<td><font size=2 face="sans-serif">Controls the visibility of the column for Modified date</font>
<td><font size=2 face="sans-serif">boolean</font>
<tr valign=top>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">showSize</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">Controls the visibility of the column for Attachment size</font>
<td bgcolor=#e1e1e1><font size=2 face="sans-serif">boolean</font>
<tr valign=top>
<td><font size=2 face="sans-serif">showType</font>
<td><font size=2 face="sans-serif">Controls the visibility of the column for Attachment tyope</font>
<td><font size=2 face="sans-serif">boolean</font></table>
<br />
<br />
<br /><font size=2 face="sans-serif">You can download the control here: </font><a href=http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages%20Multi%20Attachment%20Custom%20Control target=_blank><font size=2 color=blue face="sans-serif">http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages%20Multi%20Attachment%20Custom%20Control</font></a><font size=2 face="sans-serif">.</font>
<br />
<br /><font size=2 face="sans-serif">You can read more about how the control was built by clicking here: </font><a href="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7"><font size=2 color=blue face="sans-serif">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7</font></a>
<br />
<br /><font size=2 face="sans-serif">Please feel free to contact me if you have any issues or questions.....</font>
<br />
<br /><font size=2 face="sans-serif">-John</font>
<br /> ]]></content:encoded><pubDate>Wed, 6 May 2009 09:10:52 -0400</pubDate><slash:comments>4</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=A5F0C26E039884D3852575AE004867FA</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=A5F0C26E039884D3852575AE004867FA</wfw:comment></item><item><title>XPages and 8.5 Discussion Template - a Fix for the File Download Control</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control</link><description><![CDATA[ Many people have been asking for my help with a problem with the 8.5 Discussion template's File Download control. &nbsp;The reason is that I have an example of a Custom Control for storing file attachments in a central database which uses the File Download ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Many people have been asking for my help with a problem with the 8.5 Discussion template's File Download control. &nbsp;The reason is that I have an example of a </font><a href="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7" target=_blank><font size=2 color=blue face="sans-serif">Custom Control for storing file attachments in a central database</font></a><font size=2 face="sans-serif"> which uses the File Download control and has the same issue.</font>
<br />
<br /><font size=2 face="sans-serif">The issue with the File Download control in XPages is that it does not launch Microsoft attachments properly when using Internet Explorer. &nbsp;The secondary issue is that it throws an exception if your database is in a subdirectory. &nbsp;You can read the details here in the </font><a href="http://www-10.lotus.com/ldd/nd85forum.nsf/DateAllThreadedWeb/4880d93741490ff58525755400839508?OpenDocument" target=_blank><font size=2 color=blue face="sans-serif">8.5 Discussion forum</font></a><font size=2 face="sans-serif">. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">Last week Irina Kojevnikova posted a
</font><a href="http://www-10.lotus.com/ldd/nd85forum.nsf/5f27803bba85d8e285256bf10054620d/38099b506bf791e08525759a0076565d?OpenDocument" target=_blank><font size=2 color=blue face="sans-serif">solution to the problem</font></a><font size=2 face="sans-serif">. &nbsp;Her solution overrides the File Download control's HREF for each attachment. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">Here is a description of the solution:</font>
<br />
<br /><font size=2 face="sans-serif">On the All Properties tab for the File Download control, there is a property <strong><em>fileNameHrefValue </em></strong>which is computable.</font>
<br />
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control/StoryRichTextMime/M2?OpenElement"  alt="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" Title="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" />
<br />
<br />
<br /><font size=2 face="sans-serif">The JavaScript for the value computes the url for each attachment by referencing the current row using the data-&gt;var property value <strong><em>rowData. &nbsp;</em></strong>As the control loops through the attachments, we can get the name of each attachment by using rowData.getName(). Now we can use the filename to build a new url for each attachment.</font>
<br />
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control/StoryRichTextMime/M3?OpenElement"  alt="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" Title="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" />
<br />
<br />
<br /><font size=2 face="sans-serif">The data var property is set on the All properties tab under the data section.</font>
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-File-Download-Control/StoryRichTextMime/M4?OpenElement"  alt="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" Title="Image:John's Blog - XPages and 8.5 Discussion Template - a Fix for the File Download Control" />
<br />
<br /><font size=2 face="sans-serif">The end result is a url similar to:
</font><a href=http://localhost/TestDiscussion.nsf/0/A8364817576EF43F852575A30043E76D/%24FILE/JohnExcel.xls><font size=2 face="sans-serif">http://localhost/TestDiscussion.nsf/0/A8364817576EF43F852575A30043E76D/%24FILE/JohnExcel.xls</font></a>
<br />
<br /><font size=2 face="sans-serif">One issue I could not completely resolve was that if the user attaches files and the document has not been saved yet, the new url will not work since it is using the universalID. &nbsp;Most likely the person that uploads a file will not try and launch it immediately, though they might want to delete it. &nbsp;So I replaced the href with &quot;#&quot; if it is a new document so there will not be an error message if the user clicks on the file...it will do nothing. &nbsp;If anyone has a suggestion on a different approach, please let me know.</font>
<br />
<br /><font size=2 face="sans-serif">I updated the discussion8.ntf template with the fix and you can download that here: </font><a href=http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/D6plinks/discussion8.htm/$FILE/discussion8.zip><font size=2 color=blue face="sans-serif">discussion8.ntf</font></a><font size=2 face="sans-serif">. &nbsp;You will need to sign the database with a production id for use on your server, or sign the 3 custom controls I updated: mainTopic, response, and viewTopic. &nbsp;I also updated my </font><a href="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7G3GF7" target=_blank><font size=2 color=blue face="sans-serif">Custom Control for storing file attachments in a central database</font></a><font size=2 face="sans-serif"> with the fix.</font>
<br />
<br /><font size=2 face="sans-serif">Thank you to Irina for putting together a solution! &nbsp;Also, a special thanks to Richard Cotrim who spent some time this weekend testing the solution.</font>
<br />
<br /><font size=2 face="sans-serif">-John</font> ]]></content:encoded><pubDate>Tue, 28 Apr 2009 10:49:36 -0400</pubDate><slash:comments>2</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=6751142C3D5DE802882575A600516231</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=6751142C3D5DE802882575A600516231</wfw:comment></item><item><title>XPages/Domino 8.5 - Extending the Dojo Rich Text Editor Toolbar</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Extend-Dojo-Editor</link><description><![CDATA[ A number of folks, including myself, have been looking to extend the XPages/Domino 8.5 Dojo Rich Text Editor toolbar. &nbsp;The Dojo Editor toolbar usually has other features available such as the create link or insert image. &nbsp;The issue in adding the ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Extend-Dojo-Editor</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Extend-Dojo-Editor</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">A number of folks, including myself, have been looking to extend the XPages/Domino 8.5 Dojo Rich Text Editor toolbar. &nbsp;The Dojo Editor toolbar usually has other features available such as the create link or insert image. &nbsp;The issue in adding the additional plugins is that Domino 8.5 has it's own flavor of the Dojo Editor.</font>
<br />
<br /><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/04022009010354PMWEBMZZ.htm" target=_blank><font size=2 color=blue face="sans-serif">Steve Leland has just published a Wiki article</font></a><font size=2 face="sans-serif"> describing how to extend the &quot;ibm.domino.widget.layout.DominoRichText class&quot; to add in some additional features to the toolbar. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">He points out that the plugins for the following are shipped with Designer and Domino Server but are not implemented:</font>
<ul>
<li><font size=2 face="sans-serif"><strong><em>formatBlock</em></strong> - assigns css defined formats</font></li>
<li><font size=2 face="sans-serif"><strong><em>createLink</em></strong> - constructs an anchor tag with a user supplied URL</font></li>
<li><font size=2 face="sans-serif"><strong><em>insertImage</em></strong> - constructs an image tag with a user supplied URL </font></li>
</ul>
<br /><font size=2 face="sans-serif">In this article Steve show's how to extend the Editor for both XPages and the Domino classic web server. &nbsp;</font>
<br />
<br /><font size=2 face="sans-serif">Here's a snippet from the article describing how to extend the toolbar for XPages:</font>
<br />
<br /><font size=2 face="sans-serif"><strong><em>XPages</em></strong><em><br /> Let's create a JavaScript class in data\domino\js\dojo-1.1.1\test\widget\layout\TestRichText.js to encapsulate the LinkDialog dependency - using the dojo.require() statement.&nbsp;&nbsp; Here's the file contents:</em></font>
<br /><font size=2 face="sans-serif"><em>/* ******************************************************************/<br /> /*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<br /> /* Sample Rich Text Toolbar extension &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<br /> /*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;a mp;am p;nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<br /> /* ******************************************************************/<br /> dojo.provide(&quot;test.widget.layout.TestRichText&quot;);<br />
<br /> dojo.require(&quot;ibm.domino.widget.layout.DominoRichText&quot;);<br /> dojo.require(&quot;dijit._editor.plugins.LinkDialog&quot;);<br /> dojo.declare(&quot;test.widget.layout.TestRichText&quot;, ibm.domino.widget.layout.DominoRichText, {<br /> &nbsp;&nbsp;&nbsp; constructor: function() {<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(dojo.isArray(this.extraPlugins)) {<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; this.extraPlugins.push(&quot;|&quot;, &quot;formatBlock&quot;, &quot;createLink&quot;,&quot;insertImage&quot;, &quot;|&quot;);<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else {<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; this.extraPlugins = [ &quot;formatBlock&quot;, &quot;createLink&quot;, &quot;insertImage&quot;,&quot;|&quot; ];<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br /> &nbsp;&nbsp;&nbsp; }//,<br /> }<br /> );</em></font>
<br /><font size=2 face="sans-serif"><em><br /> Save that to the TestRichText.js file.<br />
<br /> Now we need to have the XPage which uses our rich text control instruct Dojo runtime to load our class into the browser - with a dojo.requires('test.widget.layout.TestRichText') statement.&nbsp; This is done using our XPage's Properties tab, and selecting 'All Properties'.&nbsp; We are interested in the 'resources' property - clicking on the plus image lets us identify our resource as a Dojo Module, and we give it our class as a value:<br />
<br />
</em></font><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Extend-Dojo-Editor/StoryRichTextMime/M2?OpenElement"  alt="Image:John's Blog - XPages/Domino 8.5 - Extending the Dojo Rich Text Editor Toolbar" Title="Image:John's Blog - XPages/Domino 8.5 - Extending the Dojo Rich Text Editor Toolbar" /><font size=2 face="sans-serif"><em><br />
<br /> Then we need to put a rich text control on our XPage, exactly as if it were an ordinary rich text control, and on its Properties tab, select 'All Properties' and set the dojoType with a value of our class:<br />
</em></font><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Extend-Dojo-Editor/StoryRichTextMime/M3?OpenElement"  alt="Image:John's Blog - XPages/Domino 8.5 - Extending the Dojo Rich Text Editor Toolbar" Title="Image:John's Blog - XPages/Domino 8.5 - Extending the Dojo Rich Text Editor Toolbar" /><font size=2 face="sans-serif"><em><br />
</em></font><font size=3><br />
</font><font size=2>Here is the link to the full article: </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/04022009010354PMWEBMZZ.htm"><font size=2>http://www-10.lotus.com/ldd/ddwiki.nsf/dx/04022009010354PMWEBMZZ.htm</font></a><font size=3><br />
</font>
<br /><font size=2>Nice work Steve!</font>
<br />
<br /><font size=2>-John</font> ]]></content:encoded><pubDate>Mon, 6 Apr 2009 10:04:26 -0400</pubDate><slash:comments>1</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=C89E7FC716C5F51085257590004D4F9C</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=C89E7FC716C5F51085257590004D4F9C</wfw:comment></item><item><title>Two New Notes and Domino 8.5 Courses for Developers and Administrators </title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7Q7KT7</link><description><![CDATA[ The folks over at TLCC, The Learning Continuum Company, &nbsp;have just released two new distance learning courses. &nbsp;They are:


Notes and Domino 8.5 Application Development Update
Notes Domino 8.5 System Administration Update
In addition, there ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7Q7KT7</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7Q7KT7</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">The folks over at TLCC, </font><a href=http://www.tlcc.com/admin/tlccsite.nsf/pages/dom85courses target=_blank><font size=2 color=blue face="sans-serif">The Learning Continuum Company</font></a><font size=2 face="sans-serif">, &nbsp;have just released two new distance learning courses. &nbsp;They are:</font>
<br />
<ul>
<li><font size=2 face="sans-serif">Notes and Domino 8.5 Application Development Update</font></li>
<li><font size=2 face="sans-serif">Notes Domino 8.5 System Administration Update</font></li>
</ul><font size=2 face="sans-serif">In addition, there will be a full XPages course available in April.</font>
<br />
<br /><font size=2 face="sans-serif">I have had the opportunity to review the 8.5 application development update course. &nbsp;It's packed with content, demonstrations, and hands on examples covering all the new features of Domino Designer on Eclipse. &nbsp;This includes XPages, DOJO rich text editor, and the use of CSS and Themes, the new Java and LotusScript programming interfaces, as well as what's new in Composite Applications.</font>
<br />
<br /><font size=2 face="sans-serif">The 8.5 system administration update course covers the Domino Configuration Tuner, Domino Attachment and Object Services (DAOS), Dynamic Policies, and the new ID Vault....to name a few of the topics.</font>
<br />
<br /><font size=2 face="sans-serif">If you want to update your skills, or are looking to take your certification update exams, #951 or #956, then take a look at the the TLCC site for more details and cost info: </font><a href=http://www.tlcc.com/admin/tlccsite.nsf/pages/dom85courses><font size=2 face="sans-serif">http://www.tlcc.com/admin/tlccsite.nsf/pages/dom85courses</font></a>
<br />
<br /><font size=2 face="sans-serif">-John </font>
<br /> ]]></content:encoded><pubDate>Mon, 16 Mar 2009 11:10:36 -0400</pubDate><slash:comments>1</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=21F4D101305C62ED8825757B00535EFB</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=21F4D101305C62ED8825757B00535EFB</wfw:comment></item><item><title>Using XPages to Integrate Between Notes Applications with Relational Databases - Wiki article</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-RDB-Integration</link><description><![CDATA[ Jo Grant and Craig Wolpert from the IBM ISV Development Enablement team, have published a new Wiki article titled
Using XPages to Integrate Between Notes Applications with Relational Databases. &nbsp;These guys are on a roll over there and have produced 10 ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-RDB-Integration</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-RDB-Integration</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Jo Grant and Craig Wolpert from the IBM ISV Development Enablement team, have published a new Wiki article titled<strong>
</strong></font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpage_integration_rdb.htm" target=_blank><font size=2 color=blue face="sans-serif">Using XPages to Integrate Between Notes Applications with Relational Databases</font></a><font size=2 face="sans-serif">. &nbsp;These guys are on a roll over there and have produced 10 great Wiki examples over the last 2 weeks. &nbsp;(I believe they have secretively developed an XPage vitamin they are taking that allows them to work around the clock....but I can't prove it...)</font>
<br />
<br /><font size=2 face="sans-serif">In this example they show how you can use connectivity to a MySQL database to:</font>
<br />
<br /><font size=2 face="sans-serif">1 - Create a Repeat based view of our data</font>
<br /><font size=2 face="sans-serif">2 - Create a form to view a single record</font>
<br /><font size=2 face="sans-serif">3 - Use that form to update the data</font>
<br />
<br /><font size=2 face="sans-serif">Here's a snippet from the article:</font>
<br />
<br /><font size=2 face="sans-serif"><em>You can easily direct XPage elements to surface data from different Notes applications. It turns out not to be much harder to surface data from different back end data sources with XPages. <br /> The key to integrating different data technologies is by binding them together with Javascript. Almost any XPage control that surfaces data has the option to surface that data from a Javascript source. So any data repository you can get to from Javascript can be used by XPages. </em></font>
<br /><font size=2 face="sans-serif"><em><br /> Relational databases (RDB) are a very widely used technology for storing data. Many relational databases are accessible through Java Database Connectivity (JDBC). And this Java interface can be called from Javascript. This is our key to surfacing RDB data in an XPage. For our example here we will show connectivity to the MySQL relational database. </em></font>
<br />
<br /><font size=2 face="sans-serif">Here's a link to the article: </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpage_integration_rdb.htm" target=_blank><font size=2 color=blue face="sans-serif">http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpage_integration_rdb.htm</font></a>
<br />
<br /><font size=2 face="sans-serif">Great article and nice work guys!</font>
<br />
<br /><font size=2 face="sans-serif">John</font> ]]></content:encoded><pubDate>Mon, 2 Mar 2009 18:15:21 -0400</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=F7C41DBD0A8C07C08525756D007FBF75</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=F7C41DBD0A8C07C08525756D007FBF75</wfw:comment></item><item><title>Lead Manager XPage Sample on OpenNTF.org</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Lead-Mgr-Sample</link><description><![CDATA[ There was a new article posted today in the Lotus Domino Designer Wiki titled Lead Manager XPage Sample Overview authored by Jo Grant and Craig Wolpert. &nbsp;The corresponding sample application is distributed on OpenNTF.org.

This application is a great ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Lead-Mgr-Sample</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Lead-Mgr-Sample</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">There was a new article posted today in the Lotus Domino Designer Wiki titled </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/lead_manager_x_overview.htm" target=_blank><font size=2 color=blue face="sans-serif">Lead Manager XPage Sample Overview </font></a><font size=2 face="sans-serif">authored by Jo Grant and Craig Wolpert. &nbsp;The corresponding sample application is distributed on </font><a href=http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Lead%20Manager%20X target=_blank><font size=2 color=blue face="sans-serif">OpenNTF.org</font></a><font size=2 face="sans-serif">.</font>
<br />
<br /><font size=2 face="sans-serif">This application is a great way to learn XPages. It's an example of taking a Notes client application and providing a modern web interface by using XPages. &nbsp;The application itself consists of 4 databases.</font>
<br />
<br /><font size=2 face="sans-serif">Here is a screen shot of the 4 databases in the Notes client:</font>
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Lead-Mgr-Sample/StoryRichTextMime/M2?OpenElement"  alt="Image:John's Blog - Lead Manager XPage Sample on OpenNTF.org" Title="Image:John's Blog - Lead Manager XPage Sample on OpenNTF.org" />
<br />
<br />
<br /><font size=2 face="sans-serif">And here is a screen shot of the application with the new XPage design:</font>
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Lead-Mgr-Sample/StoryRichTextMime/M3?OpenElement"  alt="Image:John's Blog - Lead Manager XPage Sample on OpenNTF.org" Title="Image:John's Blog - Lead Manager XPage Sample on OpenNTF.org" />
<br />
<br /><font size=2 face="sans-serif">The full link to the article: </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/lead_manager_x_overview.htm"><font size=2 face="sans-serif">http://www-10.lotus.com/ldd/ddwiki.nsf/dx/lead_manager_x_overview.htm</font></a><font size=2 face="sans-serif">
</font>
<br />
<br /><font size=2 face="sans-serif">and the sample download can be found here: </font><a href=http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Lead%20Manager%20X><font size=2 face="sans-serif">http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Lead%20Manager%20X</font></a>
<br />
<br /><font size=2 face="sans-serif">John</font> ]]></content:encoded><pubDate>Mon, 23 Feb 2009 12:10:45 -0400</pubDate><slash:comments>1</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=C603A30FC22B652B85257566005E5E5E</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=C603A30FC22B652B85257566005E5E5E</wfw:comment></item><item><title>Great series of articles published - Using existing business logic in an XPage: Java, LS, and Web Services</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Wiki-Bus-Logic</link><description><![CDATA[ There is a really interesting series of articles posted today over in the Lotus Designer Wiki. &nbsp;The 4 articles were published today by Jo Grant and Craig Wolpert from IBM.

The series is titled: &nbsp;Using existing business logic in an ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Wiki-Bus-Logic</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/XPages-Wiki-Bus-Logic</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">There is a really interesting series of articles posted today over in the Lotus Designer Wiki. &nbsp;The 4 articles were published today by Jo Grant and Craig Wolpert from IBM</font><font size=3>.</font>
<br />
<br /><font size=2 face="sans-serif">The series is titled: &nbsp;</font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/reuse_business_logic_xpage.htm" target=_blank><font size=2 color=blue face="sans-serif">Using existing business logic in an Xpage</font></a><font size=2 face="sans-serif">.
</font><font size=3 face="sans-serif">&nbsp;</font><font size=2 face="sans-serif">It discusses how you can use your existing business logic that is in Lotusscript, Java, or Web Services from within your new XPage applications. &nbsp;I've heard many people ask questions and voice concerns around this topic, so I think this series will be a great help to those folks who want to go forward with XPages without having to rewrite lots of code for their applications.</font>
<br />
<br /><font size=2 face="sans-serif">The 1st article is an overview containing links to the other 3 articles. &nbsp;Here's the direct link: </font>
<br /><font size=2 face="sans-serif">- </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/reuse_business_logic_xpage.htm"><font size=2 face="sans-serif">http://www-10.lotus.com/ldd/ddwiki.nsf/dx/reuse_business_logic_xpage.htm</font></a>
<br />
<br /><font size=2 face="sans-serif">Thanks Jo and Craig for your hard work....I look forward to reading the series and working with the techniques this weekend!</font>
<br />
<br /><font size=2 face="sans-serif">John</font> ]]></content:encoded><pubDate>Fri, 20 Feb 2009 16:29:21 -0400</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=C4AC4BB3C9F83E0B8525756300760B6B</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=C4AC4BB3C9F83E0B8525756300760B6B</wfw:comment></item><item><title>New Wiki Post - SHOW106 Building A Cool Web 2.0 Application With XPages</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NYQW8</link><description><![CDATA[ Paul Hannan's and Azadeh Salehi's Lotsuphere
SHOW106 presentation and example downloads were posted to the Lotus Designer Wiki today. &nbsp; Here's the description:


Using Lotus Domino Designer 8.5, we will create a Lotus Domino XPage web application ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NYQW8</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NYQW8</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Paul Hannan's and Azadeh Salehi's Lotsuphere
</font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/LS09_SHOW106.htm" target=_Blank><font size=2 color=blue face="sans-serif">SHOW106 presentation</font></a><font size=2 face="sans-serif"> and example downloads were posted to the Lotus Designer Wiki today. &nbsp; Here's the description:</font>
<br /><font size=2 face="sans-serif"><br />
</font>
<br /><font size=2 face="sans-serif"><em>Using Lotus Domino Designer 8.5, we will create a Lotus Domino XPage web application that utilizes advanced Web 2.0 technology, and explain what we are doing it along the way. &nbsp;This step by step demonstration will highlight many of the application development improvements for Lotus Domino 8.5. &nbsp;See how you can develop with Domino Designer and XPages. &nbsp;We will explore AJAX, Script Libraries, DoJo and custom controls. <br />
<br /> Download </em></font><a href=http://download.boulder.ibm.com/ibmdl/pub/software/dw/lotus/ls09/SHOW106/SHOW106_Updated20090203.pdf target=_blank><font size=2 color=blue face="sans-serif"><em><u>SHOW106_Updated20090203.pdf</u></em></font></a><font size=2 face="sans-serif"><em> &nbsp;(or for a faster download that this </em></font><a href=http://download.boulder.ibm.com/ibmdl/pub/software/dw/lotus/ls09/SHOW106/SHOW106_Updated20090203.zip><font size=2 color=blue face="sans-serif"><em><u>zip</u></em></font></a><font size=2 face="sans-serif"><em> file) to get started. This is a 172 page presentation that is a step-by-step guide on how to build this cool application with XPages. It demonstrates in three parts how you can rapidly put this application together. The application (see screenshot) itself is a profiles type application similar in many ways to a contacts list. It'll allow the user to create a new profile document, search for existing profiles aided by Ajax type ahead and view filtering, add 'friends' to their own profile, as well as many other features. </em></font>
<br />
<br />
<br /><font size=2 face="sans-serif">Looks like a great XPage tutorial. &nbsp;The url to the article is: </font><a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/LS09_SHOW106.htm" target=_Blank><font size=2 color=blue face="sans-serif">http://www-10.lotus.com/ldd/ddwiki.nsf/dx/LS09_SHOW106.htm</font></a>
<br />
<br /><font size=2 face="sans-serif">John</font> ]]></content:encoded><pubDate>Thu, 5 Feb 2009 14:31:30 -0400</pubDate><slash:comments>0</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=DB67DD3176B2A75985257554006B4135</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=DB67DD3176B2A75985257554006B4135</wfw:comment></item><item><title>Updated my XPage examples for 8.5 Gold  - how to "Clean" a project</title><link>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NUMR9</link><description><![CDATA[ Most of my XPage examples that are posted on my site were created with the 8.5 Beta 1 or Beta 2 releases. &nbsp;I found out recently that some folks were having problems running the examples on 8.5 Gold. &nbsp;The solution for most of the issues was to ...]]></description><dc:subject>Domino 8.5</dc:subject><dc:creator>groupwareinc</dc:creator><comments>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NUMR9</comments><guid isPermaLink="true">http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NUMR9</guid><content:encoded><![CDATA[ <font size=2 face="sans-serif">Most of my XPage examples that are posted on my site were created with the 8.5 Beta 1 or Beta 2 releases. &nbsp;I found out recently that some folks were having problems running the examples on 8.5 Gold. &nbsp;The solution for most of the issues was to recompile the application within the 8.5 Gold designer. &nbsp;To do this, you can &quot;<strong>Clean</strong>&quot; the project from the Project menu:</font>
<br />
<br /><font size=2 face="sans-serif">- From the Project menu select Clean:</font>
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NUMR9/StoryRichTextMime/M2?OpenElement"  alt="Image:John's Blog - Updated my XPage examples for 8.5 Gold  - how to "Clean" a project" Title="Image:John's Blog - Updated my XPage examples for 8.5 Gold  - how to "Clean" a project" />
<br />
<br /><font size=2 face="sans-serif">- You will then will be prompted to select the projects you want to Clean:</font>
<br /><img src="http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/d6plinks/GROC-7NUMR9/StoryRichTextMime/M3?OpenElement"  alt="Image:John's Blog - Updated my XPage examples for 8.5 Gold  - how to "Clean" a project" Title="Image:John's Blog - Updated my XPage examples for 8.5 Gold  - how to "Clean" a project" />
<br />
<br /><font size=2 face="sans-serif">That's it. &nbsp;The Project &nbsp;is now recompiled.</font>
<br />
<br /><font size=2 face="sans-serif">I did find a couple of issues where I addressed the results of an @DbLookup() directly as an array. &nbsp;For example: </font>
<br /><font size=2 face="Courier New">docID=@DbLookup(@DbName(),</font><font size=2 color=#8100ff face="Courier New">&quot;vCustomers&quot;</font><font size=2 face="Courier New">,customerName,5);</font>
<br />
<br /><font size=2 face="sans-serif">I accessed docID[0] for the first element. &nbsp;The @DbLookup() function has changed in the Gold release. &nbsp;If multiple results are returned from an @DbLookup, an array is returned. &nbsp;If a single result is returned the result is the type, such as &quot;string&quot;. So if you expect only 1 matching document, then the result would be &quot;docID&quot; instead of &quot;docID[0]&quot;.</font>
<br />
<br /><font size=2 face="sans-serif">All the samples have been updated now, so if you have had any issues with any example from my site since the Gold release, please download a new copy.</font>
<br />
<br /><font size=2 face="sans-serif">John</font>
<br /> ]]></content:encoded><pubDate>Sun, 1 Feb 2009 11:49:56 -0400</pubDate><slash:comments>4</slash:comments><wfw:commentRss>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/CommentsRSS?Open&amp;id=A5FB8301674A628885257550005C7696</wfw:commentRss><wfw:comment>http://www.jmackey.net/groupwareinc/johnblog/johnblog.nsf/PostComment?RunAgent&amp;id=A5FB8301674A628885257550005C7696</wfw:comment></item></channel>
</rss>
