zk

ZK ajax framework

Can ZK easily be integrated in a struts web application? ...

Any real-world experience of the "ZK" Ajax framework?

Does anyone have real-world experience of ZK that they can pass on? The marketing blurb on their web site makes it all sound too good to be true. Any issues with performance, browser compatibility, tooling, widget availability, etc? ...

Hibernate with ZK

Does anyone have any experience on getting Hibernate working with ZK? Thanks Edit: Sorry to clarify what I am looking for: I am looking for anyone that has experience doing this, maybe they can clarify is it easy? I have never used Hibernate before. In addition can anyone provide any resources focussed around this issue? ...

Using ZK Tree component, how do I remove Treeitems from a Treechildren node

Does anyone know how to remove Treeitems from a Treechildren node in ZK? I have tried using an iterator and removeChild but a ConcurrentModificationException! List<Treeitem> myTreeItems = treechildren.getChildren(); Iterator<Treeitem> iterator = myTreeItems.iterator(); while (iterator.hasNext()){ myItem = (Treeitem)iterator.next();...

Read-only Combobox with ZK Framework

Why the Combobox components, when read only, don't allows the user select a option with the Page Down\Page Up keys? How to enable this feature? ...

zk selecting combobox item programatically

Hi, I cannot set the value of combobox programatically can some one tell me what missing in the code public class Profile extends Window implements AfterCompose { @Override public void afterCompose() { Session session = Sessions.getCurrent(false); ApplicationContext ctx = WebApplicationContextUtils.getR...

ZK: Problem with JavaScript method invoking from action in Google Chrome

I have a zul file with description of simple window, which contains button with action : <?xml version="1.0" encoding="UTF-8"?> <zk xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.zkoss.org/2005/zul" xmlns:zk="http://www.zkoss.org/2005/zk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocati...

How can ZK Javascript can be followed to find actual file?

Hello, I want to follow ZK javascript code to obtain XML results. In the website when a country selected, another selectbox for states is populated by using ZK and i tried to find the actual address such as http://cc.com/getState?countryID=46 but I've lost within the ZK. Is there a way to reach the actual URL? Thanks. ...

zk combobox databinding

The zk code below only shows on item... I need it to show all elements in tmp. any idea? thanks <zscript> List tmp=Arrays.asList(new String[]{"a","b","c"}); ]]> </zscript> <combobox id="mycb" model="@{tmp}"> <comboitem self="@{each=row}" label="xxx" value="yyy"> </comboitem> </combobox> ...

Help with ZK component development

I'm developing a simple component. My jar structure is: br/netsoft/zkComponents/Tef.class META-INF/MANIFEST.MF metainfo/zk/lang-addon.xml web/js/br/netsoft/zkComponents.js web/zkComponents/tef.dsp My dsp file is: <c:set var="self" value="${requestScope.arg.self}"/> <span z.type="br.netsoft.zkComponents.Tef" id="${self.uuid}" ${self.o...

Relative File Path Problem

Hello all, I am developing a portlet that is trying to read in a config file. I am developing it in an eclipse project. I currently have the config file placed inside my WEB-INF folder (which is in root/WEB-INF/), and its called config.properties. How can I access this file using relative path in my java source code? (which is in root/sr...

ZK: How to create component and register databinding

Hi, I am using ZK framework to develop web applications. I am using databinding on components to set and get values. I can register databinding in source ZUL file and also in the method doAfterCompose in page's controller. This method is called during page composition. But now I have to add a new component and it's databinding into exis...

ZK: OnOK event in Internet Explorer

Hi, I am using framework ZK to develop web applications and they have to be usable also in Internet Explorer 6+. I have registered event OnOK on the Textbox. This event should be emitted when key ENTER is pressed. In Firefox this works pretty well but in IE it doesn't. Can anybody help me how to fix it, please? I'll be very greatful I...

Getting value from session using zk

Hi, i am configured the zk with struts 1 . i created a list and set in the session. List<String> nameList = new ArrayList<String>(); nameList.add( "xxx" ); nameList.add( "yyy" ); nameList.add( "nnn" ); nameList.add( "ddd" ); request.getSession().setAttribute("NAMES_LIST", nameList); now from the zul file i am trying to g...

zk with struts 1

hi, i am using ZK with struts 1. 1.i have four files, two zul file one for input and second for success message with input values 2.Action class to get the form values , print in the server and forward to success zul file when i submit the input zul page , the control is correctly going to the action class, there printed the f...

Eclipse - How to find out which libraries your project actually uses

Hello all, I installed ZK Studio plugin for eclipse and have used it to create a new ZK based webapp. However, inside my /WebContent/WEB-INF/lib folder, there are a number of .jar files that were included automatically (beloning to the zk framework). I'm assuming this was done by selecting "create a new ZK project". However, when it com...

Printing the pojo object values in the zul file using struts1

Hi, i integrated struts 1 with zk. i set the list of pojo values in the form of action execute method.how i can get this values in the zul file.Any idea please Thanks Usman ...

Real-world ZK vs GWT experience

A fellow developer and I are putting together a proposal for a new application, and we've presented both ZK and GWT to be possible choices. After messing around with both, I'd prefer to move ahead with a ZK proof-of-concept, but one of the "senior architects" of the company (who isn't even on our team) seems to be trying to take over th...

how to set an item at index "i" as selected item in zk listbox

Hi, I added a list of choices using ListModelList to a ZK listbox. Next, I tried to loop through these list of choices and find a required item (say "String"). I need to set this item ("String") as the selected item. I tried the code below but it doesn't work. Is there a way to do this ? liveListModel = new ListModelList(new AppMod...

how to run an large process in java on a button click

hello, i need to start an crawl process on clicking a button if i write inside onclick the other tabs cant be accessible till the process stops i need to run the process in background.in java ...