DropDownChoice(String id, IModel model, List source)
DropDownChoice(String id, IModel model, List source, IChoiceRenderer renderer)
ok will change the constructors.
Another point: When I experimented with the old implementation of
Choice, I tried to setup something that would display a list of
radiobuttons but should display multiple columns, i.e.
( ) bla bla bla
( ) blabla blaha bla
( ) bla2 blabla blah
this wasn't really possible because I couldn't emit the required <td>
and </td> tags and I had to use a difficult workaround using a
ListView. It would be nice if you could somehow switch off
markup-escaping.
if you can improve or have youre own RadioChoice implementation for this
i will be happy
to integrate these kind of changes into the current components..
Another problem was to print a euro sign (€) which shall be added to
the HTML as € but which is always escaped as &euro;. And
directly embedding the euro sign didn't work either - probably because
of encoding problems which get hopefully sorted out for 1.1.
If you have a Euro as a char in java . Then you really have to use UTF-8
as youre output.
I can't find anything else that converts it ok.. (it converts it to 0x3f
(iso-8859-1) but windows charset tells me it should be 0x80)
where do you add that € At what place is it converted?
And a question: How does a MultipleValueChoice (for example a list of
check boxes) work with your new API. Is it possible to pass a List as
Model?
You mean that you have 2 lists?
1 are the choices and the other the selections?
That should already work.. Then the selected items should come from a list.
Please let me know if you have an example where this isn't the case.
See ListMultiChoice
johan
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user