<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 28, 2008, at 1:35 PM, Henry Minsky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I think here is an example, the problem is a method defined on a view, not a class, <br><br> <view name="menucap" y="${parent._currentattachy == 'top'? -height + 1:parent.height }"... <br> ...<br>...<br> <method name="setY" args="y"> <![CDATA[<br> super.setY(y);<br> if ( y < 0 ) {<br> this.setResourceNumber(1);<br> } else {<br> this.setResourceNumber(2);<br> }<br> ]]> <br><br>generates a function expression in a hash table, with the "override" keyword just hanging in there in the attrs list, causing a parser error<br> <br> <br><br>}, setY: override function setY( y) {<br><br><br>So we need to suppress this on methods that are declared on views. </blockquote><div><br class="webkit-block-placeholder"></div><div>You're talking about what the tag compiler emits, right?</div><br><blockquote type="cite">Although in this case we're screwed because<br>it calls super.setY, so we really need to make this a singleton class...</blockquote><div><br class="webkit-block-placeholder"></div><div>What's the rule? Cannot call super methods when declaring an event method, or what?</div><div><br class="webkit-block-placeholder"></div></div><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">--</div><div><br class="webkit-block-placeholder"></div><div>Don Anderson</div><div>Java/C/C++, Berkeley DB, systems consultant</div><div><br class="webkit-block-placeholder"></div><div>voice: 617-547-7881</div><div>email: <a href="mailto:dda@ddanderson.com">dda@ddanderson.com</a></div><div>www: <a href="http://www.ddanderson.com">http://www.ddanderson.com</a></div><div><br class="webkit-block-placeholder"></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"> </div><br></body></html>