一个关于velocity,*.vm页面显示的问题,求高手,在线等。。。。

wei5677590 2012-01-11 11:07:34
页面中的一段代码:
##页面头
#parse("$action.getText('config.vmPath')/simple/Header.vm")
#*

##根据 部门的id 获取部门信息
<br>user.strUserAccount = $user.strUserAccount
<br>user.strUserPassword = $user.strUserPassword
<br>user.intAccountModel = $user.intAccountModel
<br>user.intGroupID = $user.intGroupID
<br>user.intTemplate = $user.intTemplate
<br>user.intUserID = $user.intUserID
<br>user.intUnitID = $user.intUnitID
<br>user.strUnitName = $user.strUnitName
<br>user.strName = $user.strName
<br>user.strGroupName = $user.strGroupName
<br>user.intUserType = $user.intUserType
<br>user.intLineNum = $user.intLineNum
<br>user.strUserAccount = $user.strUserAccount

<br>user.intRoleIDs = $user.intRoleIDs
<br>user.strRoleNames = $user.strRoleNames
<br>user.intPrivilegeIDs = $user.intPrivilegeIDs

<br>user.intRoleIDs =
#foreach($gid in $user.intRoleIDs)
$gid |
#end

<br>user.strRoleNames =
#foreach($gid in $user.strRoleNames)
$gid |
#end
<br>user.intPrivilegeIDs =
#foreach($gid in $user.intPrivilegeIDs)
$gid |
#end
*#
<script>
function changSubURL(leftURL,rightURL)
{
top.topFrame.changSubURL(leftURL,rightURL);
return false;
}
</script>
#parse("$action.getText('config.vmPath')/jsvm/date1.js.vm")

#menu_getmenuIndexURL(10010000 $user.intPrivilegeIDs $strName_10010000 $strLeftURL_10010000 $strMainURL_10010000) ##通知公告
#menu_getmenuIndexURL(10040000 $user.intPrivilegeIDs $strName_10040000 $strLeftURL_10040000 $strMainURL_10040000) ##短消息
#menu_getmenuIndexURL(80010000 $user.intPrivilegeIDs $strName_80010000 $strLeftURL_80010000 $strMainURL_80010000) ##个人设置
#menu_getmenuIndexURL(10150000 $user.intPrivilegeIDs $strName_10150000 $strLeftURL_10150000 $strMainURL_10150000) ##日程安排
#menu_getmenuIndexURL(10180000 $user.intPrivilegeIDs $strName_10180000 $strLeftURL_10180000 $strMainURL_10180000) ##文档管理
#menu_getmenuIndexURL(10160000 $user.intPrivilegeIDs $strName_10160000 $strLeftURL_10160000 $strMainURL_10160000) ##名片簿
#menu_getmenuIndexURL(80020000 $user.intPrivilegeIDs $strName_80020000 $strLeftURL_80020000 $strMainURL_80020000) ##首页菜单
#menu_getmenuIndexURL(10400000 $user.intPrivilegeIDs $strName_10400000 $strLeftURL_10400000 $strMainURL_10400000) ##公文管理
#menu_getmenuIndexURL(10410000 $user.intPrivilegeIDs $strName_10410000 $strLeftURL_10410000 $strMainURL_10410000) ##合同管理
#menu_getmenuIndexURL(10420000 $user.intPrivilegeIDs $strName_10420000 $strLeftURL_10420000 $strMainURL_10420000) ##工作计划
#menu_getmenuIndexURL(10430000 $user.intPrivilegeIDs $strName_10430000 $strLeftURL_10430000 $strMainURL_10430000) ##物品管理

##字符串长度截取
#macro (hode_subStr3 $str $rtn $length)
#set ($stringUtil = $webwork.bean("com.hode.framework.commons.util.StringUtil"))
#set ($rtn="")
#if($str!="" && $str.length() > $length)
#set ($rtn = "$stringUtil.substring($str,0,$length)...")
#else
#set ($rtn=$!str)
#end
#end

下面是浏览器中显示的,因为不能上图,我把大致显示的贴出来:

$strMainURL_10160000) #menu_getmenuIndexURL(80020000 $user.intPrivilegeIDs $strName_80020000 $strLeftURL_80020000 $strMainURL_80020000) #menu_getmenuIndexURL(10400000 $user.intPrivilegeIDs $strName_10400000 $strLeftURL_10400000 $strMainURL_10400000) #menu_getmenuIndexURL(10410000 $user.intPrivilegeIDs $strName_10410000 $strLeftURL_10410000 $strMainURL_10410000) #menu_getmenuIndexURL(10420000 $user.intPrivilegeIDs $strName_10420000 $strLeftURL_10420000 $strMainURL_10420000) #menu_getmenuIndexURL(10430000 $user.intPrivilegeIDs $strName_10430000 $strLeftURL_10430000 $strMainURL_10430000)


<< 2012 >> << 1 >>
日 一 二 三 四 五 六
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4
5 6 7 8 9 10 11



发邮件
已发送
已接收

#hodeSysBean_checkInArr(80015000 $allow_b)


#hodeSysBean_checkInArr(80015000 true)


#hodeSysBean_checkInArr(80015000 true)





撰写公文
抄送箱
待审文件



#compact_getRecordCount($rtn)
撰写合同
抄送箱
待审合同($rtn)


内部招聘




javascript脚本什么都没有问题,配置文件,jar包,数据库连接都很正常,但出现了这个问题,求高手。。。在线等
...全文
212 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
wei5677590 2012-02-03
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 lin351550660 的回复:]

你能概括一下问题么?我没看懂 我是菜鸟比你还差把 来光顾一下 怕你寂寞
[/Quote]
晕 问题都在那了。用的tomcat,开发工具是mysql,tomcat,intenllij idea,不是eclipse,另外一个机器陪了apache,但我这个机器没配,另外一个机器上环境是没有问题,这个机器有。
wei5677590 2012-02-03
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 wei5677590 的回复:]

引用 5 楼 wei5677590 的回复:

有没有知道或者遇到过这个情况的不,
里面错字好多:这么长时间还是没人回,有没有谁遇到过整个法起步概况啊的没呢1
[/Quote]
不是,上次好像是迷迷糊糊的打了几个字就放那了
lin351550660 2012-01-30
  • 打赏
  • 举报
回复
你能概括一下问题么?我没看懂 我是菜鸟比你还差把 来光顾一下 怕你寂寞
wei5677590 2012-01-30
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 wei5677590 的回复:]

有没有知道或者遇到过这个情况的不,
[/Quote]里面错字好多:这么长时间还是没人回,有没有谁遇到过整个法起步概况啊的没呢1
wei5677590 2012-01-30
  • 打赏
  • 举报
回复
有没有r】】】】】】】】】】】】】】】】】】




这么长时间还是没有人浓郁h789
1










































































































wei5677590 2012-01-30
  • 打赏
  • 举报
回复
有没有知道或者遇到过这个情况的不,
wei5677590 2012-01-11
  • 打赏
  • 举报
回复
再顶一下,自己研究继续等。。。
wei5677590 2012-01-11
  • 打赏
  • 举报
回复
来个高手吧!!!
wei5677590 2012-01-11
  • 打赏
  • 举报
回复
...就没有人知道吗 ?

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧