daft
4 Apr 2007, 8:07 PM
Hey All-
I'm having a weird problem wherein im rendering a JSONView using a template, which works fine. However I include a checkbox next to each item, and when i click them, they automatically deselect each time. I've tried to trace them but I end getting into a Yahoo.Ext.CustomEvent and cant really figure out whats going on. Here is the template I'm using:
var tpl = new Ext.Template(
'<div class="listname"><input type="checkbox" name="uItemCheck" value="{uItemId}"/><span id="{listId}"><img id="listimg{listid}" src="/images/star.gif">{shortName}'+
'</span></div>'
);
Are there any known issues with checkboxes and JSON and templates? Thanks guys
I'm having a weird problem wherein im rendering a JSONView using a template, which works fine. However I include a checkbox next to each item, and when i click them, they automatically deselect each time. I've tried to trace them but I end getting into a Yahoo.Ext.CustomEvent and cant really figure out whats going on. Here is the template I'm using:
var tpl = new Ext.Template(
'<div class="listname"><input type="checkbox" name="uItemCheck" value="{uItemId}"/><span id="{listId}"><img id="listimg{listid}" src="/images/star.gif">{shortName}'+
'</span></div>'
);
Are there any known issues with checkboxes and JSON and templates? Thanks guys