/src/main/java/org/htmlunit/html/HtmlSelect.java
} pairs[i++] = new NameValuePair( name, option.getValueAttribute( ) ) ;
pairs[i++] = new NameValuePair ( name, option.getValueAttribute ( ) ) ; }
public NameValuePair[] getSubmitNameValuePairs() { final String name = getNameAttribute(); final List<HtmlOption> selectedOptions = getSelectedOptions(); final NameValuePair[] pairs = new NameValuePair[selectedOptions.size()]; int i = 0; for (final HtmlOption option : selectedOptions) { <extra_id_0> return pairs; } boolean isValidForSubmission() { return getOptionSize() > 0; } @Override