<t:saveSate> initialize null attributes to 0 for int or '' for string. how i stop it.
posted 8 years ago
Before I used Tomcat 5.5. now I moved Tomcat 6 and add richfaces in my application. but now problem is if any attribute is null, it become 0 for integer and '' for string. I found it happens at RESTORE_VIEW phase.
Any one help me how I protect that initialization. I want null attribute value become null not 0 or '';