1、错误描述
六月 03, 2014 11:00:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression nums is undefined on line 10, column 25 in list.ftl."
Expression nums is...
分类:
其他好文 时间:
2014-06-20 12:59:50
阅读次数:
229
Zend\View\Renderer\PhpRenderer::render: Unable to render template "wap/index/get-vhomeinfo"; resolver could not resolve to a file
原因是get-vhomeinfo在代码中是getVhomeinfo,不能有大写...
分类:
其他好文 时间:
2014-06-20 11:57:54
阅读次数:
300
1、错误描述
六月 04, 2014 10:31:47 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expected number, sequence, or string. maps evaluated instead to freemarker.core.Hash...
分类:
其他好文 时间:
2014-06-20 11:26:40
阅读次数:
303
具体模板类作用这边就不细说了,下面主要是描述下模板类的使用方法以及注意的一些东西。#include using namespace std;template
//定义类模板class Compare{ public : Compare(numtype a,numtype b) {x=a...
分类:
编程语言 时间:
2014-06-11 08:31:33
阅读次数:
199
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
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
A JSP page exists in three forms:JSP source
code:consists of a mix of HTML template code.Java language statements.JSP
directives and actions that desc...
分类:
Web程序 时间:
2014-06-08 00:18:41
阅读次数:
523
因为平常用的话只是vector的一些非常简单的功能,基本上把它当数组来用,现在也只是把这一部分写了一些。 1
template 2 class XVector { 3 public: 4 XVector(int
cacheSize):cacheSize(cacheSize), count(0...
分类:
其他好文 时间:
2014-06-07 23:28:39
阅读次数:
287
选择排序 直接选择排序: 选择排序,每一趟找到一个最小(大)值,每一趟遍历的数据减少一次。
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
类模板声明
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//通常形式
template typename TypeParam>
class SomeClass
{
//...SomeClass的成员
};
//或者
template typena...
分类:
其他好文 时间:
2014-06-07 14:56:24
阅读次数:
296