Monthly Archives: October 2014

Views without Controllers in Titanium + Alloy

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

Anyone using this:!/guide/Views_without_Controllers

By doing e.g. “alloy generate view viewnamhere” then trying to use the controller-less view might get an error message that the module could not be found like this:

[DEBUG] [android, 4.2.2,] Native module:alloy/controllers/pricelist
[ERROR] [android, 4.2.2,]
Type: Error
Message: Requested module not found
File: ti
Line: /module.js
At: Module.require

Just had to do a ti clean and re-build, now it’s working!

(Currently testing on iOS FWIW)