I suppose retarded is in the eye of the beholder...:) I don't know about it from a JSTL point of view, but velocity uses this syntax, as does the evaluation that goes on in the xwork config file, as does Ant, etc. I find it to be very clear. "In brackets led by a $, this is a variable that should be evaluated." As for your suggestion, I'm not sure, as I can see how certain things can be obvious to a person, but not easy to make obvious for a machine.
I do like the idea of allowing the user to determine which method to use, though. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of boxed Sent: Sunday, November 23, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] OGNL madness - evaluated tag attributes Patrick Lightbody wrote: > Hmm… this is pretty interesting. I’d like to hear the opinion from the > 1.4 guys on this as well. > I for one dispise the ${} JSTL/whatever syntax above all else. It's just plain retarded. Now, I realize that having to put ' around strings can be seen as annoying (although I find the term "tripleqouting" to be somewhat misleading), but a way around that could be to introduce a more obvious syntax like String(my literal string). This is to me much better than the JSTL way where I have to put ${} around all variables. Introducing the JSTL syntax will lead to MORE typing, not less. Maybe the EL parser should be more intelligent with this though. If you write: <ww:property value="foo bar"/> it is obvious that this is not a valid variable name, so the page could just return a big and obvious error message. This later approach is also backwards compatible. Anders Hovmöller ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork