ESBShowConditionContent.jsp 3.02 KB

<%@ page language="java" contentType="text/html; charset=UTF-8" %> 
<%@ include file="/systeminfo/init_wev8.jsp" %>
<jsp:useBean id="bb" class="weaver.general.BaseBean" scope="page" />
<HTML>
<HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<script src="/js/tabs/jquery.tabs.extend_wev8.js"></script>
<link type="text/css" href="/js/tabs/css/e8tabs1_wev8.css" rel="stylesheet" />
<link rel="stylesheet" href="/css/ecology8/request/searchInput_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/searchInput_wev8.js"></script>

<link rel="stylesheet" href="/css/ecology8/request/seachBody_wev8.css" type="text/css" />
<link rel="stylesheet" href="/css/ecology8/request/hoverBtn_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/hoverBtn_wev8.js"></script>
<script type="text/javascript" src="/js/ecology8/request/titleCommon_wev8.js"></script>
<%
	String ruleid = Util.null2String(request.getParameter("ruleid"));
    String esbid = Util.null2String(request.getParameter("esbid"));
    String isnew = Util.null2String(request.getParameter("isnew"));
    String setid = Util.null2String(request.getParameter("setid"));
    int version = Util.getIntValue(request.getParameter("version"), 0);
%>
<script type="text/javascript">
$(function() {
	$('.e8_box').Tabs({
		getLine : 1,
		iframe : "tabcontentframe",
		mouldID:"",
		staticOnLoad:true,
		objName:""
	});
	attachUrl("linkcond");
});

function changeRuleRelation(rulecondits,ruleRelationship, rulesrc){
	var parentWin = parent.getParentWindow(window);
	var rulemaplistids = jQuery(parentWin.document).find("#rulemaplistids").val();
	if((rulesrc == '7' || rulesrc == '8') || (rulemaplistids != undefined && rulemaplistids != null && rulemaplistids != "")){
		jQuery(parentWin.document).find("#conditions").html(rulecondits);
		jQuery(parentWin.document).find("#conditioncn").val(rulecondits);
	}
	jQuery(parentWin.document).find("#ruleRelationship").val(ruleRelationship);
}

function setRuleRelation(ruleRelationship){
	var parentWin = parent.getParentWindow(window);
	jQuery(parentWin.document).find("#ruleRelationship").val(ruleRelationship);
}

function attachUrl(param)
{
	$("[name='tabcontentframe']").attr("src","/workflow/action/ESBShowCondition.jsp?ruleid=<%=ruleid%>&esbid=<%=esbid%>&isnew=<%=isnew%>&setid=<%=setid%>&version=<%=version%>");
}

function changeTab(param)
{
	document.getElementById("tabcontentframe").contentWindow.changeTab(param);
}


</script>
</HEAD>
<BODY>
<div class="e8_box demo2">
	<div class="e8_boxhead">
		<div class="div_e8_xtree" id="div_e8_xtree"></div>
        <div class="e8_tablogo" id="e8_tablogo"></div>
		<div class="e8_ultab">
			<div class="e8_navtab" id="e8_navtab">
				<span id="objName"></span>
			</div>
			<div>
				<div id="rightBox" class="e8_rightBox"></div>
			</div>
		</div>
	</div>
	<div class="tab_box"><div>
	   <iframe src="" onload="update();" id="tabcontentframe" name="tabcontentframe" class="flowFrame" frameborder="0" height="100%" width="100%;"></iframe>
</div> 
</BODY>
</HTML>