Re: Migration to 2.2.3 problems with OGNL syntax/parameter interceptor

mike haberman <[email protected]> Wed, 06 Dec 2006 09:47:35 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <19196086.1165420085759.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
my html is really:
  <input type="text" name="ActionMap['a:b:c']" value="bbbbb" />
  
I tried \"a:b:c\"  no luck, 
I tried a:b:c no luck,
If I use something that ognl thinks is a valid token like # ! , @  ognl throws an exception ... so
it must be at least looking inside the string. 

What's strange is both the ':' and the '|' are operators in the OGNL language, but for some reason, the ':' (which doesn't force an exception) confuses the parse and the key is never put inside the Map.  BUT the '|' in the key, doesn't confuse the parse and it is put in the Map.

When the key/value is added the Map, I actually need to parse the key into it's three parts, hence I need some kind of separator.

thanks for your help!

mike
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52191&messageID=105544#105544

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]