<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="java.util.*" %>
<%@ page import="com.gx.webpage.component.model.*" %>
<%@ page import="com.gx.webpage.engine.*" %>
<%@ page import="com.gx.webpage.framework.util.inoutformat.*" %>
<%@ page import="com.gx.webpage.engine.pagedesigndbengine.factory.*" %>

<%
	String uiUuid = "";
	String clientStr = "";
%>
<%
    boolean isError = false;
    String infStr = "";
    if(uiUuid==null || uiUuid.length() == 0){
			uiUuid = DataBean.getStr(request,"uiUuid");
	    if(uiUuid==null || uiUuid.length() == 0){
	        uiUuid = DataBean.getStr(request,"UIUUID");
	    }
			if(uiUuid==null || uiUuid.length() == 0){
	        uiUuid = DataBean.getStr(request,"uiuuid");
	    }
		}
    String uuid = DataBean.getStr(request,"uuid");
		if(uuid==null || uuid.length() == 0){
        uuid = DataBean.getStr(request,"UUID");
    }
    String script = "";
    String bodyStr = "";
    try{
			Map map = new HashMap();
			map.put("uuid",uuid);
			String userId = "cc";
      PageShowEngine pe = new PageShowEngine();
      bodyStr = pe.getPageView(uiUuid,map,userId,false,"",request);
      script = pe.getPageScript(uiUuid,userId,request);
			clientStr = pe.getClientProperty(uiUuid,userId,request);
    }catch(Exception err){
        infStr = DataBean.getErrStr(err);
        isError = true;
    }
%>
<html>
<%if(!isError){%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="StyleSheet" href="./../../../webpage/common/css/webpagecommon.css" type="text/css" />
<script language="javascript" src="./../../../webpage/common/engine/constant.js"></script>
<script language="JScript.Encode" src="./../../../webpage/common/engine/common.js"></script>
<script language="JScript.Encode" src="./../../../webpage/common/engine/DTFControl.js"></script>
<script language="JScript.Encode" src="./../../../webpage/common/js/ChildDataModel.js"></script>
<script language="javascript">
	var uiUuid = "<%=uiUuid%>";
  var clientPModel = getNewWebPagePropertyModel(document,"<%=clientStr%>");
	var runModelType = 1;
</script>
<%= script%>
</head>
<body>
<form name="baseForm" method="post">
<%=bodyStr%>
</form>
</body>
<%}else{%>
<%=infStr%>
<%}%>
</html>

