0

How to pass parameter from composer to zul

asked 2012-07-20 10:09:06 +0800

shamsul gravatar image shamsul
6

Hi,

I have problem to pass parameter from composer to zul. Currently what I've done is it only working with sessionScope but if I use another implicit objects it giving an empty value.

Can I use another implicit objects?

/Shamsul

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2012-07-20 12:33:43 +0800

cvarona gravatar image cvarona
554 1 6

Have you tried overriding doBeforeCompose and setting your parameters in the arg field?

link publish delete flag offensive edit

answered 2012-07-20 12:47:16 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

Are you using MVVM or MVC Pattern ?
If MVVM
Check my blog, there are lot of examples there

http://emrpms.blogspot.in/

link publish delete flag offensive edit

answered 2012-07-23 01:52:20 +0800

shamsul gravatar image shamsul
6

I'm working on existing project and the current code is in the doAfterCompose. In doAfterCompose I have get a value from the backend service and need to pass this value into the zul.

I'm using MVC pattern.

/Shamsul

link publish delete flag offensive edit

answered 2013-06-11 09:20:43 +0800

quintanilla1979 gravatar image quintanilla1979
15

you can pass parameter using this:

page.setAttribute("name",attribute);

link publish delete flag offensive edit

answered 2013-06-11 12:21:12 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

Check here

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: 2012-07-20 10:09:06 +0800

Seen: 199 times

Last updated: Jun 11 '13

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