📄 textareaeditor_jsp_0.java
字号:
package common;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
/* File Declaration Phase */
public class textAreaEditor_jsp_0 extends com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase {
/* Class Declaration Phase */
static {
/* Static Initializer Phase */
}
public textAreaEditor_jsp_0( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
/* Init Method Phase */
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
java.util.Stack _jspxTagObjects = new java.util.Stack();
/* Service Declaration Phase */
// begin [file="/common/textAreaEditor.jsp";from=(12,0);to=(12,17)]
/* ------ chtml:baseLink ------ */
com.leeman.common.web.ui.tags.BaseLinkTag _jspx_th_chtml_baseLink_0 = new com.leeman.common.web.ui.tags.BaseLinkTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(22,7);to=(22,47)]
// end
// begin [file="/common/textAreaEditor.jsp";from=(25,17);to=(25,57)]
// end
// begin [file="/common/textAreaEditor.jsp";from=(79,6);to=(79,46)]
// end
// begin [file="/common/textAreaEditor.jsp";from=(90,28);to=(90,58)]
// end
// begin [file="/common/textAreaEditor.jsp";from=(92,28);to=(92,61)]
// end
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
/* Service Method Phase */
// HTML // begin [file="/common/textAreaEditor.jsp";from=(0,0);to=(3,0)]
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n<HTML>\r\n<HEAD>\r\n");
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(3,58);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(4,58);to=(5,0)]
out.write("\r\n");
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(5,60);to=(6,0)]
out.write("\r\n");
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(6,60);to=(7,0)]
out.write("\r\n");
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(11,2);to=(12,0)]
out.write("\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(12,0);to=(12,17)]
_jspx_th_chtml_baseLink_0.setPageContext(pageContext);
_jspx_th_chtml_baseLink_0.setParent(null);
_jspxTagObjects.push(_jspx_th_chtml_baseLink_0);
int _jspx_eval_chtml_baseLink_0 = _jspx_th_chtml_baseLink_0.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(12,0);to=(12,17)]
if (_jspx_th_chtml_baseLink_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(12,17);to=(13,0)]
out.write("\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(13,2);to=(21,0)]
String pageTitleKey = request.getParameter("pageTitleKey");
String returnFormName = request.getParameter("returnFormName");
String returnFieldName = request.getParameter("returnFieldName");
String editable = request.getParameter("editable");
String maxLength = request.getParameter("maxLength");
boolean isEditable = "true".equalsIgnoreCase(editable);
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(21,2);to=(22,7)]
out.write("\r\n<TITLE>");
// end
// begin [file="/common/textAreaEditor.jsp";from=(22,7);to=(22,47)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_0.setPageContext(pageContext);
_jspx_th_bean_message_0.setParent(null);
_jspx_th_bean_message_0.setKey(pageTitleKey );
_jspxTagObjects.push(_jspx_th_bean_message_0);
int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(22,7);to=(22,47)]
if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(22,47);to=(25,17)]
out.write("</TITLE>\r\n<SCRIPT Language=\"javascript\">\r\n\r\nvar pageTitle = '");
// end
// begin [file="/common/textAreaEditor.jsp";from=(25,17);to=(25,57)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_1.setPageContext(pageContext);
_jspx_th_bean_message_1.setParent(null);
_jspx_th_bean_message_1.setKey(pageTitleKey );
_jspxTagObjects.push(_jspx_th_bean_message_1);
int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(25,17);to=(25,57)]
if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(25,57);to=(26,16)]
out.write("';\r\nvar maxLength = ");
// end
// begin [file="/common/textAreaEditor.jsp";from=(26,19);to=(26,28)]
out.print(maxLength);
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(26,30);to=(29,40)]
out.write(";\r\n\r\nfunction closeWin () {\r\n\tvar returnObj = window.opener.document.");
// end
// begin [file="/common/textAreaEditor.jsp";from=(29,43);to=(29,57)]
out.print(returnFormName);
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(29,59);to=(29,66)]
out.write(".item(\"");
// end
// begin [file="/common/textAreaEditor.jsp";from=(29,69);to=(29,85)]
out.print(returnFieldName );
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(29,87);to=(35,40)]
out.write("\");\r\n\treturnObj.focus();\r\n\twindow.close()\r\n}\r\n\r\nfunction updateOpener () {\r\n\tvar returnObj = window.opener.document.");
// end
// begin [file="/common/textAreaEditor.jsp";from=(35,43);to=(35,57)]
out.print(returnFormName);
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(35,59);to=(35,66)]
out.write(".item(\"");
// end
// begin [file="/common/textAreaEditor.jsp";from=(35,69);to=(35,85)]
out.print(returnFieldName );
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(35,87);to=(59,40)]
out.write("\");\r\n\tvar sourceObj = document.Form1.textAreaEditor\r\n\t \r\n\treturnObj.value = sourceObj.value\r\n\t\r\n\tif (chkLength(document.Form1.textAreaEditor, pageTitle, maxLength) == true)\r\n\t{\r\n\t\tcloseWin();\r\n\t}\r\n\telse\r\n\t{\r\n\t\tif (errorMsg.length > 0)\r\n\t\t{\r\n\t\t\tshowMsg();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction loadText () {\r\n\tvar sourceObj = window.opener.document.");
// end
// begin [file="/common/textAreaEditor.jsp";from=(59,43);to=(59,57)]
out.print(returnFormName);
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(59,59);to=(59,66)]
out.write(".item(\"");
// end
// begin [file="/common/textAreaEditor.jsp";from=(59,69);to=(59,85)]
out.print(returnFieldName );
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(59,87);to=(71,0)]
out.write("\");\r\n\tvar targetObj = document.Form1.textAreaEditor;\r\n\t\r\n\ttargetObj.value = sourceObj.value;\r\n}\r\n\r\nfunction onBodyLoad () {\r\n\tdocument.Form1.textAreaEditor.focus();\r\n}\r\n\r\nonloadCommands.push (\"loadText();\");\r\n\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(71,2);to=(71,19)]
if (isEditable){
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(71,21);to=(73,0)]
out.write("\r\nonloadCommands.push (\"onBodyLoad();\");\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(73,2);to=(73,5)]
}
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(73,7);to=(79,6)]
out.write("\r\n\r\n</SCRIPT>\r\n</HEAD>\r\n<BODY>\r\n<form name=\"Form1\">\r\n<P><B>");
// end
// begin [file="/common/textAreaEditor.jsp";from=(79,6);to=(79,46)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_2 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_2.setPageContext(pageContext);
_jspx_th_bean_message_2.setParent(null);
_jspx_th_bean_message_2.setKey(pageTitleKey );
_jspxTagObjects.push(_jspx_th_bean_message_2);
int _jspx_eval_bean_message_2 = _jspx_th_bean_message_2.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(79,6);to=(79,46)]
if (_jspx_th_bean_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(79,46);to=(81,0)]
out.write("</B>\r\n<br>\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(81,2);to=(81,20)]
if (isEditable){
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(81,22);to=(84,0)]
out.write("\r\n<textarea name=\"textAreaEditor\" rows=\"25\" cols=\"85\" style=\"width:620px;height:380px\">\r\n</textarea>\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(84,2);to=(84,10)]
}else{
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(84,12);to=(87,0)]
out.write("\r\n<textarea name=\"textAreaEditor\" rows=\"25\" cols=\"85\" readonly=\"readonly\" class=\"inputDisabled\" style=\"width:620px;height:380px\">\r\n</textarea>\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(87,2);to=(87,4)]
}
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(87,6);to=(89,0)]
out.write("\r\n<BR>\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(89,2);to=(89,20)]
if (isEditable){
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(89,22);to=(90,28)]
out.write("\r\n<input type=\"button\" value=\"");
// end
// begin [file="/common/textAreaEditor.jsp";from=(90,28);to=(90,58)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_3 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_3.setPageContext(pageContext);
_jspx_th_bean_message_3.setParent(null);
_jspx_th_bean_message_3.setKey("label.ok");
_jspxTagObjects.push(_jspx_th_bean_message_3);
int _jspx_eval_bean_message_3 = _jspx_th_bean_message_3.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(90,28);to=(90,58)]
if (_jspx_th_bean_message_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(90,58);to=(91,0)]
out.write("\" class=\"buttons\" onclick=\"updateOpener();\">\r\n");
// end
// begin [file="/common/textAreaEditor.jsp";from=(91,2);to=(91,4)]
}
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(91,6);to=(92,28)]
out.write("\r\n<input type=\"button\" value=\"");
// end
// begin [file="/common/textAreaEditor.jsp";from=(92,28);to=(92,61)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_4 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_4.setPageContext(pageContext);
_jspx_th_bean_message_4.setParent(null);
_jspx_th_bean_message_4.setKey("label.close");
_jspxTagObjects.push(_jspx_th_bean_message_4);
int _jspx_eval_bean_message_4 = _jspx_th_bean_message_4.doStartTag();
// end
// begin [file="/common/textAreaEditor.jsp";from=(92,28);to=(92,61)]
if (_jspx_th_bean_message_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/common/textAreaEditor.jsp";from=(92,61);to=(96,0)]
out.write("\" class=\"buttons\" onclick=\"javascript:window.close();\">\r\n</form>\r\n</BODY>\r\n</HTML>\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
while (_jspxTagObjects.empty() == false){
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
}
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
/* Service Finally Phase */
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -