Out of curiosity: in your scenario, lets say you bind to
"ViewModel.CurrentPerson.Name.Address.HouseName" on an element. What
happens when the Address field is null or undefined?
Usually with sub observable objects you would use the template binding
passing in a data option and then the template acts on the sub object
itself.
While Andrews example shows you can reference things arbitrarily deep
(you may need to sprinkle some observable value calls e.g.
viewModel.prop().prop().prop().value), it isn't always safe to,
depending on how good you are at controlling your data.
--
-barkmadley
sent from an internet enabled device
http://barkmadley.com
this.someDependantProp = ko.computed(function() {return self.otherProp() ||''};// otherProp === ko.observable()