methods.lzx

<library>
	<!-- FOR DEBUGGING PURPOSES -->
	<method name="handleError">
		Debug.write((new Date())+": Request got an error -- sorry.");
	</method>

	<!-- Our Methods -->
	<method name="getWeePee">			  
		var ds=canvas.datasets.weepeeDS;
		ds.doRequest();
	</method>

	<method name="createMailing" args="lastname,surname,email,opt">			  
		nospam.tab.customerdata.setAttribute('visible',false);
		var ds=canvas.datasets.createmailingDS;    
		var p=new LzParam();
		p.addValue("lastname", lastname,true);       				  	     
		p.addValue("surname", surname,true);       				  	     
		p.addValue("email", email,true);       				  	     
		p.addValue("opt", opt,true);       				  	     
		ds.setQueryString(p);        
		ds.doRequest();
	</method>
</library>

Cross References

Named Instances