All Downloads are FREE. Search and download functionalities are using the official Maven repository.

htdocs.functions.js Maven / Gradle / Ivy

/******************************************************************
* Author: Tim Urberg - [email protected] 
* Description: Contains JavaScript functions used by the webadmin 
* Date: 11/23/2002
*******************************************************************/

//checks to make sure the jar file form field is filled in
function checkDeploy(form)
{
    //set up local variables
    var goodForm = true;
    var msg = "";
   
    if(form.jarFile.value == "")
    {
       msg = "Please enter the full path to your jar file.";
       goodForm = false;
    }
   
    //check for form submission
    if(!goodForm)
    {
        alert(msg);
        return false;
    }
    
    return true;
}

//checks to make sure the second page of the deploy is filled out
function checkDeployValues(form)
{
	//convience variables
	var formName;
	var formValue;
	
	//loop through all elements of the array
	for(var i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy