Re: OGNL problem in s:checkbox

2009-03-09 Thread justin2zj
hi,i think i maybe like this:when you set a var attribute on the iterator,i was saved under top level in the ActionContext object,which contains ValueStack,parameters,attr,etc. and when you refer the value using OGNL later,you have to specify the data objects that you're refering,which by

Re: OGNL problem in s:checkbox

2009-03-09 Thread Ignacio de Córdoba
Hi, I fond the answer to my problem. Maybe it helps anyone here... if "service" is the var from a s:iterator doing %{serviceNames.contains(service)} will not work but %{serviceNames.contains(#attr.service)} will work. I don't know how. Must be related of how objects are set into OGNL valueSt