`
文章列表
1. SiteMesh是一个Web页面布局修饰框架, 用于构建包含大量页面, 需要一致的外观样式(look/fell), 导航和布局机制的大型网站.SiteMesh应用Decorator模式,用filter截取request和response,把页面组件head,content,banner结合为一个完整的视图。通常我们都是用include标签在每个jsp页面中来不断的包含各种header, stylesheet, scripts and footer,现在,在
4。1自带验证功能表单: Ext.form.Field.prototype.msgTarget = 'side';//验证错误时在旁边显示     var bd = Ext.getBody();      bd.createChild({tag: 'h2', html: 'Form 1 - Very Simple'});     var simple = new Ext.FormPanel({         labelWidth: 75,   

Extjs-form实例1

    博客分类:
  • ext
Extjs-form实例: 1。Ext.onReady(function(){  var form = new Ext.form.FormPanel({     defaultType: 'textfield',     labelAlign: 'right', title: 'form', labelWidth: 50,       frame: true,                          
一。extjs例子。 1。新建一个helloworld目录,helloworld目录下新建一个helloworld.html文件,将下列内容复制进index.html文件中 <link rel="stylesheet" type="text/css" href="ext/css/ext-all.css" />       <script type="text/javascript" src="ext/ext-base.js"></script>         ...
10. 模块:dojo.string.extras ★dojo.string.substituteParams 类似C#中的String.Format函数 %{name}要保证与传入的对象的名称大小写一致,否则会出异常 dojo.string.substituteParams("%{name}: %{value}", {name:"名称",value:"值"}); //will return "名称: 值" ★dojo.string.capitalize 把每一个单词的首字母大写 ★dojo.string.isBla ...
三。DWR中的JavaScript简介 3。1 使用DWR实现远程方法调用:可以通过把回调函数放在参数列表里,也可以把回调函数放到元数据对象里。 如:* Remote.getData(42, function(str) { alert(str); });//简单的回调函数 *调用元数据对象:Remote.getData(42, { callback:function(str) { alert(str); } });   3。

Echo3学习笔记1

1.Echo2应用的基本原理: 在使用Echo2建立一个Web应用之前,你需要首先建立两个Java类: ApplicationInstance 和 WebContainerServlet。ApplicationInstance 代表每个用户实例的状态,WebContainerServlet继承自HttpServlet, 负责管理http连接,并为每个新的用户生成并分配一个新的ApplicationInstance。 public class HelloWorldApp extends ApplicationInstance {
DWR WEB开发 一。DWR配置文件主要有以下四个部分组成 1。web.xml文件主要配置DWR的后台控制器和配置文件的载入(略) <servlet>        <servlet-name>dwr-invoker</servlet-name>        <display-name>DWR Servlet</display-name>        <description>Direct Web Remoter Servlet</description>        <servlet-class& ...
1.Dojo工具包: • dojo.collections:很有用的集合数据结构(List、Query、Set、Stack、Dictionary...) • dojo.crypto:实现加密功能的API(Blowfish、MD5、Rijndael、SHA...) • dojo.date:无须编写丑陋的
Global site tag (gtag.js) - Google Analytics