Re: Writing valid OGNL

2008-05-23 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you can write good sources for ognl are http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html and http://www.opensymphony.com/ognl/pdf/LanguageGuide.pdf Volker Chris Pratt schrieb: > I don't think you can embed a scriplet i

Re: Writing valid OGNL

2008-05-23 Thread Chris Pratt
I don't think you can embed a scriplet inside the OGNL code of a struts tag any the newer versions of struts since they have disabled run-time expression evaluation on all their tags. (*Chris*) On Fri, May 23, 2008 at 2:17 AM, ravi_eze <[EMAIL PROTECTED]> wrote: > > hi, > > i often get into funn

Re: Writing valid OGNL

2008-05-23 Thread ravi_eze
hi, i often get into funny problems and am not sure how to fix them for example: <%@ import="com.constants" ... <%=constants.static1 %> but when i use : i am totally clueless as to what is happening here!!! some times http://www.nabble.com/Writing-valid-OGNL-tp17355855p17421934.html S

Re: Writing valid OGNL

2008-05-21 Thread Dave Newton
--- ravi_eze <[EMAIL PROTECTED]> wrote: > is there some standalone application/some way by which i can > validate the ognl i write? instead of writing them in validation > file, compiling deploying and then discovering there some problem > (we only see some non descriptive error) The debug consol

Re: Writing valid OGNL

2008-05-21 Thread Ralf Fischer
Hi ravi, none that I'm aware of. But it really would be nice to have such a thingy! As it's all about the stack when it comes to OGNL usage in Struts, I was thinking about wiring some Unit Tests together which build up a stack and then run the OGNL Expressions on it. Anyway it's no good, as there