These are the most important (most used) variables. To have more details, check out ScreenRenderer.java populateBasicContext and populateContextForRequest methods.
This means that you don't have to worry about these variables : they are available from the 1st line of your scripts (BeanShell or Groovy)
[color=red]parameters (of course)
delegator
dispatcher
security
locale
userLogin
webSiteId
autoUserLogin
person
partyGroup
timeZone
request
response
session
application
javaScriptEnabled
sessionAttributes
requestAttributes
requestParameters
eventMessageList
errorMessageList
nowTimestamp[/color]
This means that you don't have to worry about these variables : they are available from the 1st line of your scripts (BeanShell or Groovy)
[color=red]parameters (of course)
delegator
dispatcher
security
locale
userLogin
webSiteId
autoUserLogin
person
partyGroup
timeZone
request
response
session
application
javaScriptEnabled
sessionAttributes
requestAttributes
requestParameters
eventMessageList
errorMessageList
nowTimestamp[/color]
本文介绍了在脚本(如BeanShell或Groovy)中最为常用的一些重要变量,这些变量包括参数、委托者、安全设置等,并指出这些变量在脚本编写过程中自始至终都是可用的。
1万+

被折叠的 条评论
为什么被折叠?



