----- Original Message ---- > From: Wes Wannemacher <w...@wantii.com> > To: Struts Users Mailing List <user@struts.apache.org> > Sent: Thursday, August 20, 2009 6:05:00 PM > Subject: Re: [struts2] <s:checkbox /> problem > > I can never remember which things can be accessed through EL, but my > guess is that you can't get "language" because the top of the struts > value stack is not the same thing as a request scoped variable. > Instead of the el notation try using the s:property tag like this - > <s:property value="%{#language.active}" /> notice the hash mark in > front of language... This is because you created a named variable with > the iterator tag and this is the explicit way to address that > variable. > > -Wes >
<snip> THANK YOU Wes!!! :) Slightly off topic: if I have nested lists such as <s:iterator var="list1value" value="list1.values"> <s:iterator var="list2value" value="%{#list1value.values}"> How would I get list2value.name? would it be %{#list2value.name} ? Doing all of this in scriptlets is easier for me but code looks messy :) TIA, Tommy --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org