Hi,
I would like to annouce zk persian date picker component for
persian users has released [click here to download](http://blog.omidbiz.com/omidplanet/resource/source/ZkPersianDatePickerWithDocs.zip)
that would be great if you improve it and makes it better to use
Regards
↧
ZK Persian Date Picker component
↧
Error while uploading PDF on Joomla 3.3.6
Hi,
I have error while uploading with my latest Joomla 3.3.6 website
I can't use dropfiles
I tried on a 2.5 Joomla website with the same pdf and it works well
alla parameters are ok for the pdf (extension, maximum size)
my website has to be online today and no answer from the ticket support. I'm really ennoyed.
Somebody can help ?
Thanks
Johnag
grabbitmedia.com
↧
↧
Generic Tree Menu event handler
Hi, I have an application that using MVC pattern, ZK 8 version and Tree component as a menu. The application itself using border layout and Tabbox as a dynamic container. The menu tree code is adding tab when it is clicked. I have successfuly do this, but in an inefficient manner. **Is there an efficient alternatives or ways to refactor?**
The codes are:
...
...
....
↧
How to use Joomla Recaptcha plugin to a custom Joomla module?
I made a custom module for Contact Us form. Now I want to use Joomla Recaptcha plugin in to this module. Can anyone help me on how to implement Joomla Recaptcha?
grabbitmedia.com
↧
ZK Pivot table controls drag/drop bug on Firefox
Using the pivot table (Version 2.3.0) controls on Firefox (50.1.0 on Ubuntu) doesn't allow to drag/drop the various fields between row/column/value/not used.
The same page on Chrome work.
Is it a known bug?
↧
↧
Listbox auto sorted column after ListModel Update
Hi, I have a Listbox with a ListModel. I set the model on doAfterCompose then update the model from a timer component. The Listbox have a sort Comparator for each column. The problem is, when a column is sorted (ascending/descending) then the refresh event add a row of data, the data is appended as the last element of row and not sorted according to the column selected. How do I add a row then sort it automatically?
logs.zul
JobLogController.java
enter code here
package com.akarprima.idx.controller.daily;
public class JobLogController extends SelectorComposer {
private static final long serialVersionUID = 4463081939576759090L;
AppJobStatusDAO ajdao = new AppJobStatusDAO();
@Wire
private Listbox jobLog;
private ListModelMap jd = new ListModelMap();
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
jobLog.setModel(jd);
refresh();
}
@Listen("onTimer = timer")
public void refresh() {
AppUtils.compareAddMap(jd, ajdao.getJobLogDailyMap());
}
}
↧
tomcat and java version for latest zk framework
Could you please let me know which tomcat and java version are supported by ZK8, 7 and 6.5?
↧
unable to handle double click - ZK Charts
- unable to handle double click
- i have multiple drill down in the chart
- i am handling single click, but when a user click twice, it goes to two level down.
↧
What are the advantages of zk than other frameworks
i am new bee to zk. i would like to know what are the main advantages of zk over other frameworks like spring.
↧
↧
Zk Constraint + i18 dont work plus question about constraint
I follow this example https://www.zkoss.org/wiki/ZK_Component_Reference/Input/Decimalbox in special this code
And i have my i18 file like this
err.num.negative = Input can't be negative!!!!
i am using 6.5.3 but the constraint is fired but the literal value is show ${c:l('err.num.negative')} what iam doing wrong??? is very weird.
But if a try a literal it works
Another question i need a constraint which two kinds of validators like this
1) Must be not negative
2). Must be in a range like this 25-100 i have try the following
constraint="no negative:Input can't be negative!!!!,min 25 max 100:Number must be in a range[25..100]"
How can i do it...?? Is that possible?
Thanks a lot and best regards from Venezuela
↧
AImage content: how to zip content
Hi there
I am using following code to display generated SVG images (charts) to an org.zkoss.zul.Image:
AImage aImage = new AImage("chart1.svg", data);
chartImage.setContent(aImage);
It works perfectly!
The problem is that the generated SVG image may become very large. I could see with Firebug Network Analyzer that the content of the SVG image is NOT zipped while transferring from server to browser.
Is there a way to force zipping the AImage content? SVG images are actually perfect to zip (XML content).
Thank you
Best Regards
Dieter
↧
Display Tif Image
How can i show a tiff File in Image object/Control
↧
Spring and Constructor Injection
Hello,
So far, I've been using @WireVariable to inject Spring beans on my controllers and it's known to work perfectly.
@WireVariable("someBean")
private SomeBean someBean;
But here is my question... Is there a way to achieve the same result but with constructor injection? It's a known good practice to inject beans via constructor so it's easy to mock them on unit tests and such. Like this
private final SomeBean somebean;
public MyController(SomeBean someBean) {
this.somebean = someBean;
}
Can this be achieved somehow or I simply cannot unit test a ZK Controller?
↧
↧
Chrome Audio Problem
Hello;
I add audio component in zul
And in Java I add this :
File f = new File("C:\\cartoon001.wav");
AAudio media = new AAudio(f);
audio.setContent(media);
This works in firefox, but does not work in chrome v56..
The controls are greyed..
Can you help me?
ZK Version: 8.0.0, also I tried 7.0.2
Thanks.
↧
Zk Decimalbox constraint dont work
I have a Decimalbox with a single String constraint like this
"no empty:El monto no puede ser vacio,no negative:El monto no puede ser negativa"
But only a non empty constraint is fired and show all the literal in the wrong value case like this
"no empty:El monto no puede ser vacio,no negative:El monto no puede ser negativa"
I want both constraint are fired when non emtpy showing a message and when is negative value the other message but i couldn't make it work!!
but when i set a String like this it works but with the default messages
constraintForPenalizacion = "no empty,no negative";
What i am doing wrong??
↧
using Breeze css style
Hi guys, this is my first post.
I have embedded a html document via
↧
Line break in tree
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4128770
By: apinso-aka
The line break in a tree displays wrong. The new line starts at the first node point x-coordinate of the whole tree, and not at the x-coordinate where the first line starts. How do I solve this problem?
↧
↧
Retrieve bean from context
Hi, I have a problem with this code. The rootContext is null...
Any ideas?
Thanks
p.s. I use in this project spring 4.3.6 (with older version 3 works fine)
/Luca
private Object getBean(String classname)
{
HttpServletRequest servletRequest = (HttpServletRequest) Executions.getCurrent().getNativeRequest();
ServletContext servletContext = servletRequest.getSession().getServletContext();
WebApplicationContext rootContext = WebApplicationContextUtils.getWebApplicationContext(servletContext);
WebApplicationContext webApplicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext);
return webApplicationContext.getBean(classname);
}
↧
scope components
I am very much confused about the @ScopeParam with different scope components. Please describe all the scope with example.
↧
Smarty variables inside JS files
I understand using tpl files and variables inside such files.
Issue is how to manage variables also inside js file.
If I add JS file like the following line:
How to add also variables inside JS file. Is there good example to do this?
↧