I have a problem in titanium developer, when sending the values from one window to other. I tried as like in the documentation of the appcelarator but i cant make it.
Ex:
//create tableView event listener
tableView.addEventListener('click', function(e)
{
//set properties for passed info
var newWin = Titanium.UI.createWindow({
title:e.row.name,
url:'customerDetail.js',
passedName:e.row.name,
passedID:e.row.id
});
newWin.open({animated:true, modal:true});
});
//In next window
var custName = win.passedName;
I want to send the values from one window to other. Something like using bundle in android. Please help me out from this. im new to titanium developer.
Try setting the properties on the window after it’s created: