-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hai,
i would like to create a dynamic button tag html . how can i create that ?
i know how to create zk component dynamic such button. just use button btn= new Button() inside loop.
TIA,
Andy Susanto
http://www.zkoss.org/javadoc/3.5.1/zhtml/
hai,
i am realy Confused about zhtml.
how can set a value for a button? i just see setId method to unique component
TIA,
Andy Susanto
the component in zhtml is kind of ZK abstract component too and it simply generatse a tag just like you write a <table or <hr
do you ever try it ?
hai Dennis,
i know zhtml can create a tag like <table and so on.
but if i am using servlet just use ServletOutputStream method to render that html tag.
if i create zk component just Button btn = new Button(); btn.setLabel("test") after that zk will automaticly create that component.
how about zhtml i try create Button btn = new Button() but how to set Label that user can see what the function of that Button.
Can you give an example code that using zhtml and set any value to that zhtml component ?
TIA,
Andy Susanto
hai Jumper,
your demo is showing how to create static html tag.
but i want to create dynamic page. Page will show how many record in database with paging of course, each record will render on the top of button. so user can click that Button.
TIA,
Andy Susanto
Asked: 2008-11-20 14:40:04 +0800
Seen: 401 times
Last updated: Nov 25 '08