hi Ruslan, I think your proposal is a bit orthogonal to what is implemented now. Each of the Form::* classes implement some elementary form input, so I would prefer having it the same way.
Also multiple checkboxes need a bit of different indentation, so that one could recongize a group. Here's a first draft of the new module. I'm not sure yet the default_values work correctly: http://pastebin.com/m599d2e1d regards, stanislav ----- Original Message ---- > From: Ruslan Zakirov <ruslan.zaki...@gmail.com> > ::Form::Choice with the following properties: look => {Dropdown, > List}, multiple => {0, 1}, alternative => {0, 1}. > > This widget can delegate to particular implementation depending on properties: > > Dropdown => Select > Dropdown, alternative => Combobox > List => Radios > List, multiple => Checkboxes > ... > > As you can see it requires more work, but you can implement only what > you need and live some combinations not implemented. For example > radios with alternative may look like this: > _______________________________________________ jifty-devel mailing list jifty-devel@lists.jifty.org http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel