OK - lots of people don't like this idea. Recalling that the goal is to move toward having the Struts-like <html:form> ability to define forms with various input elements pre-filled, does anyone want to offer an alternative? This also results in simplified and less error-prone HTML. Specifying the appropriate name, etc., gets Struts to do its magic w.r.t. ActionForm population, etc.
As a recent message I posted indicated, web designers are used to: <form attr1="value1" ... /> (or whatever) They implicitly use default parameters all the time. It's not like we're introducing programming or scripting or anything like that. Just an alternate way to invoke existing functionality. Now if we want to debate whether #macro should exist at all... ;) FWIW... Donnie -----Original Message----- From: Hensley, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 1:48 PM To: 'Velocity Developers List' Subject: RE: #macro functionality I agree with Jon, Paulo, and Daniel. It sounds very cool on the outset, however it reminds me of my C++ days where default parameters caused so much confusion for programmers unfamiliar with the code base that they needed classes before they could even read the code. i.e. way to many magic tricks up the sleeve. -1 Please keep Velocity simple meaning easy to read a template, and easy to predict what a template will do because all the information is present. Richard Hensley mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -----Original Message----- From: Paulo Gaspar [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Without vote rights (just my 2 cents), I agree with Daniel and Jon. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
