<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<!-- //File:.../default/HomePage.jsp -->
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<html>
  <head>
	<iman:eMFrameScripts/>
    <title>JspStateTask.jsp</title>
  </head>
  
  <body>
    JspStateTask  state is <c:out value="${state}" /><br>
    <A href="frameservice?taskId=<c:out value='${GI_ID}' />&state=<c:out value='${state + 1}' />& ">Next State</A>
    <br/>
    <c:if test="${state!='0'}">
    <A href="frameservice?taskId=<c:out value='${GI_ID}' />&state=<c:out value='${state - 1}' />& ">Previous State</A>
    <br/>
    </c:if>
    <a href="frameservice?taskId=fw.LaunchService&amp;NPAction=Return&amp;returnID=<c:out value='${GI_ID}' />">Return using URL</a>
    <br/>
    <a href="frameservice?taskId=fw.LaunchService&amp;NPAction=Return&amp;returnID=<c:out value='${GI_ID}' />&amp;Task.frameLevel=1">Return up 1 frame level using URL</a>
    <br/>
    <a href="frameservice?taskId=<c:out value='${GI_ID}' />&amp;ReturnInCode=true">Return in Code</a>
    <br/>
    <a href="frameservice?taskId=<c:out value='${GI_ID}' />&amp;ReturnInCode=true&amp;returnUpFrameLevel=1">Return up 1 frame level in Code</a>
    <br/>
    <form>
    	<INPUT type="hidden" name="Task.frameLevel" value="1"/> 
    	<iman:cancelBtn />
    	<iman:dump/>
    </form>
  </body>
</html>
