5 Unstar Star 4 Fork 7

wanghr / weaver_workJava

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
JSP引擎代码生成器 spread retract

Clone or download
convert.eclick 2.17 KB
Copy Edit Web IDE Raw Blame History
wanghr authored 2015-01-21 16:08 . 修改了eclick提示信息
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript">
function setParam(){
var eclick_path = window.location.href.replace("file:///","");
var project_path = eclick_path.substring(0,eclick_path.lastIndexOf('weaver_work'))+'weaver_work';
var worksa = document.getElementById('workDiv').getElementsByTagName('a');
for(var i=0;i<worksa.length;i++){
worksa[i].href=worksa[i].href+'&project_path='+project_path;
}
}
function showMsg(ela,msgDiv){
var msg = document.getElementById(msgDiv);
if(ela.innerHTML.indexOf('+')==0){
msg.style.display='block';
ela.innerHTML = ela.innerHTML.replace('+','-');
}else if(ela.innerHTML.indexOf('-')==0){
msg.style.display='none';
ela.innerHTML = ela.innerHTML.replace('-','+');
}
}
</script>
</head>
<body onload="setParam()">
<a href="#" onclick="showMsg(this,'show1')" style="text-decoration:none;font-size:14px;">+ IDE常用设置</a>
<br/>
<br/>
<br/>
<br/>
old源码 -> JSP -> new源码 <a href="#" onclick="showMsg(this,'show')" style="text-decoration:none;font-size:14px;">+ 自动刷新配置</a><BR/><BR/>
<div id="workDiv">
<a href="http://localhost:8080/weaver_work/convert.jsp?work=toJsp" target="toJspInfo">old源码->JSP</a>
info:<span style="border:solid 1px;"><iframe name="toJspInfo" frameborder="0" scrolling="no" style="height:25px;width:150px;"></iframe></span>
<br/>
<span style="margin-left:65px;"></span><a href="http://localhost:8080/weaver_work/convert.jsp?work=toSrc" target="toSrcInfo">JSP->new源码</a>
info:<span style="border:solid 1px;"><iframe name="toSrcInfo" frameborder="0" scrolling="no" style="height:25px;width:150px;"></iframe></span>
</div>
<br/>
<br/>
<br/>
<br/>
<div id="show" style="display:none;font-size:14px;">
(window->Preferences->General->Workspace->选中Refresh automatically)有些版本选项不一样如下<br/>
(window->Preferences->General->Workspace->选中勾选选项:refresh using native hooks or polling和refresh on access)
</div>
<div id="show1" style="display:none;font-size:14px;">
1、当Eclipse页面窗口混乱时,请点击Window->Reset Perspective(透视)
</div>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/wanghr/weaver_work.git
git@gitee.com:wanghr/weaver_work.git
wanghr
weaver_work
weaver_work
master

Search