public String getQueryString() {
		if (options == null)
			return "";
		String s = name + "=";
		int n = 0;
		int count = options.size();
		HtmlOption o = null;
		if (model instanceof DefaultComboBoxModel) {
			DefaultComboBoxModel cbm = (DefaultComboBoxModel) model;
			for (int i = 0; i < count; i++) {
				if (cbm.getSelectedItem() == cbm.getElementAt(i)) {
					o = options.get(i);
					try {
						s += URLEncoder.encode(o.getValue(), "UTF-8") + ",";
					}
					catch (UnsupportedEncodingException e) {
						e.printStackTrace();
					}
					n++;
				}
			}
		}
		else if (model instanceof DefaultListModel) {
		}
		if (n > 0)
			return s.substring(0, s.length() - 1);
		return s;
	}