- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
peajaxaction(peajaxaction)
peajaxaction(peajaxaction)
适用AJAX行动用户指南
一、公共参数
下述参数适用于本文所有行动:
issuehosttrs:是否发起主机交易,默认为假。
若为真时,在所有动作执行的第一步即发起主机交易。若设置了resultkeyname,则主机返回结果将以resultkeyname为键,
存放到语境。若未设置resultkeyname,则将结果地图直接存放到语境。
ajaxerrormessage:默认为”体育。阿贾克斯。fail_to_render”。除发起主机交易之外,其他处理过程中若出现异常,而未被捕捉处理,则会将ajaxerrormessage
指定的消息(根据当前现场解析)返回。
二、行动说明
1。dynamicmessageaction
功能描述:通过指定键对应的值来构建动态消息。
适用情形:用于生成结构较简单的动态消息。
参数说明:
defaultmessage:若获取的返回数据为空,若设置了defaultmessage,则返回defaultmessage对应的消息(根据当前现场解析)。
若获取的返回数据为空,若未设置defaultmessage,则返回空字符串。
outputkeyname:指定从语境获取数据的键名称。必须设置。
范例:
2。dynamicexprmessage
功能描述:通过表达式来构建动态消息。
适用情形:用于生成结构较复杂的动态消息。
参数说明:
defaultmessage:若获取的返回数据为空,若设置了defaultmessage,则返回defaultmessage对应的消息(根据当前现场解析)。
若获取的返回数据为空,若未设置defaultmessage,则返回空字符串。
dataexpr:获取数据的表达式。
若不设置时,默认返回getdatamap()上下文;
若设置时,以按表达式获取数据,表达式变量上下文为语境。getdatamap(),可通过# variblename来访问;
表达式根对象为语境。
outputexpr:构建结果消息的表达式。必须设置。
表达式变量上下文为语境。getdatamap(),可通过# variblename来访问;
表达式根对象为通过dataexpr获取的数据。
范例:
三.sqldynamicmessageaction
功能描述:从数据库获取动态消息。
适用情形:用于生成基于数据库的动态消息。
参数说明:
defaultmessage:若获取的返回数据为空,若设置了defaultmessage,则返回defaultmessage对应的消息(根据当前现场解析)。
若获取的返回数据为空,若未设置defaultmessage,则返回空字符串。
SQL:指定语句ID。
inputkeyname:若未设置时,通过queryForObject(SQL,语境。getdatamap())获取数据;
若设置时,通过queryForObject(SQL,上下文。GetData(inputkeyname))获取数据;
outputkeyname:若未设置时,
Returns the result returned by the database to String.
If set, get the data specified by outputKeyName from the result returned by the database (must be Map).
Example:
4. AbstractDynamicInputAction
Function Description: build a dynamic input domain based on the list provided by the subclass.
Application case: used to generate dynamic input domains such as input, radio, or checkbox.
Parameter description:
Type: if not set, defaults to input. If the subclass provides a list of more than one record, apply only the first.
Can be set as: radio or checkbox
The name of the domain generated by keyName.
When type is radio or checkbox, keyName gets the specified value from context and transforms it into a S
您可能关注的文档
- 2009高考必背单词(2009, the college entrance examination must recite words).doc
- 2009春季岭南mba第二次小型人才交流会(2009 Spring South of the Five Ridges MBA second small talent exchange meeting).doc
- 2009年新年祝福短信集锦(2009 New Year Blessing SMS highlights).doc
- 2010-2011-1缙云期中考试安排(2010-2011-1 midterm examination in Jinyun).doc
- 2009高考病句详解(2009 college entrance examination very detailed).doc
- 2010-2011学年八年级生物上册 期中测试(无答案) 人教新课标版(Test the 2010-2011 academic year eight grade biology book on the stage (no answer) taught the new curriculum version).doc
- 2010-2011最发布的新版完整版photoshop认证考试题(含答案)(2010-2011, the most released version of the full version of the Photoshop certification examination questions (including answers)).doc
- 2010—2011学年度八年级物理第一学期期中检测试题(无答案) 人教新课标版(2010 - 2011 school year eight grade physics in the first semester of the examination questions (no answer), people teach new curriculum version).doc
- 2010巴萨金球三王(2010 Barcelona golden Kings).doc
- 2010年9月计算机等考二级vf真题及答案(September 2010 computer test two VF Zhenti and answers).doc
- perl各个符号代表的意思(Perl symbols represent the meanings of).doc
- perl笔记(Perl笔记).doc
- pf虚拟内存设置(Pf virtual memory settings).doc
- oracle中的日期和字符串互相转换(The date and string in Oracle are converted to each other).doc
- oracle数据库的数据迁移方法(Data migration method for Oracle Database).doc
- photoshop cs2 快捷键(PS图象处理软件CS2快捷键).doc
- photoshop cs2以下版本快捷键(PS图象处理软件CS2以下版本快捷键).doc
- photoshop 快捷键全集(PS图象处理软件快捷键全集).doc
- photoshop中的色彩管理(Color management in Photoshop).doc
- photoshop cs2 9.0 快捷键(PS图象处理软件9快捷键CS2).doc
文档评论(0)