-
Instead of extending
tigase.server.DataFormwith handling of required we should switch totigase.form.Formimplementation from tigase-utils - what do you think @andrzej.wojcik ? -
I agree that
DataFormcould be a little bit more efficient (especially in server, where almost everything isElementbased, but IMHO Form API feels a bit more cleaner.My biggest gripe seems to be with
Command.addField*()andDataForm.addField*()methods and having single.addField()methods taking singleFieldas parameter would clean it up a bit. Builder doesn't help here much IMHO.It would also be nice to somehow have only single Form/Field API so moving DataForm to
tigase-utils(and maybe merging?) could be sensible.
| Type |
Task
|
| Priority |
Minor
|
| Assignee | |
| Version |
Candidate for next minor release
|
| Spent time |
0
|
Iterations
Issue Votes (0)