Macadamian/titanium_mobile — pull request #140 by jpl-mac (2012-08-28 19:19:48+00:00)
Title: TIMOB-10557 Blackberry: Getters are not working

Reviewer: David

This patch introduces cached getters. In other words, it allows for generic getters for JS properties without requiring to add more C++ code.

Changelog:
- Updated the alertDialog yml doc
- Removed c++ implemented getters that are not longer needed
- Added NO_BRIDGE properties flags, (no bridge is the same as cached)
- Modified onValueChange to no invoke the callback when it's null, but still forceset the value on the JS object
- Set the READ_NO_BRIDGE flag on all readable properties
- Modified setTiMappingProperties to not pass the callback when the NO_BRIDGE flag is set
- removed warning

Tests:
- Tested that the generic getters work and replace the c++ implementations appropriately
- Tested the generic getters on the alertDialog, ensure that buttonNames returns an array

app.js file used for tests attached to JIRA ticket