Re: Temporary objects in OGNL

2008-01-03 Thread Kaspar Fischer
On 31.12.2007, at 09:07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have a look at http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/varref.html I actually tried this before: div jwcid=@Insert value=ognl:#var='foo'/div div jwcid=@Insert value=ognl:#var/div only outputs foo

Re: Temporary objects in OGNL

2008-01-03 Thread Marcus Schulte
Oh, sorry, I didn't realize, you want to cache results between different OGNL expressions. Different ognl expressions only share the page as common context. So you'd need sth. like: Page: ... public abstract Object getThat(); ... Template: ... xyz=ognl:

RE: Temporary objects in OGNL

2007-12-31 Thread Marcus.Schulte
Have a look at http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/varref.html I tend to use complex ognl for rapid view development (dynamic reload). After that, I move complex expressions into Java-code. -Original Message- From: Kaspar Fischer [mailto:[EMAIL PROTECTED]