As you said, the Javascript helper object() function already correctly deals with booleans. So the problem is just with your data - so what is your data? Do you mean because the data from the database is actually a string based int (ie '0' or '1'), and you want this to be a boolean before going into the Javascript object() function? Or is your data from the view, and is 'true' and 'false' ?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---