Re: Question about OGNL ValueStack

2007-09-10 Thread Musachy Barroso
I'm first level support, Dave is platinum support :) musachy On 9/10/07, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Musachy Barroso wrote: > > On 9/10/07, Pavel Sapozhnikov wrote: > >> When I create a variable in Java Action class right > > >> before returning to a result I create a variable: >

Re: Question about OGNL ValueStack

2007-09-10 Thread Dave Newton
--- Musachy Barroso wrote: > On 9/10/07, Pavel Sapozhnikov wrote: >> When I create a variable in Java Action class right >> before returning to a result I create a variable: >> String blah = "blah string"; >> Does that variable get put automatically on [the] >> > No it doesn't add local variable

Re: Question about OGNL ValueStack

2007-09-10 Thread Musachy Barroso
No it doesn't add local variables to the stack. You can add values to the stack by hand, but in this case all you need to do is set a field in your action with the value that you want, and add a getX() method. musachy On 9/10/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > Hi so I have a quest

Question about OGNL ValueStack

2007-09-10 Thread Pavel Sapozhnikov
Hi so I have a question about this thing. When I create a variable in Java Action class right before returning to a result I create a variable: String blah = "blah string"; Does that variable get put automatically on ValueStack. I tried assuming it does and I tried displaying the value of it by usi