dropdown « wicket « Java Enterprise Q&A





1. Language drop-down selector    stackoverflow.com

I want to be able to create a drop-down select box based on the languages my website supports. I can't seem to find a component in Wicket that does this out-of-the-box. ...

2. Wicket resource - string not found?    stackoverflow.com

I'm playing with wicket's form input components. I tried to put an enum to a DropDownMenu:

  public enum Choice { ONE, TWO, THREE }

  cz.oz.wicket.pages.form.FormPage.java
  --------------
  .add( ...

3. Getting value of selected option from drop down in Apache wicket    stackoverflow.com

I want to retreive the value of selected option from a DropdownChoice on click of Link in Apache Wicket.This works on click of button but not on click of Link. Please guide. Thanks, Nitesh ...

4. How to update a Panel when user selects a drop down chioce in Wicket?    stackoverflow.com

I would like to know how to update a panel when we select a drop down chioce values, that is in onUpdate() method. My custom panel has AjaxFallbackDefaultDataTable. Below is Panel and drop ...

5. How can I create a dropdown list in Wicket?    stackoverflow.com

I'm trying to populate items in a dropdown list. I've achieved getting values from my database, but I can't add them in a dropdown list.

public List<String> getNames(){
      ...

6. How do you get values from a dropdown list in Wicket?    stackoverflow.com

I've found the following Wicket sample code:

package org.apache.wicket.examples.ajax.builtin;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
import org.apache.wicket.markup.html.form.DropDownChoice;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.model.AbstractReadOnlyModel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.apache.wicket.model.PropertyModel;

/**
 * Linked select boxes example
 * 
 * ...

8. How can I direct a user to a new page dynamically based on a dropdown list with plain Wicket?    stackoverflow.com

Here is my situation: the user selects a section (for example from a dropdown) such as "Section1," "Section2" or "Section3." Then he clicks the OK button (or some link). What I need ...

9. Need a strategy to lookup property for dynamically generated dropdown component    stackoverflow.com

I need to set the null value string for a dropDownChoice component. The default value for null choice is "Choose One", which is hardcoded in the Wicket AbstractSingleChoice class. The usual way ...





10. Select Element of Dropdown Box in wicket with dynamically created elements    stackoverflow.com

How can I automatically select an element in my dropdown box that I'm creating and adding? The code below creates the dropdown box, I would like to select the item that corresponds ...

11. Wicket Drop down choice to set default value    stackoverflow.com

I want to replace "choose one" option in drop down choice with other String "successfully occured" and I dont want to show list item to set the default.

DropDownChoice<Person> customer = new ...

12. Models in a Wicket FormComponentPanel    stackoverflow.com

I've created a FormComponentPanel to represent the current time which consists of 3 drop downs for hour and minute and meridiem. The model object of the FormComponentPanel is a Date object and ...