Re: [Wicket-user] DropDownChoice.onSelectionChanged() and Form button
Arrgh! 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DropDownChoice.onSelectionChanged() and Form button
lol, eelco ran into this months ago. youd figure he would build in a check. lazy dutch...-igorOn 11/14/06, cowwoc [EMAIL PROTECTED] wrote:Arrgh! 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 hadwicket:id=submit and Wicket copied that value over to an attributename 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 errormessage is :)Gilicowwoc 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-Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DropDownChoice.onSelectionChanged() and Form button
I suggested that, but as far as I can remember other people - including you - didn't think we shouldn't do anything other than maybe logging a warning. Personally, I think we should consider a hard fail. Do people want this? Then please open an issue for it. Eelco On 11/15/06, Igor Vaynberg [EMAIL PROTECTED] wrote: lol, eelco ran into this months ago. youd figure he would build in a check. lazy dutch... -igor - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DropDownChoice.onSelectionChanged() and Form button
Do people want this? Then please open an issue for it. Oh. Was reading my backlog from old to new, and then I found http://issues.apache.org/jira/browse/WICKET-75. Eelco - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user