Jon Pearson wrote:
Also, in <s:if ...> tags, you don't need to enclose the test in %{}
because it is evaluated anyway. Not that it'll change your result at
all, just thought I'd save you the extra couple of keypresses.

But remember that jsp code needs to be understandable not only to the compiler and tags that will implement it, but also humans that will be maintaining this code in the future. I'd suggest not saving any of those "extra keypresses" and explicitly using the %{} wherever you intend the expressions to be evaluated by OGNL. I would guess that eventually more EL's will be supported by struts2, at which point this seemingly unambiguous expression will no longer be well defined without something specifying the appropriate EL.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to