> If you have devMode set to "true", you can add
> debug=console to your URL and you will get an
> OGNL console.

I didn't know that.
but actually, I was kind of looking for something that would stay in the
page. It wouldn't be for debugging, but some simple logic in the page
for creating the html.

Brad Cupit
Louisiana State University - UIS


-----Original Message-----
From: Musachy Barroso [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2008 1:08 PM
To: Struts Users Mailing List
Subject: Re: simple struts tag to eval OGNL

If you have devMode set to "true", you can add debug=console to your
URL and you will get an OGNL console.

musachy

On Wed, Jun 18, 2008 at 1:32 PM, Brad A Cupit <[EMAIL PROTECTED]> wrote:
> Hi, is there a simple tag I can use to just evaluate some OGNL? For
> example, if I have the following line in a JSP it's kind of clunky:
>
> <s:set name="dummyValue" value="%{#map.put(#enum.name(),
> #enum.toString())}"/>
>
> does anyone know of a more elegant way?
>
> Brad Cupit
> Louisiana State University - UIS
>
>
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to