0

Can we use one controller for Multiple Zul files

asked 2010-09-21 16:16:48 +0800

sachinkakkar gravatar image sachinkakkar
15

Hi,

Can we use multiple controller for 2 or 3 (Multiple) Zul files? If yes then is it degrade application's performance?

Thanks,
Sachin

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-09-22 06:56:25 +0800

SparkySpider gravatar image SparkySpider
444 1 3

As far as I understand, you need to specify one Controller for each zul, otherwise the events get messed up. You can however, quite easily create dummy classes that pass the events up the tree to a Single Controller. I tried that approach and it worked pretty well for me. I tried to see if I can have includes use the parent page controller, but alas, that didn't work for me.

link publish delete flag offensive edit

answered 2011-02-09 03:09:00 +0800

yaryan997 gravatar image yaryan997
210 2

Hi...

@SparkySpider

I am also working on similar type of application but don't know how to pass the value from one Basecontroller class to another InternetSeller class that extends the Basecontroller, so that I can use that that values to run my JPA Query.

Help me to know where is my problem.
thanks....

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-09-21 16:16:48 +0800

Seen: 395 times

Last updated: Feb 09 '11

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