: Re: [OS-webwork] How to get values from multiple select
> public class MyAction extends ActionSupport {
>
> private String[] multi;
>
> protected void doValidation() {
> if (multi == null) {
> addFieldError("multi", "no options selected.");
> }
>
public class MyAction extends ActionSupport {
private String[] multi;
protected void doValidation() {
if (multi == null) {
addFieldError("multi", "no options selected.");
}
}
public String doE
Hello,
I've got a problem. How can I get the value from multiple select? I've got
following code in template.vm:
One
Two
Three
Four
Five
Now I need the set/get method. Which Java type should I use for 'multi'?
Thanks in advance
Tomasz Wrona
---