Questions tagged [zul]

ZK User Interface Markup Language (ZUML). The UI declaration language for ZK framework.

is the XML based UI declaration language for ZK framework. Also known as ZK User Interface Markup Language (ZUML).

is an open-source Ajax framework for modern Java web applications. uses two ways to compose UI: XML-based approach and pure-Java approach.

relates to the XML based approach. Each XML element instructs ZK Loader to create a component. Each XML attribute describes what value to be assigned to the created component. Each XML processing instruction describes how to process the whole page, such as the page title.

139 questions
4
votes
1 answer

How to draw a pie-chart in Zul using JavaScript

As I am new to ZK framework and trying to implement javascript code inside zul. My code is below :
Anubhav Mishra
  • 106
  • 2
  • 17
4
votes
1 answer

Load ZUL from Jar

anyone know how to load a Zul from a Jar? I have a library project wich contains Zul. currently i use createComponents(String uri, Component parent, Map arg) but i don't know or can't reference a uri in a jar. I use now: public static Component…
Kani
  • 810
  • 1
  • 19
  • 38
4
votes
2 answers

ZK window not unique in ID space

In our project we use ZK for webpages. There is a combobox which has lists. When selected, it fetches data from a java object through onSelect, i have given the logic. when i select one there are 4 listboxes on that page to be filled with data…
Vignesh
  • 121
  • 3
  • 10
3
votes
0 answers

The value of attribute "if" associated with an element type "null" must not contain the '<' character

I'm double condition to do a test on my progressmeter. This the fist condition that I use: When I run the program I…
3
votes
1 answer

Is it possible use @NotifyChange instead of BindUtils.postNotifyChange?

I have one confusion use between @NotifyChange and BindUtils.postNotifyChange ,Why use this two event .Before i read this question In ZK Can we PostNotifyChange more than one variables . But i cant understand this question why use this more than…
user2860053
3
votes
4 answers

zk framework: how to load zul pages from WEB-INF under directory zul

I am using zk framework 6. I am trying to put my zul pages in /WEB-INF/zul directory. My index.zul file forwards the request to /WEB-INF/zul/login.zul which has a composer LoginComposer. But when I am on login page I want to redirect the user to…
vicky
  • 890
  • 4
  • 23
  • 54
2
votes
1 answer

Widgetmodel attribute not showing in ZUL Page (Hybris)

Hi I'm trying to pass data from my customGraphService to my ZUL Page through a customGraphController. But it won't display it. customGraphService public class customGraphService { public String test(){ return "this is a test"; …
2
votes
1 answer

How to add many components in ZK in specific position

I'm working in a ZK application and I need to add 's components based on user input. The zul is like this:
Alvaro Pedraza
  • 1,176
  • 6
  • 20
  • 44
2
votes
1 answer

dynamic radio button from java to zul zk

Hello :) iam bootcamp java still learn more about java and framework zk anyone know how to create dynamic radio button such as data from database but now i'm not use it. this is my source code for test radiobutton.zul
2
votes
1 answer

Can I autogenerate ID's with ZK?

My problem is that I implement multiple times the same row.zul. Now I have an ID error because the row.zul file uses static id's. In zk 8.0 it is possible to use the tag but I can't use that because we are here at a very old version (3.6.4). Do you…
pemko
  • 69
  • 9
2
votes
1 answer

Unable to get default printer name while using applet - ZK Framework

I want to print my file directly from webpage. For that I am using following reference and trying to implement same with ZUL and Composer. http://tonny-bruckers.blogspot.in/2012/11/printing-files-directly-from-web-page.html ZUL File :-
Anup Ganatra
  • 366
  • 1
  • 6
  • 23
2
votes
2 answers

zk element if @load equals condition

I have a list which I build in zul file.
Yan Khonski
  • 12,225
  • 15
  • 76
  • 114
2
votes
1 answer

Pass value from viewmodel to script in zk

I am trying to use PDFObject to show the pdf files inline. The application may contain many files. All the files are shown in the list. On clicking any one of the file, the pdf should be viewable if browser contains the pdf plugin or else show some…
Roshan Shahukhal
  • 243
  • 4
  • 15
2
votes
1 answer

In ZK, change a component's property from other ViewModel

I have a button in a zul file which is using a ViewModel. I need to disable/enable this button depending on the state of the data in some other zul which is using a different ViewModel. First ZUL file:
Harry
  • 321
  • 4
  • 13
2
votes
1 answer

Using ZK MVVM what's the best way to show/hide image based on textbox value?

I have a textbox and an image. When the user inserts text into the textbox I want to change the image shown. My doubt is how to do this in a MVVM way and in a "clean" way (following best practices).
AlfaTeK
  • 7,487
  • 14
  • 49
  • 90
1
2 3
9 10