Wednesday, January 4, 2012

Scope Variables...

Four Type:

1.application Scope- Available to all

2.Session Scope- Available to current user

3.View Scope-Current page

4.request Scope- 1 Trip to server

//creating scoped variable

ex:

viewScope.put(“varName”,“value”) or viewScope.varName=value

//Retrieving a scoped variable

ex:

var temp = viewScope.get(“varName”) or var temp=viewScope.varName

No comments:

Post a Comment