- 浏览: 262297 次
- 性别:
- 来自: 上海
-
最新评论
-
15665280578:
[color=red][/color]加executeUpda ...
HQL如何执行update,delete相关的createQuery -
thy_mm:
多谢。
如何取消SVN管理 -
zhys1314:
[url][url][url][url][url][url][ ...
HQL如何执行update,delete相关的createQuery -
demojava:
大哥,你代码不全啊,无法运行啊。。
Away3D Lite:Basic_InteractiveObject -
demojava:
我做了一个demo,发现和你的不一样。
你可以看一下:
htt ...
Away3D Lite:Basic_SceneSetup
文章列表
1. Learn to use some Adobe Online Applications
such as "Adobe BUZZWORD
" and "Online Photoshop
"
2. Learn to use Flash Build Beta 2
3. Learn to use Flash Catalyst Beta 2
4. Learn to know and how to use some Flash Player 10'
s new features
...
- 2009-11-07 20:38
- 浏览 812
- 评论(0)
<root>
<bag id='1'>
<bag id='11'/>
<bag id='12'/>
<bag id='13'/>
</bag>
<bag id='2'>
<bag id='21'/>
<bag id='22'/>
<bag id='23'/>
</bag>
</root>
xml.ro ...
- 2009-11-06 21:53
- 浏览 2180
- 评论(0)
在按钮中嵌入icon图标有两种方法。第一种是在Flex应用中创建一个变量,利用[Bindable]和[Embed] ,在代码中以参数形式传入制定图标(icon)的路径,然后利用类似icon="{Icon}"的代码嵌入到按钮中。第二种是利用@Embed()和参数中指定图标的路径。
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
...
- 2009-11-06 21:40
- 浏览 1804
- 评论(0)
Application.application
.myTree.validateNow();
Application.application.
myTree.selectedIndex = 0;Application.application.
myTree.expandChildrenOf(Application.application.myTree.selectedItem, true);
尽量少用吧。。。不然模块间耦合的太紧密了
- 2009-11-06 20:17
- 浏览 1176
- 评论(0)
/*=========flex tree的展开,关闭,添加、删除子节点=========*/
/*=========因为用的静态数据,所以并没有真正的删除=========*/
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="flexlib.controls.*" xmln ...
- 2009-11-06 14:17
- 浏览 2942
- 评论(1)
String queryString = "delete from UserFolder as model where model.userId = ?";
Query queryObject = getSession().createQuery
(queryString);
queryObject.setParameter(0, userId).executeUpdate()
;
必须在最后加executeUpdate();
不然数据无法更新,select就不需要了
CSDN上下载的,该Tree是采用XMLList
绑定数据的
CheckTreeDemoRenderer.as
package com.render
{
import flash.events.MouseEvent;
import flash.xml.*;
import mx.collections.*;
import mx.controls.CheckBox;
import mx.controls.Image;
import mx.controls.Tree;
import mx.controls.listClasses.*;
import ...
- 2009-11-06 09:40
- 浏览 1791
- 评论(0)
大家都知道应该用expandChildrenOf(item,true),但是Flex2说明中很明确写道:
"If
you set dataProvider and then immediately call expandChildrenOf() you
may not see the correct behavior. You should either wait for the
component to validate or call the validateNow() method.
"
treePlayList.dataProvider
=
r ...
- 2009-11-06 09:34
- 浏览 1125
- 评论(0)
从XP把Eclipse打包拷贝到WIN7里,却出现了经常自动关闭的问题,google后成功解决问题:
网上说:
Eclipse快捷上点右键,选属性,在目标中文字后加入一串参数:
-vmargs -Xms128M -Xmx256M -XX:PermSize=64M -XX:MaxPermSize=256M
可我没找到在哪里加,
我的solution如下:
打开Eclipse根目录下的eclipse.in
i文件
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
2 ...
- 2009-11-05 20:30
- 浏览 1951
- 评论(0)
使用MySQL Administrator 登录,报错:
Either
the server service or the configuration file could not be found.Startup
variable and service section are there for disabled.
使用Root 登录进去以后看到管理功能都是禁止掉的,提示:
This section is only avaliable when connected to localhost
solution:
点开MySQL Administrator ...
- 2009-11-04 09:48
- 浏览 1340
- 评论(0)
鼠标驱动安装不了,Photoshop CS4安装成功但运行不了
09.11.4: 找到微软鼠标win7驱动了,差点就有去中关村买无线鼠标的冲动了。。。ps还是不行,只有换个版本了,哎
09.11.10:搞定WIN7兼容性的问题
- 2009-11-04 07:59
- 浏览 1417
- 评论(0)
1.event意外报错
private function alertClickHandler(event
:CloseEvent):void
{
if (event
.detail
== Alert.YES)
{
//...
}
}
如果报错说找不到属性detail,可以将event
改成e
就没问题了
- 2009-11-03 14:37
- 浏览 869
- 评论(0)
点击按钮先进行验证,验证通过后,执行 editGroupHandler
函数
<mx:StringValidator id="editGroupValid" source="{groupEditName}" property="text"
trigger
="{editGroupBtn}" triggerEvent
="click" valid
="editGroupHandler
(event)"/>
<mx:Butto ...
- 2009-11-02 21:51
- 浏览 845
- 评论(0)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
verticalAlign="middle" backgroundColor="white"
creationComplete="initApp()">
<mx:Style>
.er ...
- 2009-11-02 21:49
- 浏览 1154
- 评论(0)
我在$tomcat/webapps/下建了个myjsp目录作为我网站的默认目录,在myjsp中有一个a.jsp文件,该文件要作为我网站的默认主页。
修改配置文件:
首先,修改$tomcat/conf/server.xml
文件。
在server.xml文件中,有一段如下:
……
<engine name="Catalina" defaultHost="localhost">
<host name="localhost" appBase="webapps"
unpa ...
- 2009-11-02 21:47
- 浏览 1480
- 评论(0)