Pessoall tudo bem?
Seguinte tenho um campo multiple e gostaria de setar os campos Array no formulario. Ou seja deixar selected segue:
<html:select property="carro" multiple="true" value="${clienteForm.carro}" >
<html:options collection="domainCarroList" property="value" labelProperty="label" />
</html:select>
Estou tentando setar um array no “value” mas nao ta rolando… segue o bean
private String[] carro;
public String[] getCarro() {
return carro;
}
public void setCarro(String[] carro) {
this.carro = carro;
}
Por favor alguem pode ajudar?