struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: What is wrong with my with OGNL Map expression??
Date Thu, 30 Apr 2009 13:07:28 GMT
Actually the name is Unified Expression Language, JUEL is just an
implementation of it.

musachy

On Thu, Apr 30, 2009 at 9:06 AM, Musachy Barroso <musachy@gmail.com> wrote:
> It could be a conflict with JUEL which uses "#", try the other
> notation (I think you can disable JUEL somewhere):
>
> #@java.util.LinkedHashMap@{ "foo" : "foo value", "bar" : "bar value" }
>
> musachy
>
> On Wed, Apr 29, 2009 at 3:33 PM, Griffith, Michael *
> <Michael.Griffith@fda.hhs.gov> wrote:
>> Hello all,
>>
>> It seems as if I am always at odds with trying to figure out the correct
>> OGNL syntax.  I have a Map<String,String> in the HttpSession, and I'm
>> trying to use one of the values in the map as an anchor tag in a link.
>>
>> The map is stored in the session as an attribute named
>> genieProperties...
>>
>> None of these expressions work...
>>
>> <s:url id="myLink" anchor="#session.['genieProperties'].url" />
>> <s:url id="myLink" anchor="#session.genieProperties['url']" />
>> <s:url id="myLink" anchor="#session.['genieProperties['url']']" />
>> <s:url id="myLink" anchor="#session.['genieProperties.url']" />
>>
>> Am I at least close? Any assistance would be appreciated.
>>
>> Best Regards,
>> MG
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message