Mailing list archives: January 2003

Site index · List index
Message listThread · Author · Date
mi...@osafoundation.org ot;, - ), - ], - ), </span><span class="add">+ detail.makeSpacer(parcel, height=7, position=0.8999).install(parcel), + + FeedItemDetail.update(parcel, "ItemBodyArea", + position=0.9, + blockName="articletext", + size=SizeType(100,50), + minimumSize=SizeType(100,50), + ), + ] </span><span class="cx"> </span><span class="rem">- # Category - pair("CategoryArea", viewAttribute=u"category", - position=0.2, - childrenBlocks = [ - label("CategoryLabel", title=u"category"), - field("CategoryAttribute", - title=u"category", stretchFactor=1.0 - ), - ] - ), - ], </span><span class="add">+ + # The DetailTrunkSubtree ties the blocks to our FeedItem's Kind. + detail.DetailTrunkSubtree.update(parcel, "ChannelSubtree", + + # This ensures that this detail view gets attached to feed items + key = feeds.FeedItem.getKind(parcel.itsView), + rootBlocks = feedItemRootBlocks, </span><span class="cx"> ) </pre> <p /> </span><span class="rem">-Each <code>rootBlocks</code> attribute refers to a widget or fragment of user interface which will be displayed in the Detail View. Chandler will ensure that these user interface fragments will display and edit the correct data in a consistent way. </span><span class="add">+The <code>rootBlocks</code> attribute of the <code>DetailTrunkSubtree</code> refers to a widget or fragment of user interface which will be displayed in the Detail View. Chandler will ensure that these user interface fragments will display and edit the correct data in a consistent way. For the details on the feedItemRootBLocks, you'll need to look at the <a href="http://chandler.osafoundation.org/docs/0.6/feeds-tutorial.html">feeds tutorial</a>. You cand find a list of all the available blocks <a href="cpia-blocks.html">here</a>. </span><span class="cx"> <p /> <h2><a name="Loading_the_Items_into_Chandler"> </a><a name="Loading_the_Items_into_Chandler_"> </a> Loading the Items into Chandler: Parcels </h2> <p /> </span><span class="lines">@@ -484,20 +369,20 @@ </span><span class="cx"> <p /> <strong>Behind the scenes:</strong> The Python code for Kinds and Items is merely a bootstrapping mechanism to get data loaded into the Repository. The Repository is the primary data store that Chandler uses to keep all user data, schemas, and more. If data that is declared in your Parcel is changed within the Repository, those changes will <em>not</em> be serialized back the Python code in your Parcel.. <p /> </span><span class="rem">-<h2><a name="Where_Chandler_is_today"> </a> Where Chandler is today </h2> </span><span class="add">+<h2><a name="Where_Chandler_is_today"> </a> Where we've been</h2> </span><span class="cx"> <p /> In this paper, you have seen how to: <p /> <ul> </span><span class="rem">-<li> Define new data types </span><span class="add">+<li> Define new data types by declaring kinds </span><span class="cx"> </li> </span><span class="rem">-<li> Populate the repository with new data </span><span class="add">+<li> Populate the repository with new data using the <code>update</code> method </span><span class="cx"> </li> <li> Display that data in the Sidebar, Summary View, and Detail View </li> </ul> <p /> </span><span class="rem">-The next step is to spend some time developing your own data types and application behavior. The steps described here will get you some basic functionality out of your data but Chandler's true potential comes to light when you begin to explore some of its more advanced capabilities. When Items have been properly defined, many of these capabilities "just work" for your new Kind. </span><span class="add">+The next step is to spend some time developing your own data types and application behavior. The steps described here will get you some basic functionality out of your data but Chandler's true potential comes to light when you begin to explore some of its more advanced capabilities. When Items have been properly defined, many of these capabilities "just work" for your new Kind. Two examples of these capabilities are Sharing and Stamping. </span><span class="cx"> <p /> <h3><a name="Sharing"> </a> Sharing </h3> <p /> </span><span class="lines">@@ -513,7 +398,7 @@ </span><span class="cx"> <img src="http://wiki.osafoundation.org/pub/Documentation/BuildingChandlerParcels/mac_calendar_vertical.png" alt="mac_calendar_vertical.png" width="1024" height="532" /> --> <h2>What to do next</h2> </span><span class="rem">-There is a more detailed <a href="">tutorial</a> on the workings of the Feeds parcel that will explain more of the details of writing a parcel. </span><span class="add">+There is a more detailed <a href="http://chandler.osafoundation.org/docs/0.6/feeds-tutorial.html">tutorial</a> on the workings of the Feeds parcel that will fill in the details of writing a parcel. </span><span class="cx"> <p /> You can visit the Chandler home page for ideas on how to <a href="http://chandler.osafounation.org/getinvolved.php">get involved</a> with the Chandler project. <p /> </span> </pre> </div> </div> </body> </html> Mon, 27 Oct, 05:30
<n...@paragon.no> [No Subject] Sat, 31 Mar, 03:27
Sherwood amp;quot;: _(u&amp;quot;New Chandler Hub Sharing Account&amp;quot;), + }, + &amp;quot;HUBSHARING_USERNAME&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;username&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;HUBSHARING_PASSWORD&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;password&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;password&amp;quot;, + }, + }, + &amp;quot;id&amp;quot; : &amp;quot;HUBSHARINGPanel&amp;quot;, + &amp;quot;order&amp;quot;: 2, + &amp;quot;deleteHandler&amp;quot; : SharingDeleteHandler, + &amp;quot;displayName&amp;quot; : &amp;quot;HUBSHARING_DESCRIPTION&amp;quot;, + &amp;quot;protocol&amp;quot; : &amp;quot;Morsecode&amp;quot;, + &amp;quot;class&amp;quot; : sharing.HubAccount, + &amp;quot;description&amp;quot; : _(u&amp;quot;Chandler Hub sharing&amp;quot;), + &amp;quot;messages&amp;quot; : (&amp;quot;SHARING_MESSAGE&amp;quot;, &amp;quot;SHARING_MESSAGE2&amp;quot;), &lt;/span&gt;&lt;span class="cx"&gt; }, &lt;/span&gt;&lt;span class="rem"&gt;- &amp;quot;HUBSHARING_USERNAME&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;username&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - }, - &amp;quot;HUBSHARING_PASSWORD&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;password&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;password&amp;quot;, - }, - }, - &amp;quot;id&amp;quot; : &amp;quot;HUBSHARINGPanel&amp;quot;, - &amp;quot;order&amp;quot;: 2, - &amp;quot;deleteHandler&amp;quot; : SharingDeleteHandler, - &amp;quot;displayName&amp;quot; : &amp;quot;HUBSHARING_DESCRIPTION&amp;quot;, - &amp;quot;description&amp;quot; : _(u&amp;quot;Chandler Hub sharing&amp;quot;), - &amp;quot;messages&amp;quot; : (&amp;quot;SHARING_MESSAGE&amp;quot;, &amp;quot;SHARING_MESSAGE2&amp;quot;), - }, &lt;/span&gt;&lt;span class="cx"&gt; &lt;/span&gt;&lt;span class="rem"&gt;- &amp;quot;SHARING_MORSECODE&amp;quot; : { - &amp;quot;fields&amp;quot; : { - &amp;quot;MORSECODE_DESCRIPTION&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;displayName&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - &amp;quot;required&amp;quot; : True, - &amp;quot;default&amp;quot;: _(u&amp;quot;Chandler Server sharing&amp;quot;), &lt;/span&gt;&lt;span class="add"&gt;+ &amp;quot;SHARING_MORSECODE&amp;quot; : { + &amp;quot;fields&amp;quot; : { + &amp;quot;MORSECODE_DESCRIPTION&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;displayName&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + &amp;quot;required&amp;quot; : True, + &amp;quot;default&amp;quot;: _(u&amp;quot;New Chandler Server Sharing Account&amp;quot;), + }, + &amp;quot;MORSECODE_SERVER&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;host&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;MORSECODE_PATH&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;path&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + &amp;quot;default&amp;quot;: &amp;quot;/cosmo&amp;quot;, + }, + &amp;quot;MORSECODE_USERNAME&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;username&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;MORSECODE_PASSWORD&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;password&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;password&amp;quot;, + }, + &amp;quot;MORSECODE_PORT&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;port&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;integer&amp;quot;, + &amp;quot;default&amp;quot;: 80, + &amp;quot;required&amp;quot; : True, + }, + &amp;quot;MORSECODE_USE_SSL&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;useSSL&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;boolean&amp;quot;, + &amp;quot;linkedTo&amp;quot; : + (&amp;quot;MORSECODE_PORT&amp;quot;, { True:&amp;quot;443&amp;quot;, False:&amp;quot;80&amp;quot; }), + }, + }, + &amp;quot;id&amp;quot; : &amp;quot;MORSECODEPanel&amp;quot;, + &amp;quot;order&amp;quot;: 3, + &amp;quot;deleteHandler&amp;quot; : SharingDeleteHandler, + &amp;quot;displayName&amp;quot; : &amp;quot;MORSECODE_DESCRIPTION&amp;quot;, + &amp;quot;description&amp;quot; : _(u&amp;quot;Chandler Server sharing&amp;quot;), + &amp;quot;protocol&amp;quot; : &amp;quot;Morsecode&amp;quot;, + &amp;quot;class&amp;quot; : sharing.CosmoAccount, &lt;/span&gt;&lt;span class="cx"&gt; }, &lt;/span&gt;&lt;span class="rem"&gt;- &amp;quot;MORSECODE_SERVER&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;host&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - }, - &amp;quot;MORSECODE_PATH&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;path&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - &amp;quot;default&amp;quot;: &amp;quot;/cosmo&amp;quot;, - }, - &amp;quot;MORSECODE_USERNAME&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;username&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - }, - &amp;quot;MORSECODE_PASSWORD&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;password&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;password&amp;quot;, - }, - &amp;quot;MORSECODE_PORT&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;port&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;integer&amp;quot;, - &amp;quot;default&amp;quot;: 80, - &amp;quot;required&amp;quot; : True, - }, - &amp;quot;MORSECODE_USE_SSL&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;useSSL&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;boolean&amp;quot;, - &amp;quot;linkedTo&amp;quot; : - (&amp;quot;MORSECODE_PORT&amp;quot;, { True:&amp;quot;443&amp;quot;, False:&amp;quot;80&amp;quot; }), - }, - }, - &amp;quot;id&amp;quot; : &amp;quot;MORSECODEPanel&amp;quot;, - &amp;quot;order&amp;quot;: 3, - &amp;quot;deleteHandler&amp;quot; : SharingDeleteHandler, - &amp;quot;displayName&amp;quot; : &amp;quot;MORSECODE_DESCRIPTION&amp;quot;, - &amp;quot;description&amp;quot; : _(u&amp;quot;Chandler Server sharing&amp;quot;), - }, &lt;/span&gt;&lt;span class="cx"&gt; &lt;/span&gt;&lt;span class="rem"&gt;- &amp;quot;SHARING_DAV&amp;quot; : { - &amp;quot;fields&amp;quot; : { - &amp;quot;DAV_DESCRIPTION&amp;quot; : { - &amp;quot;attr&amp;quot; : &amp;quot;displayName&amp;quot;, - &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, - &amp;quot;required&amp;quot; : True, - &amp;quot;default&amp;quot;: _(u&amp;quot;New WebDAV Sharing Account&amp;quot;), &lt;/span&gt;&lt;span class="add"&gt;+ &amp;quot;SHARING_DAV&amp;quot; : { + &amp;quot;fields&amp;quot; : { + &amp;quot;DAV_DESCRIPTION&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;displayName&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + &amp;quot;required&amp;quot; : True, + &amp;quot;default&amp;quot;: _(u&amp;quot;New WebDAV Sharing Account&amp;quot;), + }, + &amp;quot;DAV_SERVER&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;host&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;DAV_PATH&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;path&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;DAV_USERNAME&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;username&amp;quot;, + &amp;quot;type&amp;quot; : &amp;quot;string&amp;quot;, + }, + &amp;quot;DAV_PASSWORD&amp;quot; : { + &amp;quot;attr&amp;quot; : &amp;quot;password&amp;quot;, accountData['values'][displayNameField] break </span><span class="lines">@@ -1250,8 +1287,6 @@ </span><span class="cx"> elif valueType == &quot;integer&quot;: control.SetValue(str(data[field])) </span><span class="rem">-# else: -# raise ValueError('Unhandled valueType ' + valueType) </span><span class="cx"> def OnOk(self, evt): </span><span class="lines">@@ -1296,7 +1331,8 @@ </span><span class="cx"> buf.append(&quot;host: %s&quot; % item.host) buf.append(&quot;port: %s&quot; % item.port) buf.append(&quot;username: %s&quot; % item.username) </span><span class="rem">- buf.append(&quot;password: %s&quot; % waitForDeferred(item.password.decryptPassword(window=self))) </span><span class="add">+ buf.append(&quot;password: %s&quot; % waitForDeferred( + item.password.decryptPassword(window=self))) </span><span class="cx"> if item.accountType in (&quot;SHARING_DAV&quot;, &quot;SHARING_MORSECODE&quot;, &quot;SHARING_HUB&quot;): </span><span class="lines">@@ -1368,7 +1404,8 @@ </span><span class="cx"> self) if yes: </span><span class="rem">- RemoveChandlerIMAPFoldersDialog(self, account, self.OnFolderRemoval) </span><span class="add">+ RemoveChandlerIMAPFoldersDialog(self, account, + self.OnFolderRemoval) </span><span class="cx"> def OnFolderCreation(self, result): statusCode, folderNames = result </span><span class="lines">@@ -1423,7 +1460,8 @@ </span><span class="cx"> port = wx.xrc.XRCCTRL(self.currentPanel, &quot;INCOMING_PORT&quot;) port.SetValue(str(account.port)) </span><span class="rem">- fieldInfo = PANELS[self.currentPanelType]['fields']['INCOMING_SECURE'] </span><span class="add">+ fields = self.panelsInfo[self.currentPa[ Mon, 06 Apr, 22:26
Message listThread · Author · Date
Box list
Jul 20081
Mar 20081
Jan 20085
Dec 200715
Nov 20078
Oct 200749
Sep 200725
Aug 2007137
Jul 2007246
Jun 200761
May 200710
Apr 200744
Mar 200716
Feb 20076
Jan 200721
Dec 20065
Nov 200613
Oct 200613
Sep 200623
Aug 200643
Jul 200621
Jun 200652
May 200652
Apr 200629
Mar 200639
Feb 200677
Jan 200620
Dec 200510
Sep 20058
Jun 20052
Apr 20051
Mar 20052
Feb 20054
Dec 20045
Nov 20042
Sep 20041
Aug 20045
Jun 20047
Apr 20041
Feb 20042
Jan 20042
Dec 20031
Nov 20039
Aug 20036
Jun 20033
Mar 20031
Feb 20031
Jan 20033
Dec 20021
Nov 20022
Oct 20024