zk

zk and sclass issue

how to create styles for zk components, for examle grid? i try something like this: <style> .mine{ } .mine tr{ } .mine tr td{ width: 16%; padding: 2px 5px 2px 1px; } .mine tr td input[type='text']{ width: 100%; } ... </style> ... <grid sclass="mine"> ... and it works.. but it's usual css, which shouldn't be used with zk.. i'm sea...

how to use zk hbox array ?

Hi, I am not sure how to use a zk Hbox Array. I am trying to create an array of ZK Hbox components and use it within a for block. void createRow(Component container, final Node fieldNode, FieldCreator [] fieldDescription) { final Vbox fieldsRows = new Vbox(); final Hbox fieldsRow = new Hbox(); final Hbox[] fieldBox; in...

how to use zk annotations

Hi, I am using zk 5.0.3. I want to use the following annotation binding as the title of a "center" region of a borderlayout: <a:bind content="entrydisplay.activeEntryCaption" /> <html /> I want to do the following: <borderlayout> <north title="use the above binding here"> this is north </north> </borderlayout> How do I achie...

no persistent classes found for query class

Hello friends, I am creating web application using zkoss 5.0.4, Spring 3.0.3, Hibernate 3 and JpA 1.0 with JBOSS 5.1 GA(with jdk support). project compiles fine with JBOSS. But it seems that persitence is not applying for some reason. When I run an application in console it gives following 10:07:35,265 WARN [QuerySplitter] no persis...

How to use ZK getFellow() method ?

Hi, I am passing a bunch of tabs from a zul file to a java file like so: tabs.zul <tabs> <tab id="tab1" label="Tab1"> </tab> <tab id="tab2" label="Tab2"> </tab> </tabs> <zscript> testTabs = new TestTabs(); Tab[] tabs = {tab1, tab2} testTabs.registerTabs(tabs) TestTabs.java public class TestTabs { .... private HashMap<String,Tab...