Re: S2: OGNL beats me

2007-08-22 Thread Laszlo Borsos
Thank you for your answer.
I have picked up some information on OGML, and debug screen helped also.
I am starting to be quite comfortable in Struts 2 and like it a lot.

kuvera


Aram Mkhitaryan írta:
> no, standard EL is quite different,
> 
> here we have value stack,
> 
> if you don't specify the id by #id,
> then it retrieves everything from the root element which is your action,
> 
> so to get from session or request, first use #request or #session
> 
> Best,
> Aram
> 
> Aram Mkhitaryan
> 
> 52, 25 Lvovyan, Yerevan 375000, Armenia
> 
> Mobile: +374 94 635063
> E-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: S2: OGNL beats me

2007-08-22 Thread Aram Mkhitaryan
no, standard EL is quite different,

here we have value stack,

if you don't specify the id by #id,
then it retrieves everything from the root element which is your action,

so to get from session or request, first use #request or #session

Best,
Aram

Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 94 635063
E-mail: [EMAIL PROTECTED]


Re: S2: OGNL beats me

2007-08-15 Thread Twins fan
Thanks for both of you.



Only this one works for struts tags, but I still don't fully understand
the notion of the value stack. It is supposed to give access to
properties of all scopes, isn't it? Standard EL is not so complicated.

kuvera


Musachy Barroso írta:
> try :
> 
> 
> 
> musachy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: S2: OGNL beats me

2007-08-15 Thread Musachy Barroso
try :



musachy

On 8/15/07, Twins fan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a bean in request scope which has a List property. I cannot
> iterate over it or read it at all. Among the lines below only the first
> works. Could somebody please explain why?
>
> ${req.css[0]}
> 
> 
> 
> 
>
> Thanks,
> kuvera
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



S2: OGNL beats me

2007-08-15 Thread Twins fan
Hi,

I have a bean in request scope which has a List property. I cannot
iterate over it or read it at all. Among the lines below only the first
works. Could somebody please explain why?

${req.css[0]}





Thanks,
kuvera


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]