Re: struts2 freemarker session check

2007-08-28 Thread Haroon Rafique
On Tomorrow at 12:09am, LP=>Leonidas Papadakis <[EMAIL PROTECTED]> wrote: LP> I will answer myself in case someone else has the same issue. LP> LP> I think since freemarker 2.3.1 or something if the session is not set LP> from the servlet it is not initialized in the template. Thus a check LP>

Re: struts2 freemarker session check

2007-08-28 Thread Leonidas Papadakis
I will answer myself in case someone else has the same issue. I think since freemarker 2.3.1 or something if the session is not set from the servlet it is not initialized in the template. Thus a check for the Session object has to precede the check for the session property i.e. <#if Session?ex

struts2 freemarker session check

2007-08-28 Thread Leonidas Papadakis
Hi there, i used to have this expression : <#if Session.sessionaff?exists> in my freemarker template. Unfortunately this does not get parsed and generates an error : Expression Session is undefined on line Can anyone tell me the new syntax please ? Thank you very much Leonidas ---