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.griff...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org