ADF Removing automatically trailing spaces from all String/Varchar2 fields?
413724Sep 6 2005 — edited Sep 6 2005Hi,
JDev 10.1.2.
I just noticed that trailing spaces are not removed from textfields, in JClient and Struts/ADF.
If my memory is good, in forms trailing spaces were removed.
I would like to remove all trailing spaces of String/Varchar2 fields before the value reaches the DB, no matter which type of Client technology.
Adding a trim function to all my setXXX(String value) methods in all my EO is the obvious solution.
What is the best way to achieve this?
Is it possible to develop a custom EntityImpl class and extend all my from EO from that custom class?
Any suggestion will be appreciated!
Thanks
Fred