Quantcast
Channel: ZK Forum - Individual question feed
Viewing all 9640 articles
Browse latest View live

Show vertical scroll bar in a tree.

$
0
0
Hi, I have a tree that has to fit in a limited space (window). When I have too many rows in the tree, the rows which don't fit into the tree are simply not visible. I'd like to display a vertical scroll bar so the user can scroll the tree and view the remaining items. How can I achieve this? This is my file structure: ... ... ... ... So far I've achieved the best result by using a window like this: ... ... ... ... In this case, the scroll bar appears, but the grid above the tree is scrolled also, which I don't want. I also tried to put only the tree into the window like this: ... ... ... ... ... but that did not work. The result looked as if the window wasn't there at all.

how to send zk keyEvent

$
0
0
Hi, I want to construct and send the zk keyEvent in my application, actually i am trying to provide a button for full screen mode, i am using 'F11' key. from the keyboard it's working fine. i want to provide button interface also. can you please help me on this. here is the code i am trying. it's not working, giving some zk error like zk event not constructed correctly.

How to apply sapphfire theme in ZK 6.5.2?

$
0
0
Hi! I followed the instruction > How to use sapphire.jar:> 1. Put sapphire.jar in WEB-INF/lib, then Sapphire will become your default theme if there is no others theme.> 2. Now you can also dynamically switch between different themes by cookie or library property>org.zkoss.theme.preferredsapphire And I've got this imageshack.us/a/img189/8489/8xs2.jpg but I want that imageshack.us/a/img27/1434/maq9.jpg How can I get full theme in my project? Thanks in advance! Maria

Closed Listgroup cause selected items to get unselected

$
0
0
I have a listbox with a SimpleGroupsModel set. When I select some items from a given group and click on the group's header to close it then it makes the items unselected when I run myList.getSelectedItems(). When I open the group again the items are selected again. So my questions are: 1. Why the heck we have that weird behavior on Grouped lists and why there isn't a property in the Listgroup class like 'setClosable(boolean)'? This is impossible that only me is looking for such behavior. 2. Is there a way to freeze the Listgroup headers to prevent them to be closed? Thank you, Gyo

About Gantt Chart

$
0
0
I want to know : does the ZK gantt can work like this : left zone and right zone ; Edit in left zone and show in right zone; just as: http://www.plusgantt.com/project/demo/Project.html anybody can help me ? thanks

mobile device scroll and zoom

$
0
0
I have a problem with version 6.5.2 and mobile devices. I have a "BorderLayout" with "center" that has "autoscroll=true". This fact makes the scroll functions perfectly, but I lose the ability to zoom with the gesture "pinch". If disable the "autoscroll" zoom works well but the scroll is very slow. How could zoom with "autoscroll=true"? Thanks.

dynamic web twain but its not working

$
0
0
Hi, I am using dynamic web twain to scan document, but JS for it some times working and some times not working dynamicWebTwain1.AcquireImage(); method some times working and some times not working and also method is also some times working and and some times not working dynamicWebTwain1.attachEvent('OnPostAllTransfers', dynamicWebTwain1_OnPostAllTransfers); below is code i am using

OpenERP server error while using jasper module

$
0
0
Hey guys , hello to all . I am having some problems while trying to create a simple report using Jasper report designer. I have finished configuring the entire stuff. But when I try to create a new data temple through jasper module, I am getting "Open-ERP server Error". Plz help me to fix it

How to disable combobox dropdown ?

$
0
0
Hi, Is it possible to disable the dropdown of a combobox ? Many thanks,

Gpolygon problem ( new feature )

$
0
0
Hi all guys. I have a problem with Gpolygon component of Gmaps. My component i want to draw ( 1 component ) is composed of 3 objects that are not in the same "area". When i watch the output on google map, there are obviously the lines that join this objects. This surely is not a bug, but this can be a "new feature". Maybe it can works like a GIS where you can have the same object with different areas not contiguous Thanx

Problem carriage return with tooltip

$
0
0
Hi all I have a problem with the carriage return in tooltip. My code : return new ListitemRenderer() { @Override public void render(Listitem item, Object data) throws Exception { item.setValue(data); Listcell cell = new Listcell(); item.appendChild(cell); Hbox box = new Hbox(); cell.appendChild(box); [...] toolTip += fieldName + " : " + result + "\n" + "something"; Label label = new Label(extension); label.setTooltiptext(toolTip); box.appendChild(label); } }; And the "\n" is not interpreted... Thanks for your help, Regards, SHERKHAN

ZK Icon Image issue while loading the application

$
0
0
Hi, Currently we are facing issue with ZK Icon while it is loading. We are using ZK framework for our application and while loading the application we see there is an default ZK icon which also gets loaded automatically. This load is happening through http cal and we have a secure page, so while loading ZK Icon there are some issues happening like 1. Causing some issue with external javascript. 2. Getting security popup which asks if we are sure to enter secure site and so on Is there some way so that we can remove that image or how can we stop that image from loading

fileupload start event

$
0
0
what is event name when file starts to get upload? onUpload event is when files got uploaded on server. I just want to handle starting point when files starts to upload from client to server.

IE9 popup window not working

$
0
0
I am having an IE9 issue that I cant seem to find a solution. If anyone can help. The code below is the code use to call the popup window. For some reason it works on IE7 and IE8. But on IE9 the popup wont even show up.
${vm.initialize(arg.contentID, arg.title, arg.adaTxt, arg.popupStyle, arg.hasRegisteredTrademark)} ${vm.title} ${arg.optionalTxt == null ? "" : arg.optionalTxt} ${vm.popupContent}

How to reduce row height in Grid and Listbox component for ZK 5.0.4 of themes breeze

$
0
0
I am using breeze theme. My Grid and Listbox row's height bigger than Classic blue theme. How to decrease the row height? Could you please help me anyone? We can check the difference in the following URL: http://www.zkoss.org/zksandbox/userguide

GA date for ZK 7.0

$
0
0
Hi, Can someone please point me to the roadmap that shows the expected GA date for the 7.0 release? Thanks...

Session when running webapp in 2 tabs

$
0
0
Simple question. If I start webapp twice, each in its own tab of browser, doesn't each get its own Sessions.getCurrent()? In my app they seem to be sharing the data - 2nd one overwrites the first one(?). When I run it w/ separate browsers session data stays unique for each, as I would expect. Thanks for any clarification.

zk upload effect - progress bar doesn't get remove after files uploaded

$
0
0
I have gone through and try a lot of things. But main thing is file upload progress bar viewer doesn't get remove after files uploaded. script is also trying to override for file upload manager to remove this but it's not happening

about the event of menupopup

$
0
0
请问一下,我打算在menupopup元素的onOpen事件中添加判断,当判断不符合要求时,我想要使用 event.stopPropagation();来终止menupopup的显示。但是,不起作用。 该如何处理呢? code: if(false) { event.stopPropagation(); } **but the menupopup always show**

Label formatting for <chart/> component

$
0
0
Hello everybody, I'm using the component and, on the X axis, the label are dates in this format: "dd/mm/yyyy hh:MM:ss". Obviously a so long label is progressively truncated when the points on the axis increase. What I'm trying to obtain is to have the label shown on two rows, but I still can't find a way to do it. How can I manipulate the label format? Thanx for your time, Roberto
Viewing all 9640 articles
Browse latest View live