struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From justin2zj <justin...@163.com>
Subject Re: OGNL problem in s:checkbox
Date Mon, 09 Mar 2009 12:40:32 GMT
   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 default is valuestack. you can specify #service or #attr.service.
The attr will find any value match the name you specified throughout
the ActionContext.
    note that i am not really familiar with it,i hope it will do
some help.




>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message