• 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!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!