Input masking on Text [message #900399] |
Mon, 06 August 2012 17:00  |
Eclipse User |
|
|
|
Has anybody tried to add input masking on a Text widget?
There seems to be a lack of documentation for creating custom widgets for RAP 1.5. I've also read there can be issues taking the easy route of creating Browser based widgets when using the SimpleLifeCycle.
I've bad a look at the Nebula port of the Date combo and server-side input masking doesn't work very well, even with the browser on the same machine as the server (I assume because Modify listeners are always triggered after a delay).
It was fairly easy to shove a jQuery input mask library on a GWT component but I imagine it wouldn't be so simple with RAP.
Is there an easy way to subclass Text, add a property to hold the mask and some javascript to initialise the widget?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.58096 seconds