Don't know, I only copied the code from LinkSubmit and did some very minor changes, not including the stuff you're listing here :)
On Fri, May 28, 2010 at 2:09 PM, paha <ch_pa...@yahoo.com> wrote: > > Hi Inge, > > tried you code today. doesn't seem to work. maybe i'm using it incorrectly. > i have following template > > > > > <t:form t:id="searchForm"> > > <t:select t:id="filter" value="selectFilter" blankOption="always" > > t:mixins="anySubmit" t:event="selected" > > t:clientEvent="change"/> > > > > </t:form> > > > > > this part in if > if (onsubmit == undefined || onsubmit.call(window.document, event)) > { > this.createHidden(); > this.form.submit(); > } > never gets called because onsubmit.call(window.document, event) == > undefined > and the form is never submitted. but if you change to > if (onsubmit == undefined || onsubmit.call(window.document, event) == > undefined) > everything works as expected. > > is it a bug, or i just don't get how this mixin was supposed to work? > -- > View this message in context: > http://old.nabble.com/T5%3A-LinkSubmit-should-be-generic-tp28630552p28706046.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >