--- "Hartrich, James CTR USTRANSCOM J6" wrote: > 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.
In my app I currently have: <s:checkboxlist list="tags" name="tagids" listKey="id" listValue="name"/> In the action, the "tags" property is the list of all possible tags. "tagids" holds the selected tags. In my preparation I add every selected option from "tags" into "tagids"; <s:checkboxlist.../> does the rest. HTH, d. ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]