Thursday, 17 May 2012

ZK Calling Another ZUL File

Method 1


<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal">
New Content Here!
<button label="click me" href="../main/Practice.zul"/>
</window>
</zk>


Method 2


<zk>
  <window id="mainwin" border="normal" title="hello" xmlns:c="client">
 
  <button label="Practice">
          <attribute name="onClick">
            Executions.createComponents("../main/Practice.zul",mainwin,null);
          </attribute>
    </button>
  </window>
</z

3 comments:

  1. your posting very nice,,,
    how to do paging in zk. suppose one could view zul file featuring different or dynamic view.
    *sorry, I'm not very fluent English*, I'm Indonesian

    ReplyDelete
  2. Hi Thank you

    Can you explain little bit detail ?

    Regards
    Senthil M

    ReplyDelete
  3. thank for your response,,,
    for example as below:

    http://justpaste.it/118i

    on the first TabPanel, it displays a student's presence information. what if I would to display other information in the same TabPanel?

    ReplyDelete

Passing Parameter between two files using MVVM

This examples shows how to pass parameter between two zul screens. In this example, we are passing some parameters from the parent vm to...