Need help regarding.selectall functionality. I have created a form.
DynamicForm form = new DynamicForm();
final SelectItem category = new SelectItem("category", "Employee Category");
category.setMultiple(true);
category.setValueMap("Direct","InDirect","ALL");
form.setFields(category);
If i select 'ALL' all three items in picklist should also be selected.if i deselect 'ALL' all three items should be deseleted. need help
You can try out the following: