- 浏览: 123139 次
- 性别:
- 来自: 广西
最新评论
-
xionglaio:
EL表达式格式化日期 -
九路车没站牌:
EL表达式格式化日期 -
JavaStudyEye:
尤溪,很简单,但是却很实在。
fieldset实例2
文章列表
Flex4自定义登录监听事件精简做法
- 博客分类:
- Flex
参考了:http://hi.baidu.com/chongshe/item/cb0976b7cde4c17e254b09bc之后,发现把登录框独立成Group组件之后,无法触发事件.下面贴下我的全部代码:
1.LoginEvent.as
package {
import flash.events.Event;
public class LoginEvent extends Event {
public static const USER_LOGIN : String = "userLogin";
private var resMsg : Str ...
<?xml version="1.0" ?>
<!-- transitions\LoginFormTransition.mxml -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
< ...
<?xml version="1.0" encoding="utf-8"?>
<!-- states\NewStatesReparent.mxml -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark" ...
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="60 ...
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="60 ...
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="60 ...
Flex4权威指南学习心得
- 博客分类:
- Flex
1.Flex项目导入导出:在Flash视图下,点击文件(F)->导入 Flash Builder 项目2.<s:states>应用:使用includeIn属性控制组件根据状态值可见性
a. 在Flex4里通过点语法来设定一个组件属于某个状态的属性值。例如:
<s:Button label="Default State" label.State2="New State"/>
上述的代码的意思是,这个按钮的lable值在State2状态下是New State,在其他状态下是Default St ...
ActionScript:基本介绍,面向对象,语言基础,XML解析
FLex基础:MXML语言,First Application,基础控件,容器与布局,组件事件,皮肤,渲染,光标,提示,效果,样式,状态,拖放以及弹出窗口
FlexBuilder3:Flex Builder 3应用项目构建,应用调试与跟踪,应用编译与发布
Flex高级1:数据验证,数据格式化,数据绑定,Data Grid,Tile List,Horizontal List,Repeater,Tree,Navigator
FlashBuilder4介绍:Flash Builder4背景,新特性,Flex4介绍,Flex4新 ...
。网上的一种说法,关闭range,关闭worksheet,关闭workbook,最后关闭excel
System.Runtime.InteropServices.Marshal.ReleaseComObject(Range);
2System.Runtime.InteropServices.Marshal.ReleaseComObject(myBook);
3System.Runtime.InteropServices.Marshal.ReleaseComObject(myExcel);
Range = null;
myBook = null;
myExcel = ...
1.判断是否登陆:
Action里写request.setAttribute("_javascript", "alert('您还没有登陆,请先登陆!')");
<logic:present name="JAVASCRIPT">
<script type="text/javascript">
<bean:write name=&qu ...
Eclipse本身很快的,但是加上了myeclipse后,就狂占内存,而且速度狂慢,那如何让Eclipse拖着myeclipse狂飚呢?相信大家都有些独门秘笈,我先开个头,大家一起让Eclipse拖着myeclipse狂飚起来!
技巧一:取消自动validation
validation有一堆,什么xml、jsp、jsf、js等等,我们没有必要全部都去自动校验一下,只是需要的时候才会手工校验一下,速度立马提升好几个档次!
取消方法:
windows-->perferences-->myeclipse-->validation
除开Manual下面的复选框全部选中之外 ...
outline插件:
http://www.jointlogic.com/downloads/updatesite
高亮插件:
http://www.jointlogic.com/downloads/updatesite(update地址)
1.比较:if(!"".equals(categoryId)&&categoryId!=null){dosomething}
1.关闭MyEclipse的Quick Update:
Windows > Preferences > MyEclipse > Community Essentials,
把选项 "Search for new features on startup"的前勾去掉即可.
2.
1。下载地址(见附件):http://sourceforge.net/projects/csseditor/
2。解压缩复制到Eclipse > plugins
3。打开Eclipse。window > Perferences > General > Editors > File Associations
找到File types: *.css
选择Associated editors: CSS Editor 为Default。
OK