Hi,
  As part of adding a CheckBoxMultipleChoice element, something come
up that I'd like to get opinions on...

Basically, both the above generate a series of controls.  As coded,
the RadioChoice defaults to adding a prefix of "" & a suffix of
"<br/>/n" to each control, so you get a vertical set of buttons.  If
you want to change that, you need to extend the core class and
override the getSuffix() method.

So, the choice is, do we stick with that, or add access to the
suffix/prefix via the core classes, i.e. get/set methods.

Thus, for a horizontal list, do we go for

    a)  add(new RadioChoice("choices", myList).setSuffix(""));

or

    b)  add(new RadioChoice("choices", myList) { 
            public String getSuffix() { return ""; } 
        });

/Gwyn


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to