Re: Possible bug with OGNL string comparison
wesslan <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <27756494.1147245377433.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I do not know how all the magic type conversions are made but are you sure you can compare a String in OGNL with "=="? This hould work for you: [code] <ww:if test="colour.equals(\"R\")"> ... </ww:if> [/code] HTH, Peter --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=30267&messageID=58556#58556 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]