throw new PluginException( rb.getString( "formtextarea.namemissing" ) );
// In order to isolate posted form elements into their own
// map, prefix the variable name here. It will be stripped
// when the handler plugin is executed.
textarea field = new textarea( HANDLERPARAM_PREFIX + inputName,
rows, cols);
if( previousValues != null )
{
String oldValue = (String)previousValues.get( inputName );
if( oldValue != null )
{
field.addElement( oldValue );
}
else
{
oldValue = (String)params.get( PARAM_VALUE );
if( oldValue != null ) field.addElement( oldValue );
}
}
return field;
}