On Thu, Mar 6, 2008 at 7:51 AM, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > > Your suggestion for question 1 is good, since we have more description on > struts documentation. > > The 2 point is the most important, from my view. > Use JSP EL in Struts2 tag is not a best pratice. Match these kind of > languages could make the code confuse to be maintained. Sometimes you use > OGNL, othertimes you use JSTL EL. >
But we have that situation in most pages that we develop. Since the Struts tags are not all encompassing, we must supplement our framework with other tags, like DisplayTag and other standard JSP tags. So, allowing the full use of JUEL (or JSTL EL) in the Struts tags, actually reduces confusion since it allows us to use one EL for an entire page. > We can make this stop now, buy forcing people to use OGNL or leave it > possible to use and keep trying to make them understand that it is a bad > pratice. > We can't stop the confusion without either expanding the Struts taglib so that you would never need an outside tag or convert all the other tag libraries to OGNL. I don't see either of these as being possible. > I think lot of people can say that match it is not a bad pratice, but... > well, somebody have to decide it. > You can call it bad practice if you want, but I prefer JSTL EL to OGNL since it is ubiquitous, powerful, consistent and much easier to train Web Developers to use. But then again, that's just one man's opinion. (*Chris*) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]