Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<t:saveSate> initialize null attributes to 0 for int or '' for string. how i stop it.  RSS feed

 
Rajibul islam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 '';

Thanks in advance,
Rajib
 
Bauke Scholtz
Ranch Hand
Posts: 2458
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!