码迷,mamicode.com
首页 >  
搜索关键字:thymeleaf 模板技术 template    ( 9748个结果
velocity模板技术生成word文档
本文介绍采用velocity技术在Java中生成word文档的方法。 1、新建一个word文档,编辑内容如下: 2、将上述word文档另存为htm格式的文件 3、新建一个Java Project项目velocityTest,加入Velocity所依赖的Jar包velocity-dep-1.5-beta2.jar。 4、在src目录下新建一个velocity.vm文件...
分类:其他好文   时间:2014-06-09 23:22:20    阅读次数:417
freemarker自定义标签报错(四)
freemarker自定义标签 1、错误描述 六月 05, 2014 11:31:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Error executing macro: write\nrequired parameter: nums is not s...
分类:其他好文   时间:2014-06-09 23:18:11    阅读次数:353
sharepoint ECMA using a list template to creating a list in SubSIte
Using a list template to creating a list in SubSItefunction CreateList(){ var clientContext = new SP.ClientContext(siteUrl); var current...
分类:其他好文   时间:2014-06-09 00:18:39    阅读次数:220
pgm3
这部分主要讨论了一些概念性的东西。一个是常用的 local probabilistic models,一个是如何用 template-based representation。这部分主要是一些概念,特别是对 BN 在某些特殊场所下 d-sep 概念的推广。这里需要区分一点的是 context 与“给...
分类:其他好文   时间:2014-06-08 22:49:17    阅读次数:424
Python - 定制pattern的string模板(template) 详解
定制pattern的string模板(template) 详解本文地址: http://blog.csdn.net/caroline_wendy/article/details/28625179 string.Template的pattern是一个正则表达式, 可以通过覆盖pattern属性, 定义新的正则表达式.如: 使用新的定界符"{{", 把{{var}}作为变量语法.代码:# -*- coding: utf-8 -*- ''' Creat...
分类:编程语言   时间:2014-06-08 18:00:47    阅读次数:308
基于thinkphp的uploadify上传图功能
php Action 服务器端 /*  * To change this template, choose Tools | Templates  * and open the template in the editor.  */ /**  * Description of UploadAction  *  * @author hxwj  */ class ...
分类:Web程序   时间:2014-06-08 15:26:18    阅读次数:292
freemarker自定义标签报错(一)
freemarker自定义标签 1、错误描述 freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #macro on line: 12, column: 101, in template: myself.ftl in myself.f...
分类:其他好文   时间:2014-06-08 09:47:07    阅读次数:223
eclipse 使用技巧、经验 (编码、格式化模板、字体)
1、设置编码为UTF-8  在Windows-                 选择右侧框中的Text File encoding,改为utf-8 2、导入 格式化模板 windows-》preference—》java-》code style-》code template 点击import按钮 3、字体大小 Window - Preferences-》General...
分类:系统相关   时间:2014-06-08 09:43:18    阅读次数:245
Python - 定制语法的string模板(template) 详解
定制语法的string模板(template) 详解本文地址: http://blog.csdn.net/caroline_wendy/article/details/28614491 string模板(template)参考: http://blog.csdn.net/caroline_wendy/article/details/27054263string.Template()内添加替换的字符, 使用"$"符号, 或 在字符串内, 使用"${}...
分类:编程语言   时间:2014-06-08 09:21:01    阅读次数:360
排序算法--(二)
选择排序 直接选择排序: 选择排序,每一趟找到一个最小(大)值,每一趟遍历的数据减少一次。 template void SelectSort(T a[],int length){ T temp; for (int i=0;i0;i--) { shift(a,i,n); //n只是起条件判断作用,并不...
分类:其他好文   时间:2014-06-07 21:10:36    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!