Hi,
I have the following array in my
Action,
private String[] causasStringArray;and this tag: #tag ( CheckboxList "label='Causas'" "name='causasStringArray" "list=causas" "listKey=id" "listValue=descricao" )"causas" is a List of a bean with the "id" and "descricao" properties... when I submit the form, the causasStringArray is populated successfully.. but the inverse doesn´t works, if the array is populated, and I dispatch the Action to a velocity page, the checkboxes in the page should be checked, but this doesn´t occurs, why? ------------------ I´ve looked in the checkboxlist.vm, but this condition is always false, because the $parameters.nameValue doesn´t exist... #if ( $tag.contains($parameters.nameValue, $itemKey) ) checked #endthanks Ricardo |
- RE: [OS-webwork] CheckboxList template ricardolecheta
- RE: [OS-webwork] CheckboxList template Paul Knepper