can't refresh grid from modal dialog

asked 2016-05-02 08:46:37 +0800

zigas gravatar image zigas

Hi every one , I have trouble with refresh data when data inserted to database using dialog window if not using modal dialog every thing is okay data refresh when button save clicked in the listbox this is my code : @Command("save") @NotifyChange("allData") public void saveData(){

but when I'm using modal dialog data can't refresh when button save clicked , thanks in advanced

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-05-02 09:27:57 +0800

Darksu gravatar image Darksu
1991 1 4

Hello zigas,

You should use a global command in the modal dialog as shown below:

BindUtils.postGlobalCommand(null, null, "method_name", args);

And in the main page you should declare a method using the @GlobalCommand

For more info please refer to the following:


Best regards,


link publish delete flag offensive edit

answered 2016-05-03 06:53:57 +0800

zigas gravatar image zigas

done finally problem solved I change method @Command to @global-command, thanks very much

link publish delete flag offensive edit


In stead of posting extra post for thanking, upvote and accept answer as thanking

chillworld ( 2016-05-03 08:09:24 +0800 )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

1 follower



Asked: 2016-05-02 08:46:37 +0800

Seen: 27 times

Last updated: May 03 '16

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