Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

explicit wrapper class

 
Tadas Davidsonas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to create a class like this:
and I need some variables in this class but this is not allowed according to jsoRestrictions its not possible:

"JSO classes cannot have instance fields. The fields would have no place to live in web mode. Programmers should instead make an explicit wrapper class and put the fields there."

What is explicit wrapper class and how to use it?

Thank you for your help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic