0

replacing an included page for otherone

asked 2010-07-20 02:48:59 +0800

scerro gravatar image scerro
273 3 9
www.desarrolloagil.es

Hi guys,

I got an page included in other page. I use the <include> tag. I would like to replace the page included for other one in the controller class.
I dont know If i should get the src Include object attribute and change it for the source of the other page or what!

help.
thank you in advance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-07-20 04:26:01 +0800

vinhvo gravatar image vinhvo
369 3

Yes . Do something like :

include.getChildrend.clear();
include.setsrc("index.zul");

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-07-20 02:48:59 +0800

Seen: 126 times

Last updated: Jul 20 '10

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