<%@ page language="java" %>

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>Dump Resources Debug task page</title>
	<script language="JavaScript">
   
      function checkName()
      {
         var file = document.ResForm.ResFile.value;
         if ((file == null) || (file.length == 0))
         {
            alert("Enter a Resource file name");
            return false;
         }
         return true;
      }
    </script>
</head>
  
<body>

Current locale: &nbsp;<c:out value="${DumpRes_LocaleCode}" /><br/>
<c:out value="${DumpRes_LocaleName}" /><br/><br/>

This task dumps all key=value pairs of a Resource for localization testing.<br/>
Input the base name of the resource:  e.g. 
<pre>
   FwResources
   DevResources
   BaseResources
   eGuideResources
   NSResourceBundle
   NDSResourceBundle
   LDAPResourceBundle
   NSIClientResourcebundle
</pre><br/>

<form name="ResForm" method=post action="webacc?NPService=debug.DumpResources&nextState=state2" onSubmit="return checkName();">
	Resource Name: <input name="ResFile" type="text" size="30" maxlength="100">
	<input type="submit">
	<input type="hidden" name="nextState" value="state2">
</form>

</body>

</html>

