- 浏览: 95360 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (112)
- java (112)
- [书目20081126]转型:用对策略,做对事 (1)
- [转]c# winform 绘制圆角窗体 (1)
- Idiot's Note Four: 循环中continue和“if ”的细节注意 (1)
- ActiveMQ中消息游标 (1)
- http://sourceforge.net 打不开的解决办法 (1)
- 常用命令收集(系统设置) (1)
- jsessionid 问题分析 (1)
- JSP 页面不能解析EL表达式。 (1)
- SQLServer的备份语句 (1)
- Struts2 jQuery Plugin Showcase 学习笔记 (1)
- Razor view engine 基础语法 (1)
- 44个 灵感来自于“大自然”的网站设计(上) (1)
- 菜单多国语言化遇到的问题 (1)
- Mysql查看当前连接数 (1)
- Libgdx之旅-----LuaTutorial (1)
- 一些经典的BLOG (1)
- How do I prevent builds between multiple changes to the workspace? (1)
- RAP常用技巧 (1)
- Android常用类库包介绍 (1)
- 如何让新人尽快融入项目团队 (1)
- SharpDevelop (1)
- 生成PDF文件的Java库iText (1)
- 将Java包程序转换为Exe可执行文件 (1)
- hibernate hql 多个一查询 (1)
- 将视频放到网页上续 RM VS ASF (1)
- 程序员如何自我超越 (1)
- j2me实现手机通讯录的备份与还原 (1)
- Websphere 命令行部署与管理应用 (1)
- StackOverflow的404错误页面 (1)
- WM_CONCAT 函數的用法 (1)
- MyEclipse打jar包 (1)
- 通用分頁存儲過程. (1)
- 采用并行计算发挥多核CPU的威力 (1)
- mxgraph 之 增加对齐标线 等对graph的相关设置 (1)
- EJB中的@ejb注解 (1)
- UTMP分析 (1)
- .nET2.0小技巧 (1)
- spring security 和 struts 的filter顺序问题 (1)
- Session和Cookie的深入研究 (1)
最新评论
-
zhengyong7232:
<init-param> <param- ...
spring编码过滤器 -
emilyzhanghong:
你好:
请教下.你这里说的 B的war包中包含X的class ...
Maven中如何配WAR依赖WAR和JAR的多模块项目结构 -
jiangcs520:
好赞
程序员如何自我超越 -
wodentt:
看不懂....
将Java包程序转换为Exe可执行文件 -
student_stu:
...
jsessionid 问题分析
Struts2 jQuery Plugin Showcase 学习笔记
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<span style="white-space: pre;"> </span><head>
<span style="white-space: pre;"> </span><sj:head scriptPath="template/" jquerytheme="start"/>
<span style="white-space: pre;"> </span><style>
<span style="white-space: pre;"> </span>.cl{
<span style="white-space: pre;"> </span>width:64px;height:24px;font-size:11px;padding:0px;margin:0px;
<span style="white-space: pre;"> </span>}
<span style="white-space: pre;"> </span></style>
<span style="white-space: pre;"> </span></head>
<span style="white-space: pre;"> </span><body>
<span style="white-space: pre;"> </span><!-- <span style="white-space: pre;"> </span><div id="result1">adsf</div>
<span style="white-space: pre;"> </span><div id="result2">adsf</div>
<span style="white-space: pre;"> </span><div id="result3">adsf</div>
<span style="white-space: pre;"> </span>
<span style="white-space: pre;"> </span>
? ? <s:url id="ajax" value="test!ajax1.action"/>
<span style="white-space: pre;"> </span><sj:a id="ajaxlink"?
<span style="white-space: pre;"> </span>href="%{ajax}"?
<span style="white-space: pre;"> </span>targets="result1,result2"?
<span style="white-space: pre;"> </span>indicator="indicator"?
<span style="white-space: pre;"> </span>button="true"?
<span style="white-space: pre;"> </span>buttonIcon="ui-icon-refresh"
<span style="white-space: pre;"> </span>cssClass="cl"
<span style="white-space: pre;"> </span>>
<span style="white-space: pre;"> </span> ?<span style="white-space: pre;"> </span>AJAX
<span style="white-space: pre;"> </span></sj:a>
<span style="white-space: pre;"> </span><hr />
<span style="white-space: pre;"> </span><div id="formResult" class="result ui-widget-content ui-corner-all">Submit form bellow.</div>
<span style="white-space: pre;"> </span> <s:form id="form" action="test!ajax2.action" theme="xhtml">
? ? ?<s:textfield id="name" name="name" value=""/><br/>
? ? </s:form><span style="white-space: pre;"> </span>
<span style="white-space: pre;"> </span><sj:a?
? ? <span style="white-space: pre;"> </span>id="ajaxformlink"?
? ? <span style="white-space: pre;"> </span>formIds="form"?
? ? <span style="white-space: pre;"> </span>targets="formResult"?
? ? <span style="white-space: pre;"> </span>indicator="indicator"?
? ? <span style="white-space: pre;"> </span>button="true"?
<span style="white-space: pre;"> </span>buttonIcon="ui-icon-gear"
<span style="white-space: pre;"> </span>cssClass="cl"
? ? >
? ? ? submit
? ? </sj:a>
? ? <img id="indicator" src="images/indicator.gif" alt="Loading..." style="display:none"/>
?
? ? <hr/><span style="white-space: pre;"> </span>
?
?
?
? ? <div id="result" class="result ui-widget-content ui-corner-all">Submit form bellow.</div>
<span style="white-space: pre;"> </span>?
? ? <s:url id="run" value="test!ajax1.action"/>
<span style="white-space: pre;"> </span>
<span style="white-space: pre;"> </span><sj:a?
<span style="white-space: pre;"> </span>id="ajaxlink1"?
<span style="white-space: pre;"> </span>href="%{run}"?
<span style="white-space: pre;"> </span>indicator="indicator"?
<span style="white-space: pre;"> </span>targets="result"?
<span style="white-space: pre;"> </span>onClickTopics="before"?
<span style="white-space: pre;"> </span>onCompleteTopics="complete"?
<span style="white-space: pre;"> </span>effect="pulsate"?
? ? <span style="white-space: pre;"> </span>button="true"?
<span style="white-space: pre;"> </span>buttonIcon="ui-icon-gear"
<span style="white-space: pre;"> </span>cssClass="cl"
<span style="white-space: pre;"> </span>effect="highlight"?
<span style="white-space: pre;"> </span>effect="bounce"?
<span style="white-space: pre;"> </span>effectDuration="2200"?
<span style="white-space: pre;"> </span>effectOptions="{ color : '#FFFAAA' }"?
<span style="white-space: pre;"> </span>effectDuration="3000"?
<span style="white-space: pre;"> </span>>
<span style="white-space: pre;"> </span> ?run
<span style="white-space: pre;"> </span></sj:a>
? ? <img id="indicator" src="images/indicator.gif" alt="Loading..." style="display:none"/> ? ?
? ? <br/>
? ? <br/>
? ? <sj:a?
? ? <span style="white-space: pre;"> </span>id="ajaxlink2"?
? ? <span style="white-space: pre;"> </span>href="error.html"?
? ? <span style="white-space: pre;"> </span>indicator="indicator2"?
? ? <span style="white-space: pre;"> </span>targets="result"?
? ? <span style="white-space: pre;"> </span>onClickTopics="before"?
? ? <span style="white-space: pre;"> </span>onCompleteTopics="complete"?
? ? <span style="white-space: pre;"> </span>onErrorTopics="errorState"?
? ? <span style="white-space: pre;"> </span>effect="pulsate"?
? ? <span style="white-space: pre;"> </span>effectDuration="1500"?
? ? <span style="white-space: pre;"> </span>button="true"?
<span style="white-space: pre;"> </span>buttonIcon="ui-icon-gear"
<span style="white-space: pre;"> </span>cssClass="cl"
? ? >
? ? ? error
? ? </sj:a>
? ? <img id="indicator2" src="images/indicator.gif" alt="Loading..." style="display:none"/> ? ?
? ? ? <script>
? ? <span style="white-space: pre;"> </span> $.subscribe('beforeLink', function(event,data) {
? ? ? ? ? ?alert('Before request ');
? ? ? ? ? ?$('#result').html('Loading ...');
? ? ? ?});
? ? ? ?$.subscribe('completeLink', function(event,data) {
? ? ? ? ? ?$('#result').append('<br/><br/><strong>Completed request '+event.originalEvent.request.statusText+' completed with '+event.originalEvent.status+ '.</strong><br/>Status: '+event.originalEvent.request.status);
? ? ? ?});
? ? ? ?$.subscribe('errorStateLink', function(event,data) {
? ? ? ? ? ?$('#result').html('<br/><br/><strong>Error request '+event.originalEvent.request.statusText+' completed with '+event.originalEvent.status+ '.</strong><br/>Status: '+event.originalEvent.request.status);
? ? ? ?});
? ? </script>
?
?
? ? <hr/>?
?
? ? <s:form id="formEffect" action="test!ajax2.action" theme="xhtml">
? ? ? ? ? ? ? ? <s:textfield id="name" name="name" label="name" value=""/><br/>
? ? ? ? ? ? ? ? <sj:submit?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>targets="result5"?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>effect="blind"?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>effectMode="show"
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>onEffectCompleteTopics="hideTarget"
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>value="AJAX Submit"?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>indicator="indicator5"?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>button="true"
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>cssClass="cl"
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>effect="pulsate"?
? ? ? ? ? ? ? ? <span style="white-space: pre;"> </span>clearForm="true"?
? ? ? ? ? ? ? ? />
? ? </s:form>
? ? <img id="indicator5" src="images/indicator.gif" alt="Loading..." style="display:none"/> ? ?
?
<span style="white-space: pre;"> </span><div id="result5" class="result ui-widget-content ui-corner-all" style="display: none;">Submit form bellow.</div>
?
Form Submit with AJAX form Button.
<span style="white-space: pre;"> </span><s:form id="listenForm1" action="test!ajax1.action">
<span style="white-space: pre;"> </span><sj:submit?
<span style="white-space: pre;"> </span>id="submit1"?
<span style="white-space: pre;"> </span>value="Submit Button"
<span style="white-space: pre;"> </span>onClickTopics="listenOnClick1"
<span style="white-space: pre;"> </span>targets="result1"?
<span style="white-space: pre;"> </span>effect="highlight"
<span style="white-space: pre;"> </span>button="true"
<span style="white-space: pre;"> </span>/>
<span style="white-space: pre;"> </span></s:form>
</div>
<div id="result1" class="ui-widget-content ui-corner-all">Result Div for Form One</div>
<br/>
<h3>Form Two</h3>
<div>
Following Form Submit Button is Listen on Submit Button in Form One.
<span style="white-space: pre;"> </span><s:form id="listenForm2">
<span style="white-space: pre;"> </span><s:url id="formurl1" action="test!ajax1.action" namespace="/message" />
<span style="white-space: pre;"> </span><sj:submit?
<span style="white-space: pre;"> </span>id="submit2"?
<span style="white-space: pre;"> </span>href="%{formurl1}"?
<span style="white-space: pre;"> </span>value="Listen/Submit Button"?
<span style="white-space: pre;"> </span>formIds="listenForm2"
<span style="white-space: pre;"> </span>targets="result2"?
<span style="white-space: pre;"> </span>effect="highlight"
<span style="white-space: pre;"> </span>listenTopics="listenOnClick1"?
<span style="white-space: pre;"> </span>button="true"
<span style="white-space: pre;"> </span>/>
<span style="white-space: pre;"> </span></s:form>
<span style="white-space: pre;"> </span> ?
?
</div>
<div id="result2" class="ui-widget-content ui-corner-all">Result Div for Form Two</div>
?
?
? -->
? <s:form id="formTextarea" action="test!ajax2" theme="simple" cssClass="yform">
<span style="white-space: pre;"> </span><s:url id="remoteurl" action="test!ajax2"/>
<span style="white-space: pre;"> </span><sj:textarea?
<span style="white-space: pre;"> </span>href="%{remoteurl}"?
<span style="white-space: pre;"> </span>id="echo"?
<span style="white-space: pre;"> </span>name="echo"?
<span style="white-space: pre;"> </span>rows="10"?
<span style="white-space: pre;"> </span>cols="80"?
<span style="white-space: pre;"> </span>effect="highlight"?
<span style="white-space: pre;"> </span>effectDuration="1500"?
<span style="white-space: pre;"> </span>loadingText="Loading content of textarea ..."
<span style="white-space: pre;"> </span>/>
<span style="white-space: pre;"> </span><sj:submit?
<span style="white-space: pre;"> </span>targets="result"?
<span style="white-space: pre;"> </span>effect="slide"?
<span style="white-space: pre;"> </span>value="AJAX Submit"?
<span style="white-space: pre;"> </span>indicator="indicator"?
<span style="white-space: pre;"> </span>button="true"
<span style="white-space: pre;"> </span>/>
<span style="white-space: pre;"> </span><img id="indicator"?
<span style="white-space: pre;"> </span>src="images/indicator.gif"?
<span style="white-space: pre;"> </span>alt="Loading..."?
<span style="white-space: pre;"> </span>style="display:none"/>
? ? </s:form>
?
<span style="white-space: pre;"> </span><div id="result" class="result ui-widget-content ui-corner-all" style="display:none;width:200px;height:100px;">Submit form bellow.</div>
?
<span style="white-space: pre;"> </span></body>
</html>
<div><br>
发表评论
-
Session和Cookie的深入研究
2012-02-08 14:42 749Session和Cookie的深入研究 作者:孙鑫 ... -
spring security 和 struts 的filter顺序问题
2012-02-08 12:03 1015使用spring security3 和struts2 ... -
.nET2.0小技巧
2012-02-04 15:09 717<div class="pos ... -
UTMP分析
2012-02-03 10:34 783[size=small;]分析引擎包含:<br& ... -
EJB中的@ejb注解
2012-02-02 12:24 910(本文是转载其他人的技术文章,觉得说得挺浅显易懂,特借 ... -
mxgraph 之 增加对齐标线 等对graph的相关设置
2012-02-02 11:49 1580graph.setConnectable(tru ... -
采用并行计算发挥多核CPU的威力
2012-02-01 09:24 709<p><strong>< ... -
通用分頁存儲過程.
2012-01-11 13:29 755MSSQL中要想分頁只能借助 row_number() ... -
MyEclipse打jar包
2011-12-28 14:43 948<span style="font-f ... -
WM_CONCAT 函數的用法
2011-12-28 12:09 894<span style="font-f ... -
StackOverflow的404错误页面
2011-12-21 17:28 836<span style="color: ... -
Websphere 命令行部署与管理应用
2011-12-21 11:44 923<span style="color: ... -
j2me实现手机通讯录的备份与还原
2011-12-20 13:44 940现在用的手机用了4年半了,其中摔过n次,但是从没坏过, ... -
程序员如何自我超越
2011-12-19 13:24 600<span style="font-f ... -
将视频放到网页上续 RM VS ASF
2011-12-17 15:59 842发现网页上包含RM视频文件的一个致命弱点,那就是必须将 ... -
hibernate hql 多个一查询
2011-12-15 16:49 917Session s=sessionFactory.ge ... -
将Java包程序转换为Exe可执行文件
2011-12-14 10:39 813<p class="MsoNorma ... -
生成PDF文件的Java库iText
2011-12-14 09:44 716<p class="MsoNo ... -
SharpDevelop
2011-12-13 14:54 1163SharpDevelop是一个DotNet平台下的免费 ... -
如何让新人尽快融入项目团队
2011-12-13 10:54 712刚进公司的新人,从心理上要有个从学校到公司的转变的过 ...
相关推荐
struts2-jquery-plugin-3.1.0.jar
struts2 jquery plugin ,学习struts2 ,又希望在其中使用Jquery的朋友,不妨看看
struts2-jquery-plugin-2.0.0 struts2-jquery-plugin-2.0.0 struts2-jquery-plugin-2.0.0
最新的struts2-jquery-plugin插件3.3.3,包括jquery-ui和grid,使用标签实现。
struts2-jquery-plugin jar文件
netbeans7.2_struts2_plugin插件
struts2 json plugin jar包
struts2-json-plugin,Struts JSON插件
struts2+jquery 整合的jar包
最新struts2-struts1-plugin-2.1.8.1.jar
struts2 spring plugin 2.3.32,用于漏洞修复
struts2-jquery-plugin
NULL 博文链接:https://79343654.iteye.com/blog/1327488
struts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jarstruts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jar
core-2.5.10.1.jar,struts2-jfreechart-plugin-2.5.10.1.jar,struts2-json-plugin-2.5.10.1.jar,struts2-junit-plugin-2.5.10.1.jar,struts2-bean-validation-plugin-2.5.10.1.jar,struts2-cdi-plugin-...
赠送jar包:struts2-json-plugin-2.3.24.jar; 赠送原API文档:struts2-json-plugin-2.3.24-javadoc.jar; 赠送源代码:struts2-json-plugin-2.3.24-sources.jar; 赠送Maven依赖信息文件:struts2-json-plugin-...
JQuery validation plugin学习资料
、CSS和JavaScript知识的开发者,内容覆盖了jQuery知识体系的全部内容,包括jQuery Core、jQuery Plugin 、jQuery UI、jQuery Mobile以及大量第三方的插件库和2800多个应用jQuery技术的网页参考。
struts2与jquery结合,来自英文官网,非常完美,下载下来直接可以运行
从struts2.1版本开始,Convention Plugin作为替换替换Codebehind Plugin来实现Struts2的零配置。 • 包命名习惯来指定Action位置 • 命名习惯制定结果(支持JSP,FreeMarker等)路径 • 类名到URL的约定转换 • 包名...