• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to put instant / local variables in page scope explicitly?  RSS feed

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to below answer how to put variables into page scope?


Anthony Watson
ranch hand
--------------------------------------------------------------------------------
1) Instance variables are available anywhere on the page/translation unit. Local variables are available anywhere on the page after they have been declared. You could say that instance and local variables have page scope, but they will not be placed into the page context unless you explicitly put them there.
 
Osama Hasan
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here putting variables into page context means to add them to the attribute-list of the page context object.
 
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!