Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

<s:checkboxlist>

Hartrich, James CTR USTRANSCOM J6

2007-03-20

Replies:

Is there a way to pre-check boxes that meet criteria? I have 2 lists,
listA is for all the checkboxes and listB is for checkboxes that will be
pre-checked.

<s:checkboxlist label="Registration" list="#allreglist.regList"
     listKey="regId" listValue="regNm"
     name="reg.registrationList">
</s:checkboxlist>

This displays a checkbox list fine for insert. How do I get the
pre-selected boxes for an update?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.