[Commits] (alecf) Add the Date field to RSSItem displays

commits at osafoundation.org commits at osafoundation.org
Tue Feb 8 16:37:26 PST 2005


Commit by: alecf
Modified files:
chandler/parcels/osaf/views/zaobao/parcel.xml 1.36 1.37

Log message:
Add the Date field to RSSItem displays

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/zaobao/parcel.xml.diff?r1=text&tr1=1.36&r2=text&tr2=1.37

Index: chandler/parcels/osaf/views/zaobao/parcel.xml
diff -u chandler/parcels/osaf/views/zaobao/parcel.xml:1.36 chandler/parcels/osaf/views/zaobao/parcel.xml:1.37
--- chandler/parcels/osaf/views/zaobao/parcel.xml:1.36	Mon Feb  7 16:00:47 2005
+++ chandler/parcels/osaf/views/zaobao/parcel.xml	Tue Feb  8 16:37:25 2005
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.36 $ -->
-<!-- $Date: 2005/02/08 00:00:47 $ -->
+<!-- $Revision: 1.37 $ -->
+<!-- $Date: 2005/02/09 00:37:25 $ -->
 <!-- Copyright (c) 2003-2004 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -120,6 +120,30 @@
     <textAlignmentEnum>Left</textAlignmentEnum>    
   </StaticText>
   
+  <!-- Date area -->
+  <ContentItemDetail itsName="DateArea" itemClass="osaf.framework.blocks.detail.Detail.DetailSynchronizedLabeledTextAttributeBlock">
+    <position>0.4</position>
+    <selectedItemsAttribute>date</selectedItemsAttribute>
+    <childrenBlocks itemref="doc:DateLabel"/>
+    <childrenBlocks itemref="doc:DateAttribute"/>
+    <stretchFactor>0.0</stretchFactor>
+  </ContentItemDetail>
+
+  <StaticText itsName="DateAttribute" itemClass="osaf.framework.blocks.detail.Detail.StaticRedirectAttribute">
+    <title>date</title>
+    <characterStyle itemref="detail:LabelStyle"/>
+    <stretchFactor>0.0</stretchFactor>
+    <textAlignmentEnum>Left</textAlignmentEnum>    
+  </StaticText>
+  
+  <StaticText itsName="DateLabel" itemClass="osaf.framework.blocks.detail.Detail.StaticRedirectAttributeLabel">
+    <title>date</title>
+    <characterStyle itemref="detail:LabelStyle"/>
+    <stretchFactor>0.0</stretchFactor>
+    <textAlignmentEnum>Right</textAlignmentEnum>    
+    <minimumSize>70, 24</minimumSize>
+    <border>0.0, 0.0, 0.0, 5.0</border>
+  </StaticText>
   
     
   <!-- The actual detail area -->
@@ -128,9 +152,11 @@
     <key itemref="zb:RSSItem"/>
     
     <!-- UI Elements for detail view -->
+    <rootBlocks itemref="detail:MarkupBar"/>
     <rootBlocks itemref="doc:ItemBodyArea"/>
     <rootBlocks itemref="doc:LinkArea"/>
     <rootBlocks itemref="doc:AuthorArea"/>
+    <rootBlocks itemref="doc:DateArea"/>
     <!--<rootBlocks itemref="doc:DateArea"/> -->
     <rootBlocks itemref="doc:CategoryArea"/>
   </detail:DetailTrunkSubtree>



More information about the Commits mailing list