[Laszlo-dev] For Review: Change 37809 Summary: Don't confuse events with schema open-tag handlers

P T Withington ptw at pobox.com
Thu Jan 26 13:47:34 PST 2006


Change 37809 by ptw at ptw-dev-two on 2006/01/26 13:41:05 *pending*

	Summary: Don't confuse events with schema open-tag handlers
	
	Bugs Fixed:
	email: 'Subject: Re: [Laszlo-dev] confused about the new event tag'
	
	Technical Reviewer: jgrandy (pending)
	QA Reviewer: sallen (pending)
	Doc Reviewer: n/a (pending)
	
	Details: event should have type 'expression' and when 'once'
	when converted to an attribute
	
	Tests:
	<canvas>
	  <class name="foo">
	      <event name="onstop"/>
	      <method event="oninit">
		  Debug.write('onstop', this.onstop);
		  if (this.onstop) Debug.write('if (this.onstop)');
		  if (this.onstop == null) Debug.write('if (this.onstop == null)');
	      </method>
	  </class>
	
	  <foo/>
	</canvas>

Affected files ...

... //depot/lps-dev/WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
NodeModel.java#21 edit


-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-37809.zip
Type: application/zip
Size: 30303 bytes
Desc: not available
Url : http://openlaszlo.org/pipermail/laszlo-dev/attachments/20060126/83601bf4/changeset-37809-0001.zip


More information about the Laszlo-dev mailing list