Dear All: I want to add a JS code into the following method to minimize the window, but it doesn't work.. Could anyone give me some suggestion to solve this issue? Thanks a Millions
protected CharSequence getEventHandler() { AppendingStringBuffer rtnJs=new AppendingStringBuffer("if (!confirm('continue?')) return false; How_to_min_win();"); return rtnJs.append(super.getEventHandler()).append ("; return false;"); } Best Regards, BSID/ERP Joan Wang --------------------------------------------------------------------------- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. Thank you. --------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org