0

Load Value in textbox while Window Init/popup

asked 2021-04-23 09:47:42 +0800

AmolAnturkar gravatar image AmolAnturkar
30

Dear Team, I have a values return from database (ListModel) and I want to load that value on lets say in textbox during the window init or popup from another windoow. Kindly help to know how I can achieve this. Since, I am new to ZK, Appreciate if you can provide any sample code for this. Thanks!

With Best Regards, Amol

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2021-04-26 12:40:02 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

That's sounds quite possible however some of the details (especially how your windows interact - what controllers or view-models are involved, which pattern is used MVC MVVM ...) need to be clarified before providing an example actually useful to your scenario.

I'll increase your karma so you can provide a link to https://zkfiddle.org/ with some simplified code illustrating your case, so we just need to fill in the missing bits.

link publish delete flag offensive edit

answered 2021-05-06 21:58:03 +0800

AmolAnturkar gravatar image AmolAnturkar
30

Thanks for reply! and Sorry for delay in reply. I managed to performed it by passing parameter from one zul to another zul using map/hashmap function and fetch it using @global-command / binding param.

Thanks again!

With Best Regards, Amol

link publish delete flag offensive edit

answered 2021-05-07 01:00:15 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

ok @global-command sounds feasible to me

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
1 follower

RSS

Stats

Asked: 2021-04-23 09:47:42 +0800

Seen: 10 times

Last updated: May 07

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