
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>JspFrameTask.jsp</title>
    <iman:eMFrameScripts/>
  </head>
	<c:choose>
	<c:when test="${CurrState == 'frameset'}">
	  <FRAMESET rows="50%,*">
	  	<FRAME name="Upper" src="frameservice?taskId=debug.JspFrameTask&NextState=upper"/>
	  	<FRAME name="Lower" src="frameservice?taskId=debug.JspFrameTask&NextState=lower"/>
	  </FRAMESET>
  </c:when>
  <c:otherwise>
	  <BODY title="<c:out value="${CurrState}" />" >
	  	<H1>CurrentState=<c:out value="${CurrState}" /></H1><br />
	  	<H1>myString=<c:out value="${myString}" /></H1><br />
	    <a href="frameservice?taskId=fw.LaunchService&amp;NPAction=Delegate&amp;delegate=debug.StateTask&amp;launcher=fw.HomePage />&amp;lifecycle=Recreate">Delegate To StateTask</a>
	    <br/>
	    <a href="frameservice?taskId=fw.LaunchService&amp;NPAction=Return&amp;returnID=<c:out value='${GI_ID}' />&amp;Task.frameLevel=1">Return URL up 1 frame level</a>
	    <br/>
	    <a href="frameservice?taskId=<c:out value='${GI_ID}' />&amp;FrameTaskReturnInCode=true&amp;returnUpFrameLevel=1">Return in Code up 1 frame level</a>
	  </BODY>
  </c:otherwise>
  </c:choose>
</html>
