Your advice works! I used a javascript workaround in the meantime, however
your answer will spare me a lot of time next time.
--
View this message in context:
http://www.nabble.com/Problem-with-collection-in-select-tp25256112p25259300.html
Sent from the Struts - User mailing list archive at Nab
Mrakomor wrote:
Hello folks,
I wanted to use a Struts 2 select in the form. I wanted to populate the list
using filtered collection. If I use it without the filter, like this:
name="depzad.dzRequest.contractList[%{#status.index}].selectedContract"
listKey="contractNr" listValue="contractNr
My guess is that your single-char string is evaluated as a single char...
http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html
Try flipping the quotes or escaping double-quotes in the expression,
then OGNL will probably figure it out.
-Wes
On Wed, Sep 2, 2009 at
3 matches
Mail list logo