Dear All,  I am confusing about how to write dynamic s:checkbox names in s2.
For example,
  <s:iterator value="test_list" status="status">
    <s:checkbox name="test_string_?" value="true">
  </s:iterator>

  I want to achieve the result as:
  <s:checkbox name="test_string_0" value="true">
  <s:checkbox name="test_string_1" value="true">
  <s:checkbox name="test_string_2" value="true">
  <s:checkbox name="test_string_3" value="true">
  <s:checkbox name="test_string_4" value="true">
  etc.

  The main problem is that i dont know how to write the right ognl
expression in the code above(around the "?" position). Can anyone help me?
Thanks in advance.

-- 
Best Regards,
Licco

Reply via email to