I know dojo handles pasting of things in the editor widget already, and the onchange/onkeypress is an obvious no-brainer (ie dojo.even.connect ) ..
It's such a rare occurrence that we might actually have something to contribute ~back~ to dojo, do you think you'd be interested? The only barrier would be filling out and faxing in one of these, http://dojotoolkit.org/icla.txt , as well as changing all of the code to fit the dojo coding guidelines (http://dojotoolkit.org/docs/js_style_guide.html ). It'll be worth it in the end, we get free support from the dojo dev's if they accept the code :) (i'm sure they will once it gets changed for the guidelines and such, let me know and I can provide some assistance here)
Either way it's a great addition! All the recent additions makes it feel like christmas time for tacos. We should celebrate by changing our logo to the ice cream taco character from south park ;)
On 2/9/06, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> 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.
--
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
