Yes you are right when you say that I am yet to phathom and fully understand this component. I have no problem in admitting thatOleg wrote:@To your last post, creating whole form by model. I think you haven't understood this component How do you want to create 100+ components with 1000+ attributes in Java? Form can contain almost every component inside. If you want to create everything in Java, you can use "binding" attribute. But binding is not ideal and have limitations (can be only used with request scoped beans).
Think on Tree please. You create there TreeNodes and map them to p:treeNode tag. p:treeNode can contain everything inside, but you don't create everything in Java. Right? DynaForm follows the same approach.
I did not mean that I will create 100+ component from 1000+ attributes. OK let us take a situation ----
I have a form with 20 fields and I have them configured them in my own way in some repository. Now I can create a dynaform model with 20 controls and supply that information. You know the type you know the data value you may even know a list if its a select. So whats stopping you from iterating over this 20 controls and spitting out the form?
I am not able to understand why we again repeat the controls we need in xhtml.
Please help me in understanding even if my question may sound stupid for you.