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: 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
Post a Comment