Re: Overwriting HtmlTag

2005-05-06 Thread Cliff Lam
I bind the onchange function dynamically at the client side using javascript. But I don't know if it is a good idea. Cliff - Original Message - From: "Nancy Lin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 04, 2005 11:59

Re: Overwriting HtmlTag

2005-05-04 Thread James Mitchell
AIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 04, 2005 11:59 AM Subject: Overwriting HtmlTag Hi all, I have bunch of jsp with html tag and I want to automatically generate onchange function whent user changes/modified the data. Since the function that will be call

Re: Overwriting HtmlTag

2005-05-04 Thread Dakota Jack
I hate to be blunt, Nancy, but the answer is just to do as you say: change the html tag code That is the virtue of code that is decoupled. You can change the code in one place with the effects rippling throughout your code. If you want the code to remain consistent with Struts and to be more por

Overwriting HtmlTag

2005-05-04 Thread Nancy Lin
Hi all, I have bunch of jsp with html tag and I want to automatically generate onchange function whent user changes/modified the data. Since the function that will be called on onChange will be the same throught out, I do not want every developer to go to each JSP(there are hundreds of file) and