Arrrrrrrrrrrrrrgh! Problem solved: http://www.webprodevelopment.com/BrightLight/archives/17-this.form.submit-is-not-a-function.-Really,-its-an-object!.html
BTW: This issue was aggravated by the fact that I had wicket:id="submit" and Wicket copied that value over to an attribute "name" also equal to "submit". It would be nice if Wicket would be smart enough to avoid these kinds of reserved words, especially in light of how confusing the error message is :) Gili cowwoc wrote: > Hi, > > If I have a form with a single DropDownChoice with a onSelectionChanged > listener then it gets invoked fine when I change the selection. The > moment I add a "Submit" button into the form alongside the > DropDownChoice, then the event no longer gets fired when I change the > selection. FireFox's JS engine fails with: > > Error: document.getElementById("unassignUserForm").submit is not a function > > In other words, it is no longer legal to invoke form.submit() the > moment a button is added into the form. Is this some sort of bug in > FireFox or Wicket? Or is this some sort of "feature" of HTML and if so > is there a workaround? > > Environment: FireFox 2.0, Wicket 1.2.3 > > Thanks, > Gili >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user