Star JSPWiki模板 简体中文版 v1.0 于2005年7月10日发布.
下载

以下是模板的截屏:

CN_v1_0_FF.jpg
View by Firefox 1.04


CN_v1_0_IE.jpg
View by IE 6.0


以下是打印时的效果(不打印页头和菜单):

CN_v1_0_Print.jpg
Print result.(Header and menu are not printed)

Star Template for JSPWiki:Simplified Chinese Edition

By Dengber


讨论
#



出错了,不知道为什么;(在编辑页面时)
JSPWiki has detected an error
Error Message 
org/apache/jsp/templates/star_005fzh_005fCN/commonheader_jsp (wrong name: org/apache/jsp/templates/star_005fzh_005fCN/CommonHeader_jsp) 
Exception 
javax.servlet.jsp.JspException 
Place where detected 
com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(), line 74 
If you have changed the templates, please do check them. This error message may show up because of that. If you have not changed them, and you are either installing JSPWiki for the first time or have changed configuration, then you might want to check your configuration files. If you are absolutely sure that JSPWiki was running quite okay or you can't figure out what is going on, then by all means, come over to jspwiki.org and tell us. There is more information in the log file (like the full stack trace, which you should add to any error report). 

And don't worry - it's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world. 



从你给出的出错信息里发现2个可能有问题的地方。“star_005fzh_005fCN”中的005是自己特意加的还是什么东西被自动编码了?如果是手动加的应该没什么问题。另外commonheader_jsp和CommonHeader_jsp的大小写也好像有关系。

Dengber

讨论:有问题请教#

1.下载该中文模板后,在CHANGES.TXT文件中说中文模板v1.01 2005-08-22 修改了给中文名的网页添加附件时发生的错误.可是这网站上下载页面上上仍旧是"Star JSPWiki模板 简体中文版 v1.0 于2005年7月10日发布." 这个v1.0是笔误(其实就是上面说的v1.01版本,只是这里错写为v1.0了)还是本来就是v1.0?

2.我这机子是windowsXP系统,已经装好了jdk-1_5_0_04版本和tomcat-5.0.28版本,tomact安装地址是c:\tomcat 然后先在这个网站上下载JSPWiki-2.4.53-bin.zip安装,拷贝压缩包里的JSPWiki.war到tomcat的webapps下,命名为mywiki.war然后步骤如下: 1.输入http://127.0.0.1:8080/tomwiki/Install.jsp 配置 (1).Application Name: mywiki (2).Base URL: http://10.25.0.1:8080/tomwiki/ (这个IP就是我机器的IP) (3).File storage: /p/web/www-data/tomwiki/ (4).Work directory: /tmp/ (5).Log files: /tmp/tomwiki.log 2.直接修改jspwiki.properties文件。 jspwiki.lucene.analyzer = org.apache.lucene.analysis.cjk.CJKAnalyzer(看一些网上的安装 说明里说这样支持中文搜索) 其他的一些属性没有动,因为已经跟那些安装说明里说的一样了 3.使用中文模板库:下载本网站上提供的star_zh_CN. 下载JSPWiki_zh_CN.zip,解压缩 a. 将templates/star_zh_CN目录复制到{tomwiki}/templates里. b. .将wikipages目录下的txt文件复制到tomwiki的"wiki网页目录"里. "wiki网页目录"参照{tomwiki}/WEB-INF/jspwiki.properties文件里的 jspwiki.fileSystemProvider.pageDir值,也就是/p/web/www-data/tomwiki/ c. 修改{tomwiki}/WEB-INF/jspwiki.properties文件里的jspwiki.templateDir属性的值为 star_zh_CN. d.(重新)启动web服务器.

3.产生结果:#

成功的页面跟这个网站上模板截屏成功的画面不大相同.mian页面上只有"恭喜 您的wiki已经配置成功"几个字,而网站上介绍的截屏上却还有一些介绍文字. 而且,在页面的最上面还显示一堆字码: /* * Chooses a suitable stylesheet based on browser. */ var IE4 = (document.all && !document.getElementById) ? true : false; var NS4 = (document.layers) ? true : false; var IE5 = (document.all && document.getElementById) ? true : false; var NS6 = (document.getElementById && !document.all) ? true : false; var IE = IE4 || IE5; var NS = NS4 || NS6; var Mac = (navigator.platform.indexOf("Mac") == -1) ? false : true; var sheet = ""; if( NS4 ) { sheet = "jspwiki_ns.css"; } else if( Mac ) { sheet = "jspwiki_mac.css"; } else if( IE ) { sheet = "jspwiki_ie.css"; } if( sheet != "" ) { document.write(""); }

当我想编辑一个页面的时候,又会显示: JSPWiki has detected an error Error Message /templates/star_zh_CN/EditContent.jsp(23,1) Attribute submit invalid for tag Editor according to TLD Exception javax.servlet.jsp.JspException Place where detected com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(), line 90 If you have changed the templates, please do check them. This error message may show up because of that. If you have not changed them, and you are either installing JSPWiki for the first time or have changed configuration, then you might want to check your configuration files. If you are absolutely sure that JSPWiki was running quite okay or you can't figure out what is going on, then by all means, come over to jspwiki.org and tell us. There is more information in the log file (like the full stack trace, which you should add to any error report).

And don't worry - it's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world.

根本无法操作,当然那些什么"保存"之类的按钮也没有 请问,这些问题该怎么解决呢?

4.回答3提出的问题。#

编辑 “scripts/cssinclude.js”,在最上面添加“<script>”,在最下边加上“</script>”,问题就可以解决。


我也出现 问题3 中的第二个小问题:请问如何解决? JSPWiki has detected an error Error Message /templates/star_zh_CN/EditContent.jsp(23,1) Attribute submit invalid for tag Editor according to TLD Exception javax.servlet.jsp.JspException Place where detected com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(), line 90 If you have changed the templates, please do check them. This error message may show up because of that. If you have not changed them, and you are either installing JSPWiki for the first time or have changed configuration, then you might want to check your configuration files. If you are absolutely sure that JSPWiki was running quite okay or you can't figure out what is going on, then by all means, come over to jspwiki.org and tell us. There is more information in the log file (like the full stack trace, which you should add to any error report).

And don't worry - it's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world

--AnonymousCoward, 29-Nov-2006


点击编辑此页时,出现如下错误:

JSPWiki has detected an error Error Message /templates/star_zh_CN/EditContent.jsp(23,1) Attribute submit invalid for tag Editor according to TLD Exception javax.servlet.jsp.JspException Place where detected com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(), line 90 If you have changed the templates, please do check them. This error message may show up because of that. If you have not changed them, and you are either installing JSPWiki for the first time or have changed configuration, then you might want to check your configuration files. If you are absolutely sure that JSPWiki was running quite okay or you can't figure out what is going on, then by all means, come over to jspwiki.org and tell us. There is more information in the log file (like the full stack trace, which you should add to any error report).

And don't worry - it's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world.

什么问题?怎么解决?

--AnonymousCoward, 13-Dec-2006


我也有这个问题! 可以通过以下的方法修正: 把/templates/star_zh_CN/EditContent.jsp(23,1)中<wiki:Editor submit="保存" preview="预览" cancel="取消" />改成<wiki:Editor />

--mxlong, 13-Dec-2006

---

http://beansoft.java-cn.org/Wiki.jsp?page=JSPWikiChineseTemplateDownload * JSPWiki中文模版下载 o 开发计划 o 汉化问题总结 o 简体中文语言包 for JSPWiki 2.5 系列 o 简体中文语言包 for JSPWiki 2.4 系列 o 简体中文语言包 for JSPWiki 2.2 系列 http://beansoft.java-cn.org/attach/Zh_CN_Template_v2.4/zh_cn_2.4.71_main.png

--Jacky Liu, 30-Jan-2007

问题:对main页面编辑后,报404错误http://127.0.0.1:8080/Wiki.jsp?page=Main HTTP Status 404 - /Wiki.jsp http://127.0.0.1:8080/JSPWiki/Wiki.jsp?page=Main 就可以,我是把JSPWiki.war 放tomcat webapps下,应该是 contexte路径问题, 这个在哪里设置呢?jspwiki.properties里

  1. jspwiki.urlConstructor = DefaultURLConstructor
  2. jspwiki.urlConstructor = ShortViewURLConstructor
  3. jspwiki.shortURLConstructor.prefix = wiki/

怎么改也不合适 ---我自己找到原因了,应该用http://127.0.0.1:8080/Intall.jsp 去设置jspwiki.baseURL=http://127.0.0.1:8080 确保这个值是你想要的。
--lvye, 2012-03-23

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jpg
CN_v1_0_FF.jpg 78.8 kB 1 09-Jul-2005 20:40 dengber
jpg
CN_v1_0_IE.jpg 71.0 kB 1 09-Jul-2005 20:40 dengber
jpg
CN_v1_0_Print.jpg 78.8 kB 1 13-Jul-2005 13:58 dengber
png
Star_zh_CN.png 242.0 kB 1 02-Jul-2005 10:37 dengber
doc
工单系统运维需求.doc 347.1 kB 1 01-Jul-2012 10:53 113.68.20.211
jpg
看.jpg 9.8 kB 1 01-Jul-2012 21:03 113.68.20.211
« This page (revision-31) was last changed on 23-Mar-2012 10:29 by lvye