Question about the include component

asked 2024-01-26 17:01:29 +0800

andij62 gravatar image andij62
315 1 7

updated 2024-01-26 22:19:46 +0800

Hi all,

i have a main component and integrated other zul-pages there with include. All sites use their own MVC controllers with GenericForwardComposer. When I receive the "onClientInfo" event in the main component I want to inform my include page to call the "RowRenderer" again to re-render the content. I don't want to completely reload the include page and read data from the database again, I just want to re-render the content.

How can I do that?

Regards Andi

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2024-01-30 17:10:11 +0800

hawk gravatar image hawk
3205 1 5
http://hawkphoenix.blogsp... ZK Team

post or send a custom event from main page to included page or a component in the included page, see https://www.zkoss.org/wiki/ZKDeveloper%27sReference/UIPatterns/Communication/Inter-PageCommunication

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




Asked: 2024-01-26 17:01:29 +0800

Seen: 4 times

Last updated: Jan 30

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