What about <ww:property value="firstHalf${secondHalf}"/>
? The advantage of the velocity-style escaped syntax is that it allows for more flexibility, so that the whole thing doesn't have to get evaluated. Also, what about tags where what could be displayed might be evaluated in some cases, but might not in others? How can you build that logic into the framework so it knows whether to be evaluated or not? I think the question is not whether we should always evaluate or not, because that question has been answered already by use of the "triple-quoting"; it has been decided that it is more flexible to allow for values to be passed into tag attributes that _can_ be evaluated against the stack but don't always have to be. I agree with that approach. The question I'm raising is regarding the way the syntax of those values is structured. I just don't like the triple-quote approach. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of boxed Sent: Sunday, November 23, 2003 2:02 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] OGNL madness - evaluated tag attributes Drew McAuliffe wrote: >I agree, and I think that it should be the ${} syntax. The reason I >like the optional syntax is solely for backwards compatibility. > > I don't see why you are using java if you prefer that way of writing personally. Let's compare the alternaitves: <ww:property value="name"/> <ww:property value="${name}"/> Am I wrong in assuming that simple usage of the variables is the most common thing in the WW EL? Because if it is then implementing a more verbose syntax for it is counterproductive. The rule of thumb is to make the most common actions simple and intuitive and there is nothing intuitive about the ${} syntax. 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