-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I'm new to ZK, so i'm not sure yet of what ZK can do.
We want to store some "field templates" in a database. Example, a Name (represented by a String), an Age (an Integer), and some other stuff.
In that way we could build forms using our application instead of coding .zul and controllers for each kind of different form.
I've done some examples for ZK, very basic stuff, but i noticed that i need a @Wire annotation for each visual component to be used in the controller. But since we want to create the forms dinamically, we need a way to use the @Wire annotation in any number and various kinds of objects (For example, Name would be a Textbox and Age a Spinner)
My question is:
what mechanism does ZK provides that i can use to achieve that?
Yes you are what you can do just wire Window components and add all child Components which will be loaded from DB will be added later as a child component.
Asked: 2013-04-19 13:03:42 +0800
Seen: 39 times
Last updated: Apr 19 '13