Parent page:document.domain = 'xxxx.com'function fixIframeHeight(h,iframe){ $(iframe).height(h);}Iframe page:document.domain = 'xxxx.com'console.lo...
分类:
其他好文 时间:
2015-02-02 14:02:50
阅读次数:
74
5. 单例模式
class Marker(val color: String){
//类中的任何代码段作为构造函数的一部分
println("Creating " + this)
override def toString(): String = "marker color " + color
}
object MarkerFactory{
private val markers ...
分类:
其他好文 时间:
2015-02-01 16:13:46
阅读次数:
202
今天将ArcGIS系列的软件从ArcGIS9.3.1升级到ArcGIS10,然后就使用VS创建一个简单的AE应用程序,然后拖放一个toolbar、LicenseControl以及MapControl控件。接着编译应用程序,编译成功。然后单击F5运行程序,这个时候程序报错,出现下面所示的错误:ArcG...
分类:
其他好文 时间:
2015-01-31 23:07:54
阅读次数:
221
Xilinx Platform Studio (XPS)XPS provides an integrated environment for creating software and hardware specification flows for embedded processor syste...
分类:
其他好文 时间:
2015-01-31 16:04:42
阅读次数:
198
1、配置路径 SPRO->Financial Accounting (New)->Accounts Receivable and Accounts Payable->Customer Accounts->Master Data->Preparations for Creating Customer ...
分类:
其他好文 时间:
2015-01-30 16:59:40
阅读次数:
218
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bean': Post-processing of the FactoryBean's object failed; nested exception is org.springfra...
分类:
编程语言 时间:
2015-01-30 15:51:33
阅读次数:
2718
注意,【】中是后来加的批注。因为随着对DDD的深入了解,对DTO的思考也有所改变。分布式模式下,DTO层是一定需要的吗?DTO层的作用是为了隔离Domain Model:让DoMain Model的改动不会直接影响到UI;保持Domain Model的安全,不暴露业务逻辑。【最大多数情况看来,UI或...
分类:
其他好文 时间:
2015-01-30 15:43:42
阅读次数:
181
问题:Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext-dao.xml]: Error setting property values; neste...
分类:
数据库 时间:
2015-01-30 15:34:55
阅读次数:
1469
location是javascript里边管理地址栏的内置对象,比如location.href就管理页面的url,用location.href=url就可以直接将页面重定向url。而location.hash则可以用来获取或设置页面的标签值。比如http://domain/#admin的locati...
关于IAP购买失败的问题 解决方法 Error Domain=SKErrorDomain Code=0 "无法连接到 iTunes Store" UserInfo=0x7f4c530 {NSLocalizedDescription=无法连接到 iTunes Store}bundle id和produ...
分类:
其他好文 时间:
2015-01-30 10:33:15
阅读次数:
2395