`
SilverRing
  • 浏览: 71031 次
社区版块
存档分类
最新评论
文章列表
"An unexpected error has been detected by HotSpot Virtual Machine" keeps popping up everytime when i tried the Selenium 0.9.2 test cases using IE7 as the opening browser. It fails with both jvm 1.5.0.8 and 1.6.0.3. The simplest way to fix this problem is to add the following JVM option -D ...
LCDS provides a RTMP channel which is a duplex socket connection between the SWF file and the server. It means the server is immediately notified when the underlying SWF file is disconnected. In a RTMP channel, the FlexSession on the LCDS server is scoped to the underlying RTMP connection from the ...
1. Architecting Flex Applications That Perform Well 1) Use the Flex navigator containers (Accordion, TabNavigator, and ViewStack). Flex navigator containers help control the creation of child views with deferred instantiation. 2) Dashboard-style. This type of application organizes content into modu ...
1. Copy content to clipboard System.setClipboard(strContent); 2. Clone an ArrayCollection //dummy solution( well, it works ) var bar:ArrayCollection = new ArrayCollection(); for each ( var i:Object in ac ){ bar.addItem( i ); } // fantastic ! // var bar:ListCollectionView = ...
在jboss4.2中设置crossdomain.xml应该放在[jboss home]/server/default/deploy/jboss-web.deployer/Root.war下,内容为 <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allo ...
在[jboss home]\server\default\deploy\jboss-web.deployer下找到server.xml,在 <Host name="localhost" autoDeploy="false" deployOnStartup="false" deployXML="false" configClass="org.jboss.web.tomcat.security.config.JBossContextConfig&quo ...
1. server side: (1) To demonstrate there's no issue with transferring objects, create a TestObj first: package ws; public class TestObj { private String name; public String getName() { return name; } public void setName(String name) { this.name = nam ...
I thought it's supposed to be pretty easy before I tried to implement. The requirement is like this: when a link on the parent window is clicked, a child window pops up and after a series of processes, a child window value will be returned to the parent window. Since the child window involves prett ...
AbstractTransactionalDataSourceSpringContextTests是Spring提供的一个用来单元测试的工具,可以帮你在每个测试后自动rollback,但是它有一个前提是数据库必须是支持Transaction的。 MYSQL中只有INNODB和BDB类型的数据表才支持事务处理,其他的类型皆不支持。
1. go to [Jboss home]\server\default\deploy\jboss-web.deployer and find server.xml 2. modify <Connector port="8080" address="${jboss.bind.address}" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" proto ...
在一般tomcat中配置无用。若不配置,在试图使用Data Service并且向服务器更新数据时报错: Unable to access UserTransaction in DataService 解决方法: 在WTP中配置好Tomcat后,会在Navigator Panel中出现Servers的图标,找到相应的Tomcat图标(比如Tomcat v5.5 Server @ localhost-config),在里面加上context.xml,文件内容为: <Context> <Transaction factory="org.objectwe ...
  http://tools.assembla.com/flexsdk/changeset/3
Ctrl + O : opens the quick outline dilaog box (as shown in figure) Ctrl-Shift-T : opens the Type dialog window Ctrl + SHIFT + C : insert a comment in Actionscript code or in MXML blocks
A classic example occurs for external MXML components  : xml 代码 <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" pageTitle="FlexGala - Author : Marco Casario" xmlns:myComp="myFolder.*" >      <myComp:MyComFile id="myCmp" />   ...
closing all the projects you don't need (right click on them an choose Close Project) unchecking Enable Code Folding under Window > Preferences > Flex > Editor increasing Eclipse's startup min max memory settings
Global site tag (gtag.js) - Google Analytics