Saved Bookmarks
| 1. |
How To Create Radio Button In Apache-wicket? |
|
Answer» //choices in radio button PRIVATE static final List<String> TYPES = Arrays.asList(NEW String[] { "Shared Host", "VPN", "DEDICATED Server" }); RadioChoice<String> hostingType = new RadioChoice<String>("hosting", new PropertyModel<String>(this, "SELECTED"), TYPES); //choices in radio button private static final List<String> TYPES = Arrays.asList(new String[] { "Shared Host", "VPN", "Dedicated Server" }); RadioChoice<String> hostingType = new RadioChoice<String>("hosting", new PropertyModel<String>(this, "selected"), TYPES); |
|