Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adf Character count example with bug

user5108636Nov 29 2011 — edited Nov 29 2011
Hi All,
I tried integrating the character counter example (10-charcounter-168492) provided in OTN site. However, the functionality has a bug. When the backspace is pressed the first time, the remaining character count decreases instead of increasing.

http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf


I did some analysis of my own, it looks the javascript method call getSubmittedValue on the event object of a keyPress does not return the new value but only the old value.

How can I retrieve the new value from the keyPress event.

Please suggest.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2011
Added on Nov 29 2011
2 comments
469 views