0

Transfer to different page [closed]

asked 2012-12-26 04:43:31 +0800

vulamgiang90 gravatar image vulamgiang90
12

updated 2013-01-22 08:11:06 +0800

neillee gravatar image neillee flag of Taiwan
1692 1 5
https://plus.google.com/u...

I am in Home.zul .How to transfer to LIstBook.zul when I click a toolbarbutton?

Who can help me some code demo ? Thanks !

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by sjoshi
close date 2013-02-08 06:42:24

1 Reply

Sort by ยป oldest newest

answered 2012-12-26 06:23:43 +0800

neillee gravatar image neillee flag of Taiwan
1692 1 5
https://plus.google.com/u...

Hello vulamgiang90,

Please refer to the following example.

Home.zul

<window>
  <toolbar>
    <toolbarbutton label="List Books">
    <attribute name="onClick">
      Executions.sendRedirect("ListBook.zul");
    </attribute>
    </toolbarbutton>
  </toolbar>
</window>

ListBook.zul

<window border="normal" title="List books">
  Listing the books
</window>

link publish delete flag offensive edit

Question tools

Follow

RSS

Stats

Asked: 2012-12-26 04:43:31 +0800

Seen: 68 times

Last updated: Jan 22 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More