主题 : 关于搜索如何做到定位某个栏目搜索 |
级别: 解元
![]() |
24# 发表于:2015-11-04 17:22:01 IP:113.61.*.*
都对的上 而且返回链接 也是链接 localhost:8080/search.jspx?channelId=5899&q=机动
|
||
---|---|---|---|
级别: 解元
![]() |
25# 发表于:2015-11-04 17:24:45 IP:113.61.*.*
我把返回结果页 的 channelId=channel.id 改成这个返回结果就报错 channel不存在 怎么回事呢?
Expression channel is undefined on line 30, column 29 in WEB-INF/template/cms/www/shop/special/搜索结果页.html. The problematic instruction: ---------- ==> user-directive cms_lucene_page [on line 30, column 1 in WEB-INF/template/cms/www/shop/special/搜索结果页.html] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression channel is undefined on line 30, column 29 in WEB-INF/template/cms/www/shop/special/搜索结果页.html. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at |
||
---|---|---|---|