<!--
//   Name:  WizardExampleTemplate1.jsp
//
//   Copyright (c) 1997-2004 Novell, Inc.  All Rights Reserved.
//
//   THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
//   USE AND REDISTRIBUTION OF THIS WORK IS SUBJECT TO THE LICENSE AGREEMENT
//   ACCOMPANYING THE SOFTWARE DEVELOPMENT KIT (SDK) THAT CONTAINS THIS WORK.
//   PURSUANT TO THE SDK LICENSE AGREEMENT, NOVELL HEREBY GRANTS TO DEVELOPER A
//   ROYALTY-FREE, NON-EXCLUSIVE LICENSE TO INCLUDE NOVELL'S SAMPLE CODE IN ITS
//   PRODUCT. NOVELL GRANTS DEVELOPER WORLDWIDE DISTRIBUTION RIGHTS TO MARKET,
//   DISTRIBUTE, OR SELL NOVELL'S SAMPLE CODE AS A COMPONENT OF DEVELOPER'S
//   PRODUCTS. NOVELL SHALL HAVE NO OBLIGATIONS TO DEVELOPER OR DEVELOPER'S
//   CUSTOMERS WITH RESPECT TO THIS CODE.
-->

<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" 
		import="com.novell.emframe.dev.eMFrameUtils" %>

<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>

<iman:stringtable bundle="DevResources"/>
<iman:stringtable bundle="FwResources"/>
<iman:stringtable bundle="com.company.plugins.iManagerCodeExamplesResources"/>
   
<HTML>
<HEAD>
   <TITLE><iman:string key="ProductName"/></TITLE>
   <iman:stylesheet/>

   <SCRIPT>
      function init()
      {
         parent.setFooterButtons(parent.nextButton | parent.backDisabledButton | parent.cancelButton);
         parent.setHeader("<iman:string key='WizardExample.Page1Title'/>", 
         		"<iman:string key='WizardExample.Page1SubTitle'/>", "fw/studio_getobjecttype.html");
      }

      function isPageValid()
      {
         if(!document.getElementById("checkbox1").checked)
         {
            alert("<iman:string key='WizardExample.Page1Alert'/>");
            return false;
         }

         return true;
      }
   </SCRIPT>
</HEAD>

<body onload="init();">
<FORM name="form" method=post action="frameservice">

   <!-- WEBACC VARIABLES -->
   <INPUT type="hidden" name="taskId" value="<c:out value="${taskId}"/>">
   <INPUT type="hidden" name="nextState" value="state2">
   <INPUT type="hidden" name="merge" value="sdk.WizardExampleTemplate2">
   <INPUT type="hidden" name="error" value="dev.GenErr">

   <c:out value="${data}"/>
   <br/>
   <br/>
   <b><iman:string key="WizardExample.Page1Prompt"/>: <INPUT type="checkbox" name="checkbox1" id="checkbox1" value="true"/></b>
   <br/>
   <br/>
   <iman:string key="WizardExample.Description2"/>
   <br/>
   <br/>
   <iman:string key="WizardExample.Description3"/>
</FORM>
</BODY>
</HTML>
