0

How .zul page give pararameters to .zul page

asked 2010-03-22 13:37:14 +0800

pierfas gravatar image pierfas
12 1

Hello for all, (I am a Spanish programmer ,excuse me for my grammar).
I have a .zul page (with his own controller) and I want to navigate to another .zul page ( I use "Executions.sendRedirect("page2.zul");" to make it) and I don´t know how to give or send parameters ( something similar to "request.setAttribute" ) to page2.zul.
Help me pleaseeeeeeee.

delete flag offensive retag edit

3 Replies

Sort by » oldest newest

answered 2010-03-23 04:45:09 +0800

xmedeko gravatar image xmedeko
1031 1 16
http://xmedeko.blogspot.c...

AFAIK by Executions.sendRedirect(...) you can only pass parameters as normal HTTP GET parameters, e.g. Executions.sendRedirect("page2.zul?id=5&subid=6"); If you need to pass "whole objects", than store them in a session and pass a key how to retrieve them (this is just ugly workaround).

link publish delete flag offensive edit

answered 2010-03-23 05:08:27 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-03-23 05:08:49 +0800

Search for Executions.createComponents("page2.zul", parent, map)

link publish delete flag offensive edit

answered 2010-03-30 07:55:07 +0800

pierfas gravatar image pierfas
12 1

Thanks for all

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-03-22 13:37:14 +0800

Seen: 671 times

Last updated: Mar 30 '10

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