I have isolated my problem in this fiddle
It uses the root model instead of the parent
edit:
One obvious solution would be to use templates, but there must be a easier way of getting correct context?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally you would do something like this:
This ensures that the parent context is your
subModel. You can, of course, put thewithbinding on an element rather than use the containerless binding.http://jsfiddle.net/rniemeyer/xYphz/1/