How to using [b]KEYPRESS[/b] by REGEX in composer / java and zul
21 Dec 2011 06:53:04 GMT
22 Dec 2011 01:18:02 GMT
22 Dec 2011 01:18:02 GMT
Hi,
what's your requirement? Can you describe your problem more clearly?
25 Dec 2011 10:46:00 GMT
25 Dec 2011 10:46:00 GMT
Sorry i am bad english
How to create this parameter in composer / java .....and call in zul
This requirement reguler expresion by KEYPRESS, i want not keypress '~!@#$%^&*()"|}{<>?'
Thx very much for help me......
26 Dec 2011 11:08:42 GMT
26 Dec 2011 11:08:42 GMT
index.zul
Thx mr TonyQ for helpfull but i want to work in side server [composer / java], this work just in client server....
Can you help me plsss.... i want in composer not in zul...
Thx attention for help me... ^__^
Sorry i am bad english
I see your code mr TonyQ
index.zul
<textbox id="telNo" xmlns:w="client" >
<attribute w:name="doKeyPress_">
function(evt){
if(this.getValue().length > 0 ){
if (!this._shallIgnore(evt, "0123456789"))
this.$doKeyPress_(evt);
}else{
if (!this._shallIgnore(evt, "05"))
this.$doKeyPress_(evt);
}
}
</attribute>
</textbox>
Thx mr TonyQ for helpfull but i want to work in side server [composer / java], this work just in client server....
Can you help me plsss.... i want in composer not in zul...
Thx attention for help me... ^__^
30 Dec 2011 02:46:58 GMT
30 Dec 2011 02:46:58 GMT
Hi,
your composer can listen the textbox's onChange or onChanging event and perform further processing.
ZK - Open Source Ajax Java Framework
CONFUSED, can you help me...?
important
How to using KEYPRESS by REGEX in composer / java and zul