dc.cw("KeyFilter", "widget_numero", {
id: "numero"
, target: "texto1"
, mask: "num"
, preventPaste: true
});
dc.cw("InputText", "widget_texto1", {
id: "texto1"
});
dc.cw("KeyFilter", "widget_especifico", {
id: "especifico"
, target: "texto2"
, regEx: /[ABC]/i
, preventPaste: true
});
dc.cw("InputText", "widget_texto2", {
id: "texto2"
});
dc.cw("AutoComplete", "widget_autoComplete1", {
id: "autoComplete1"
, delay: 300
, appendTo: "@(body)"
, queryMode: "server"
, moreText: "..."
, hasFooter: false
});
dc.cw("KeyFilter", "widget_autoCompletar", {
id: "autoCompletar"
, target: "autoComplete1_input"
, testFunction: function (c) {
return c == 'z';
}
, preventPaste: true
});