0

Source code of page dosen't change when usinge an Include

asked 2013-03-18 09:30:13 +0800

xenirox gravatar image xenirox
25 1

Hi,

I'm using an include coponenet, to load into it pages.

The problem is, when i change the source of the Include from page1 to page2, the source code of the browser dosen't change !! it's always the same, the one from the page 1, no mather what page i've loaded.

Can you Help please, i'm stuck :s !!!

Here is a sample code:

Include pageMain = ((Include) page.getFellow("index").getFellow("include_page"));
pageMain.clearDynamicProperties();
pageMain.setDynamicProperty("param1", "123");
pageMain.setSrc(null);
pageMain.setSrc("/main/page.zul");
delete flag offensive retag edit

Comments

Please Create a Sample Demo in ZK FIddle it will help us to figure out the issue

sjoshi ( 2013-03-18 09:44:10 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-18 09:48:17 +0800

gganassin gravatar image gganassin flag of Luxembourg
540 6
http://www.hybris.com/

Include component is replacing its content by default when setting the src property: probably you have an issue somewhere else. Please provide some more lines of code ;)

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2013-03-18 09:30:13 +0800

Seen: 15 times

Last updated: Mar 18 '13

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