Hi! I have a strange behavior with a javascript button here. My page contains the following:
- Many items which may be selected - A "select all" button - A submit button The "select all" button works with or without JavaScript. This is achieved by this code: | <t:submit t:id="selectAll" onClick="selectAll(); return false;"/> The according onSelectedFromSelectAll() method in Java is called when JavaScript is disabled. My problem is: This page does not work when I click the "select all" button with activated JavaScript and then "submit". It does work, when I select all fields manually and submitting after that or when JavaScript is disabled. After much debugging I found out that the onSelectedFromSelectAll() event is queued when JavaScript is enabled. When I hit the "submit" button after clicking the "select all" one, _both_ events are triggered. Is there anything special with the JavaScript generated by Tapestry which might cause this? TIA Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org