• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting a Boolean SessionScope Variable  RSS feed

 
DeAlton Jones
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!

I know that this must be a simple question. How can you set a boolean
SessionScope variable in a backerbean.
The code below



this is the error description from my problem console

The method put(Object, Object) in the type Map is not applicable for the arguments (String, boolean)

Any Ideas would be great!!!

I am using RAD ide.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Boolean instead.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!