---
title: "ExtJS4.x 随笔(2011-04-29更新)"
author: "atian25"
date: "2011-04-29T13:41:26Z"
tags: ["Blog", "EXT", "MVC"]
categories: ["Web前端"]
slug: "extjs4-x-2011-04-29"
draft: false
lastmod: "2011-04-29T13:41:26Z"
id: 1024175
url: "https://atian25.iteye.com/blog/1024175"
---

1.某个激活/禁用的checkboxfield,需要提交后台的值是true/false,而ext默认会提交后台的是on/null

解决方法:

```
        field: {
            xtype: 'checkboxfield',
            inputValue: 'true',
            uncheckedValue: 'false',
            boxLabel: '激活与否'
        }
```

 

2.MVC的示例, 官方自带的示例有些毛病,需要一些配置,过几天写个专门的blog来介绍下