i have created a zimlet that opens up a propertyEditor. I tried using date as type which works but with select it didnt work. when the editor is display it just shows the text box and not the dropdown. and also tell me what attribute is to be used with select whether it is item or items.

var O=new DwtPropertyEditor(N,true);
var M=[{label:"Account Name",name:"Name",type:"string",value:"",required: true},
{label:"Website",name:"Website",type:"string",valu e:""},
{label:"acc",name:"acc",type:"select",value:"",ite m:[{label:"one",value:"one"},
{label:"two",value:"two"}],},
{label:"Dob",name:"Dob",type:"date",value:""}];
O.initProperties(M);
O.setFixedLabelWidth();
O.setFixedFieldWidth();

what is wrong with this code..???
waiting for reply..