If you are on 2.1 you can use the context browser to navigate the
context. I think the value stack object is in the context, but I don't
remember the key and don't have the code at hand now.
musachy
On Wed, Mar 26, 2008 at 3:21 PM, stanlick <[EMAIL PROTECTED]> wrote:
>
> Wes --
>
> I have a situation where the ParametersInterceptor cannot set a value on my
> action on account of an invalid method signature. I know all about this,
> but I'm bewildered at what *is* happening! It appears to be setting the
> value someplace {valuestack?} because my subsequent page is revealing the
> correct data selected from the <s:select/> control. Is there a way I can
> issue a find() against the valuestack using the OGNL viewer?
>
> Scott
>
>
>
>
> Wesley Wannemacher wrote:
> >
> > Scott,
> >
> > Using the OGNL console is like working interactively with perl or
> > python, you just issue commands in OGNL and they will be evaluated and
> > printed in the console. Here is a quick sample session ->
> >
> > Welcome to the OGNL console!
> > :-> #request
> > [EMAIL PROTECTED],
> > __cleanup_recursion_counter=1, decorator=none}
> >
> > :-> execute()
> > success
> >
> > :-> input()
> > input
> >
> > :-> noMethod()
> > null
> >
> > :-> #session
> > {__sitemesh__robot=false,
> > org.apache.struts2.interceptor.debugging.VALUE_STACK=com.opensymphony.xw
> > [EMAIL PROTECTED]
> >
> > :-> #application
> > {org.apache.myfaces.config.RuntimeConfig=org.apache.myfaces.config.Runti
> > [EMAIL PROTECTED],
> > [snip]
> >
> >
> >> -----Original Message-----
> >> From: stanlick [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, September 26, 2007 11:29 AM
> >> To: [email protected]
> >> Subject: Re: OGNL runtime viewer
> >>
> >>
> >> Does *anyone* know where I can find the list of commands
> >> understood by the OGNL console?
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/OGNL-runtime-viewer-tp12865906p16313828.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]