`
bean-woo
  • 浏览: 131646 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论
文章列表
smartGwt 整合FusionCharts 把需要的.swf文件和FusionCharts.js放在war下面(路径就自己定了) 可以工程的html文件中引FusionCharts.js文件 也可以在.gwt.xml文件中引FusionCharts.js(如果工程是拆分开了,建议在.gwt.xml中引用JS文件) smartGwt封装JS      常见问题 1、设置layout的setBackgroundColor("white");(仅限与搜狗地图结合使用时) 2、设置FusionCharts的wmode="Opaque"; 3 ...
smartGwt整合搜狗地图时会出现地图会浮在ListGird上面, 1、需要设置Layout的Z-index. 2、设置Layout的setBackgroundColor("white");   public class FusionChartsLayout extends Layout { public FusionChartsLayout() { FusionChartsLayout.this.setZIndex(0); } }
jquery API
  package com.test;   public class RmbConvert { public String simpleToBig(double money) { if (money <= 0) { return "不能为负数"; }   String result = "";   char[] hunit = { '拾', '佰', '仟' }; // 段内的量度 char[] vunit = { '万', '亿' }; // 段间的量度 char[] digit = { ' ...

UUID 产生码

  package com.core.util;   /**  * UUID 产生码  *   * @Created Time:Jan 4, 2009 9:30:29 PM  */   public class UUID { public static String randomUUID() { String uuid = java.util.UUID.randomUUID().toString(); uuid = uuid.toUpperCase(); uuid = uuid.replaceAll("-", "_"); ret ...
    package com.appdev.test.server;   import java.util.regex.Pattern;     public class ChineseCharacter {   public static void main(String[] args) { String str = "我是asdf中国人as sdfsf/.,';\\=[][=]"; String value = ChineseCharacter.getChineseCharacter(str); System.out.println(value) ...
/*  * Licensed to the Apache Software Foundation (ASF) under one or more  * contributor license agreements.  See the NOTICE file distributed with  * this work for additional information regarding copyright ownership.  * The ASF licenses this file to You under the Apache License, Version 2.0   ...
package com.core.util;       import java.text.SimpleDateFormat; import java.util.Date; import java.util.Random; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.text.ParseException;   import org.apache.commons.lang.StringEscapeUtils;   import net.sourceforge ...

主键生成器

    博客分类:
  • Util
package com.appdev.bsf.fusioncharts.client;   import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Date;   /**  * 主键生成器。该类使用单例模式。  *   */ public class PKGenerator { /** * �存储主机IP左移48位后的值。ֵ�� *  */ private long key;   private static final PKG ...
日志记录器(Logger)是日志处理的核心组件。log4j具有5种正常级别(Level)。 日志记录器(Logger)的可用级别Level (不包括自定义级别 Level), 以下内容就是摘自log4j API (http://jakarta.apache.org/log4j/docs/api/index.html):static Level DEBUGDEBUG Level指出细粒度信息事件对调试应用程序是非常有帮助的。static Level INFOINFO level表明 消息在粗粒度级别上突出强调应用程序的运行过程。
FusionCharts 3.1破解版
从v2.3到v3的列举如下: 根元素的XML数据文件已改为<graph>以<chart> 。然而, <graph>因素仍将继续努力,从旧的XML文件。但是,我们建议您使用<chart>元素的任何新的图表,你现在。 <set name='' ...>已变更为<set label=''>更好的解释。 <set name=''>仍将继续努力,为了向后兼容,但我们建议您使用<set label=''>现在。 同样, <category name='' ...>已变更为<category la ...

POI工具类

    博客分类:
  • POI
  package com.adtech.tools;   import java.io.IOException;   import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession;   import org.apache.poi.hssf.usermodel.HSSFCell; import org ...
本来是计划用tinyMCE的,可是tinyMCE不支持文件上传,只好换成了FCK,可是发觉FCK有一点不是很方便,也可能是自己一直没有找到,设置的办法。 官方js中的配置 this.InstanceName = instanceName ; this.Width = width || ‘100%’ ; this.Height = ...
FCKeditor是很著名的一个编辑器,用Javascript可以很容易的获取FCKeditor的内容和给FCKeditor赋值,如下: // 获取编辑器中HTML内容 function getEditorHTMLContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.GetXHTML(true)); } // 获取编辑器中文字内容 function getEditorTextContents(EditorName) { var oEditor ...
Global site tag (gtag.js) - Google Analytics