org.wicketstuff.jwicket.JsOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-jwicket-core Show documentation
Show all versions of wicketstuff-jwicket-core Show documentation
WicketJQuery by Stefan Lindner has been renamed to jWicket, mavenized, and migrated
to WicketStuff. This Wicketstuff version supercedes the original version which was available
at http://subversion.visionet.de/project/WicketJQuery/wiki
package org.wicketstuff.jwicket;
import java.io.Serializable;
public class JsOption implements Serializable {
private static final long serialVersionUID = 1L;
private final String name;
private final String value;
public JsOption(final String name, final String value) {
this.name = name;
this.value = value;
}
public JsOption(final String name, final int value) {
this.name = name;
this.value = String.valueOf(value);
}
public String toString() {
return name + ":" + value;
}
}