Matt Raible on 24/09/07 20:55, wrote:
On 9/24/07, James Holmes <[EMAIL PROTECTED]> wrote:
Yes, true and it may be a moot point soon if Don Brown is able to get JSP EL
working as the underlying EL engine of Struts 2.
I don't know if this is a good thing, at least not for my current
project. It's good if you can add Seam's extension that allows calling
methods with arguments. One of the reasons I'm using Struts 2 on my
current project is because it allows us to call static methods and
pass arguments to methods. The only issue I currently have (and would
like to fix) is the ugly syntax of @[EMAIL PROTECTED]
It'd be nice to do something where you could list the available
constant classes (similar to imports in JSPs) in a struts config file
or something.
You can use functions in taglibs to create JSTL functions such as
${f:myStaticFunc(someParam)} which the container maps via your TLD to static
methods.
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]