I have been following the example in Chapter 35 "Building Data Driven
Applications" (OL 3.4)

It simply replicates some text views in a list. The example shows how to
place a delete button next to each replicated view which deletes the
replicated view. So far so good.

<button width="80" x="200" y="40">Delete
        <!-- 2b -->
        <handler name="onclick">
            parent.parent.datapath.deleteNode();
        </handler>
</button>



My problems arise when I try to use a button to delete all the replicated
views at once. In other words, the new button is not part of the replicated
view. I get a nodeCount of zero when I look at the parent  view and the
datapath resolves to an lzReplicationManager. How do I manipulate the
underlying nodes to delete the replicated views?

Thanks,

Peter 
-- 
View this message in context: 
http://www.nabble.com/deleting-nodes-in-Javascript-tp14329131p14329131.html
Sent from the OpenLaszlo - User mailing list archive at Nabble.com.

Reply via email to