/*
* ServerEcho.jsb 1.0 97/11/09
*
* Copyright (c) 1997 Netscape Communications Corporation
*
* Netscape grants you a non-exclusive, royalty free, license to use,
* modify and redistribute this software in source and binary code form,
* provided that i) this copyright notice and license appear on all copies of
* the software; and ii) Licensee does not utilize the software in a manner
* which is disparaging to Netscape.
*
* This software is provided "AS IS," without a warranty of any kind.
* See the CDK License Agreement for additional terms and conditions.
*/
/**
* A simple server-side component for displaying the results
* of a simple form submission from
* pagelet.html packaged with the
* component.
* @see userName
* @see userAge
*/
/**
* n_s_s_ stands for netscape/samples/simple...
* allows icon to sit in root of jar.
*/
/**
* userName property for display in the table
* created upon construction.
*/
/**
* userAge property for display in the table
* created upon construction.
*/
/**
* Simply writes out the userName and userAge passed as
* params into a table
*/
function netscape_samples_simple_ServerEcho(params) {
write("");
write("Your Responses |
");
// Note that the "params.userName" is used in the line below
// as the contents of the response cell
write("Your Name: | "+params.userName+" |
");
write("Your Age: | "+params.userAge+" |
");
write("
");
}