Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-148

ListChoice doesn't set the default max rows for every constructor.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.2.3, 1.2.4, 1.3.0-beta1
    • wicket
    • None

    Description

      I came to the same conclusion as Nino. What I have observed was this,

      1. For,

      ListChoice selection = new ListChoice("disciplineSelection", new Model(),
      disciplines)

      , a list box is created in the web page.

      2. For,

      ListChoice selection = new ListChoice("disciplineSelection", disciplines)

      , a dropdown box is created in the web page.

      3. For,

      ListChoice selection = new ListChoice("disciplineSelection",
      disciplines);selection.setMaxRow(8);

      , a list box is created in the web page.

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            jcompagner Johan Compagner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: