ruby - Rhomobile Migration from Rho3.1 to Rho 4.0 Alert Msg. Error -


i trying migrate rho application 3.1 4.0. in 3.1 have defined alert using alert.show_popup :title => "please wait", :message => "fetching data..." specified in documentation have changed

datapopprops = hash.new datapopprops['message'] = "fetching data..."; datapopprops['title'] = "please wait"; rho::notification.showpopup(datapopprops) 

but still getting same error.error shown on mobile error: button list has been incorrectly defined. dialog not launch

any great.

try this,

 datapopprops = hash.new      datapopprops['message'] = "fetching data...";  datapopprops['title'] = "please wait";      datapopprops['buttons'] = ["ok"]  rho::notification.showpopup(datapopprops) 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -