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 PM Subject: Overwriting HtmlTag >

Re: Overwriting HtmlTag

2005-05-04 Thread James Mitchell
Sort of a hack, but you could achieve this during the build with the Ant replace tag. Here's a related topic: http://raibledesigns.com/page/rd?anchor=trim_spaces_in_your_jsp Based on what Yann posted in a comment, you could modify it to do what you need. Be advised though, I did not try t

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