[Laszlo-dev] For Review: Change 20070803-ptw-Q Summary: Bring replicator tag more in compliance with spec

P T Withington ptw at pobox.com
Fri Aug 3 15:54:51 PDT 2007


[Here's what I have so far.  The test case works.  If this is what we  
are looking for for an API, I think we are getting close!]

Change 20070803-ptw-Q by ptw at dueling-banjos.local on 2007-08-03  
18:39:12 EDT
     in /Users/ptw/OpenLaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Bring replicator tag more in compliance with spec

Bugs Fixed:
LPP-4405 'Implement ExplicitReplication' (partial)

Technical Reviewer: henry (pending)
QA Reviewer: max, pablo (pending)

Details:
     LzNode: add a setter for `data`.  If you set data to an
     LzDataElement, that element becomes the data context for the node
     (i.e., the datapath of the node will point to that data element).

     replicator: Make this a node, not a view.  Add axis, spacing,
     dataset, and xpath attributes.  Remove private API's from
     interface.  Pass the layout up to the parent, compute the nodes
     from the xpath on init.

Tests:
     The test in this change

Files:
A      test/explicit-replicators
A      test/explicit-replicators/replicator.lzx
M      WEB-INF/lps/lfc/core/LzNode.lzs
M      lps/components/utils/replicator/replicator.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070803-ptw- 
Q.tar


More information about the Laszlo-dev mailing list