Riashanghai - riashanghai.com - Greer, Burns & Crain, Ltd.

Latest News:

Ultimate Solution to Tomcat Encoding Problems 19 Apr 2011 | 05:19 pm

Edit server.xml and insert URIEncoding="UTF-8": <Connector connectionTimeout="20000" port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1" redirectPort="8443"/> Running from Eclipse Edit Servers/SERV...

Access Web Flow Variables from Java Code 5 Apr 2011 | 08:13 pm

Occasionally, you may need to access web flow variables from Java code instead of using EL. To obtain a web flow variable, you simply use request.getAttribute(varName). List of var names are: 閱讀全文

Spring Web Flow Tip: Result of evaluate in transition May Interrupt the Transition 29 Mar 2011 | 03:00 am

If you use an <evaluate> within a <transition>, be ware that the outcome of evaluate actions may cancel the execution of the transition if the result is false, no. As the result, the flow stays at the...

Auto Height Resized TileList 16 Nov 2010 | 03:14 pm

<mx:TileList id="tile" borderStyle="solid" borderColor="red" right="10" left="10" top="391" updateComplete="tile1_updateCompleteHandler(event)"> </mx:TileList> protected function tile1_updateCompl...

Tip: cd to the folder that contains the script launched 30 Oct 2010 | 02:46 pm

Unix/Linux: #!/bin/sh LAUNCH_FOLDER=`dirname "$0"`; cd $LAUNCH_FOLDER; Windows: cd %~dp0 You can get a lot more information using different modifiers: 閱讀全文

Tip: RegEx 检查非ASCII字符 9 Oct 2010 | 06:06 pm

如下的regular expression可用于检查string是否含非ASCII字符: [^\u0000-\u007F]* 非ASCII字符可用于排除非英文的输入。

Flush Writers in Java 1 Aug 2010 | 05:37 am

用Writer打印内容到console或者浏览器时,必须要考虑到flush。如果你用writer打印出很多内容,而程序结束时,writer如果没有被flush则用户完全看不到或者不会看到完整的信息。例如: public static void main(String[] args) { PrintWriter log = new PrintWriter(System.out); log.prin...

设计模式之Item Render 25 Jun 2010 | 06:16 pm

Pattern name: Item Render Motivation: 对于包含多Item的UI Component(如Tree, Table, DataGrid, etc) Item Containers来说,其行为大多固定,需要时常改变的是Item的显示。如果将显示实现放在这些item containers的class内,那么不仅这些classes的可重复利用性受到破坏,代码也难以管理。...

建设更强的Build系统 Recent Build Improvement: obfuscated log4j.properties + ANT logging 22 Jun 2010 | 09:17 pm

自动更新log4j.properties里面的类名 Auto-update of class names in log4j.properties after obfuscation 期待已久的功能。实现起来不难 - 不外乎从混淆的log里面分析出原始及重新命名的类名,更新log4j.properties即可。 因是在build-obf.xml内实现的,故大部分build文件无需更改就可以享受此...

Flex Consulting Training Services are Now Offered in Asia-Pacific (China, Japan, Korean, Hong Kong, Taiwan, Singapore, Australia, and New Zealand) 31 Mar 2010 | 02:17 pm

Get Consulted or Trained by Asia-Pacific Most Admired Flex Development House. Why do you need it? Reduce Risk and Stop Worrying. We assume you are like us. Initially, our team had many doubts about....

Related Keywords:

标签云 flash, zero warning, wordpress tag cloud 样式定义, java build系统, timeout waiting for idle browser, flex4 drag event drag_exit, adobe shanghai, 3500 sgd in rmb, 2500 sgd in rmb, customitems

Recently parsed news:

Recent searches: