-
Instead of extending
tigase.server.DataForm
with handling of required we should switch totigase.form.Form
implementation from tigase-utils - what do you think @andrzej.wojcik ? -
I agree that
DataForm
could be a little bit more efficient (especially in server, where almost everything isElement
based, 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 singleField
as 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)