以前,dojo主要使用json格式进行数据的传递,不能很好的使用xml格式的数据。但是现在这种情况得到改善。首先就是正在开发的http://getahead.org/dwr/3.0将向dojo提供xml格式的支持。另外就是http://www.nexaweb.com向dojo捐献了代码,来提供xml支持,并且发布了0.1.0版本。官方网址为:http://dojoe.nexaweb.com/。
dojo 1.1.0正式发布了。更新内容如下:major updates to the Dojo 1.0 codebase including enhancements for performance, usability, themes, accessibility, and new features.
dojo1.1发布rc1版了,看来3月正式发布的许诺基本能够实现了。感兴趣的同仁可以到http://download.dojotoolkit.org/下载试用了。添加了一些新功能,性能也得到提高了,Bug也修复了不少呦。
dojo 1.1 beta2发布了,下载地址:http://download.dojotoolkit.org/,提供了对Adobe air的支持。具体细节参见:http://dojotoolkit.org/air
最近dojo的更新工作进行的很快,几天没看,就发布了1.0.2了。感觉不错。相信dojo惠悦来越好。现列举更新如下:
Feature-complete, API docs and Book done. Tests all pass. Grid and Charting landed. All Dijit widgets feature i18n and a11y.
corrects regression in dijit.Declaration (#5243) which repairs the mail demo (#5217)
accessibility fixes ...
刚才使用dojo1.0.1发现一个奇怪的问题:
首先陈述一下熊的的开发环境:
Windows 2003
eclipse3.3.1
myeclipse6.0.1
tomcat6.0.24
jdk1.6.0_03
因为兄弟使用myeclipse,创建jsp页面时会自动生成代码:
java 代码
<%
String path = request.getContextPath();
Str ...
dojo1.0.1正式发布了。修复了很多的1.0.0的bug。具体的修改内容可以查看:http://trac.dojotoolkit.org/browser
下载地址:http://dojotoolkit.org/~peller/release-1.0.1/
dijit.form.Button, dijit.form.DropDownButton, dijit.form.ComboButton
属性
iconClass:指定按钮的图标样式
label:指定按钮显示的文字
optionsTitle:描述菜单选项的文字。
showLabel:是否显示按钮的label。
方法:
addChild:添加子widget。
getChildren:以数组的形式获得所有子widget。
setLabel
hasChildren
r ...
效果:
属性
tabPosition:定义tab的显示位置。属性有: "top", "bottom", "left-h", "right-h"。
方法:
addChild:添加子widget。
back:选中前一个widget。
forward:选中下一个widget。
getChildren:以数组的形式获得所有子widget。
getParent:获得父容器。
removeChild:删除子widget。
resize:调整尺寸。
selectChild:根据"id" ...
效果:
属性:
doLayout 如果为"true", 改变当前显示的widget到合适的尺寸。
方法:
addChild:添加子widget。
back:选中前一个widget。
forward:选中下一个widget。
getChildren:以数组的形式获得所有子widget。
getParent:获得父容器。
removeChild:删除子widget。
resize:调整尺寸。
selectChild:根据"id"选取widget。
效果:
属性:
activeSizing:指定是否只能使用鼠标拖拽分羹工具条来调整尺寸。
orientation:指定分割方式:"horizontal"、"vertical"。
persist:如果为true,则将信息写入cookie。
sizerWidth:指定分割工具条的宽度
方法:
addChild
getChildren
getParent
removeChild
resize
LayoutContainer的效果类似于Java中的awt布局中的BorderLayout。layoutAlign属性可以是:"left"、 "right"、"bottom"、"top"、"client"。
效果1:
效果2:
Content Pane是最近出的布局。从概念上讲,它类似于Portal中的content boxes。content pane类似于iframe,但是包含额外的功能,在特定主题下,渲染widgets部件。可以在Content Pane内部进行嵌套使用,但通常将其放在布局容器(LayoutContainer、StackContainer和TabContainer)里。
效果:
属性:
errorMessag ...
dijit.layout.AccordionContainer:可折叠的布局模式。包含一组AccordionPane组件,显示每个AccordionPane组件的标题。但是在同一时间,只能有一个AccordionPane可用。
效果:
快捷键:
导航到下一Pane: Right a ...
首先声明,本人刚开始学习,英语不好,如果英语好的,推荐直接阅读英文资料。如果发现有不正确、不准确的地方,请纠正。
TextBox家族包括:Validation, Currency, Number, Date, Time等成员。这些widget都是基于html中Input类型为"text"的标签。
dijit.form.Textbox能实现去除空白字符、大小写处理、要求必须输入等功能。
dijit.form.ValidationTextbox扩展了dijit.form.Textbox,添加了校验功能。
dijit.form.Numb ...
dojoType="dijit.form.NumberSpinner" : 指定要使用的dojo widget的类型。
constraints="{min:9,max:1550,places:0}": 属性解释:min:指定最小值;max指定最大值;places:指定小数位数;
defaultTimeout="50": 从按下键到输入完成的延迟时间。
invalidMessage="数据无效": 指定错误消息。
intermediateChanges="false": 如果为" ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>InlineEdit范例</title>
&nbs ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>第一个范例</title>
...
- 浏览: 53852 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
对you must specify a loc ...
非常谢谢你啊!
-- by guoshiyu20 -
dojo 1.1 beta2发布了
dojo1.1 beta3发布了,下载地址:http://download.do ...
-- by noname365 -
对you must specify a loc ...
刚好遇到这个问题,使用你提到的办法解决了。谢谢!
-- by movingboy -
Dojo1.0简介
老兄你的文档终于出来了,多写一些例子:),3x
-- by karan -
dojo1.0.1正式发布了
速度问题是个折中 后台可以考虑,前台Web还是慎重
-- by airport






评论排行榜