it:ad:sencha_touch:howto:work_with_paths

IT:AD:Sencha Touch:HowTo:Work with Paths

Summary

You redirect to paths either by using the current controller, or getting back to the current app instance (via app.app property) as follows:

//since 2.01, the .app property can be used to get the app instance.
app.app.redirectTo(url);
//from a controller, it would be 
//this.redirectTo("help/about");

You can get the app path from:

 window.location.hash.substr(1)
  • /home/skysigal/public_html/data/pages/it/ad/sencha_touch/howto/work_with_paths.txt
  • Last modified: 2023/11/04 01:56
  • by 127.0.0.1