Example usage for org.apache.wicket.markup.html.form Radio Radio

List of usage examples for org.apache.wicket.markup.html.form Radio Radio

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.form Radio Radio.

Prototype

public Radio(final String id) 

Source Link

Usage

From source file:gr.interamerican.wicket.markup.html.panel.DataTableRadioButtonPanel.java

License:Open Source License

/**
 * Creates a new DataTableRadioButtonPanel object. 
 *
 * @param id//  w  w  w  .  j a va 2  s .c o m
 * @param model
 */
public DataTableRadioButtonPanel(String id, IModel<T> model) {
    super(id, model);
    Radio<T> radioButton = new Radio<T>(RADIO_ID);
    radioButton.setDefaultModel(model);
    add(radioButton);
}