struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio de Córdoba <>
Subject OGNL problem in s:checkbox
Date Sun, 08 Mar 2009 23:41:31 GMT

Hi there,
I am trying to activate some checkboxes if a certain condition is matched:

<s:checkbox name="activeServices"

service is a String var which contains my site service names. I get it
iterating over a collection. checkbox should be checked when serviceNames
contains the String in "service" var.

It works OK if I replace "service" var with a string:
but using avar won't work. Any idea why I can't replace "mail" literal with
a var there?

Thanks for any help,
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message