Leonardo Quijano Vincenzi wrote:
Hi,
I committed a basic infrastructure for Javascript input masks in
textfields. The approach is similar to the eventListener one. Use a
"mask" parameter in a textfield, like this:
<input jwcid="[EMAIL PROTECTED]"
mask="'###-##-####'"
value="ognl:number"
displayName="Number" />
The only thing missing from this implementation is the Javascript for
masking, hehe. I'm going to be looking for some good generic
javascript input mask functions (onkeypress, onpaste and onchange
events), but if anyone knows any, please go ahead. Right now the
MasksExample only masks numbers.
Hmmm I'm banging my head on the wall with this one. Perhaps I'm not used
to masks, so, what's the usual Masking contract we should be able to
provide?
(Regular expressions don't mix with javascript events, I see :|).
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel