[Laszlo-user] <replicator> + remote dataset = undefined variable

Michael Brady mbrady at appliedminds.com
Wed Oct 3 13:15:19 PDT 2007


Hi all,

In Laszlo 4.0.5, I can't get <replicator> to work with a remote dataset. 
  I get the error message:

   reference to undefined variable 'remoteds'

Is anyone using <replicator>?  Do you see this error, or have you found 
a workaround?

Any information about your experience with <replicator> is most welcome. 
  I'm not clear on whether I should be using <replicator> or sticking 
with old-fashioned implicit replication for now.

Thanks!

Here's my test case.

File people.xml:

   <people>
     <person name="maria"/>
     <person name="joao"/>
     <person name="jose"/>
   </people>

File test.lzx:

   <canvas>

     <dataset name="remoteds"
              type="http"
              src="people.xml"
              request="true" />

     <simplelayout />

     <replicator name="rep" dataset="remoteds" xpath="/people/person">
       <view>
         <text text="$path{'@name'}" />
       </view>
     </replicator>

   </canvas>

--Michael


More information about the Laszlo-user mailing list