checkbox not showing as parameter?
I'm using an Ext.form.field.Checkbox on a form. Here's me creating it:
Code:
var activeCheckbox = Ext.create('Ext.form.field.Checkbox', {
id: 'detail-active',
name: 'active',
inputValue: 'x',
uncheckedValue: 'y',
fieldLabel: 'Active',
labelAlign: 'top',
submitValue: true
})
But on submission to my Java servlet, I don't see an "active" parameter. If I use a normal HTML checkbox it works.
One thing, I have the checkbox embedded in a panel, with date & time selectors. The servlet picks those up as parameters.
Looking at the generated source, I don't see name="active" attached to the ExtJS generated checkbox element, but I do with the date & time selector.
Anyway, not sure if I'm missing something. Any help appreciated!
-colin