plan.dynamicCreativeState 是Integer[]数组,但是以下写法无法使用
<@p.checkboxlist width="50" colspan="2" label="Plan.dynamicCreativeState" id="plan.dynamicCreativeState" name="plan.dynamicCreativeState" valueList=plan.dynamicCreativeState list={1:"是",2:"否"}/>
plan.dynamicCreativeState 是Integer[]数组,但是以下写法无法使用
<@p.checkboxlist width="50" colspan="2" label="Plan.dynamicCreativeState" id="plan.dynamicCreativeState" name="plan.dynamicCreativeState" valueList=plan.dynamicCreativeState list={1:"是",2:"否"}/>
```
<@p.checkboxlist valueList=fromsIntArray list=fromList listKey="id" listValue="name" label="global.operator.type" name="froms" colspan="2" width="500"/>
private final Integer[] fromsIntArray = new Integer[] { 1, 2, 3, 4, 7, 8 };
private List fromList = new ArrayList();
public class CheckBox {
private int id;
private String name;
public CheckBox(int id, String name) {
this.id = id;
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
````