0

Dynamic label creation

asked 2015-01-22 10:47:35 +0800

zkframeworkquestions gravatar image zkframeworkquestions
1

updated 2015-01-22 10:56:02 +0800

I require to create group of labels dynamically based on database column count. if 10 columns are there then 10 labels should create with that column name. Like radiogroup does zul have 'label group'. I need to get the column values as a string. Nothing to do with that labels. Is there any other way to display that string values instead as labels? Please reply me

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-01-22 12:44:39 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2015-01-22 12:45:44 +0800

This creates native zk component (html)

HtmlNativeComponent text;
Component myParent = .....;

for ..... {
text = new HtmlNativeComponent(null, "myColumnName", null);
text.setParent(myParent);
}
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-01-22 10:47:35 +0800

Seen: 17 times

Last updated: Jan 22 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More