>From: "stephan opitz" <[EMAIL PROTECTED]> 
>
> as i tried use the tomahawk components like calendar and datatable, i 
> wanted ask for examples... 
> 
> maybe for datalist: 
> i found this but it didn't work 
>
 
[snippet]


The best examples we have on Clay Tomahawk are done by Ryan Wynn.  He had some 
problems contributing them.


I will try working up and example.  Maybe the thing to do would be to add 
tomahawk to the shale-clay-mailreader that I've shared with you offline.


The "facetName" only matters to the component that the t:graphicImage is 
contained in.  
For example, consider:


<component jsfid="collage:dataScroller" extends="t:dataScroller">
  <attributes>
   <set name="fastStep" value="10" />
   <set name="paginator" value="true" />
   <set name="pageCountVar" value="pageCount" />
   <set name="pageIndexVar" value="pageIndex" />
   <set name="rowsCountVar" value="rowsCount" />
   <set name="displayedRowsCountVar"
    value="displayedRowsCountVar" />
   <set name="firstRowIndexVar" value="firstRowIndex" />
   <set name="lastRowIndexVar" value="lastRowIndex" />
  </attributes>

         <element renderId="1" jsfid="t:graphicImage" facetName="first" >
     <attributes>
   <set name="url" value="/image/first.gif" />
   <set name="border" value="0" />
     </attributes>
         </element>
         <element renderId="2" jsfid="t:graphicImage" facetName="last" >
     <attributes>
   <set name="url" value="/image/last.gif" />
   <set name="border" value="0" />
     </attributes>
         </element>
         <element renderId="3" jsfid="t:graphicImage" facetName="previous" >
     <attributes>
   <set name="url" value="/image/previous.gif" />
   <set name="border" value="0" />
     </attributes>
         </element>

         <element renderId="4" jsfid="t:graphicImage" facetName="next" >
     <attributes>
   <set name="url" value="/image/next.gif" />
   <set name="border" value="0" />
     </attributes>
         </element>
</component>


> 
> 
> 
> ? 
> stephan

Gary 

Reply via email to