In java I am getting parameters from a HTML form template using:
String example = data.getParameters().getString("example");
(The above is invoked when the submit button is clicked on the
HTML form, and calls a Java file in the modules/actions folder).
So far so good, but I am having a problem when I want to add
extra name/value parameter pairs in the Java, as follows:
data.getParameters().add("example", example);
where the second argument is a string or a double (class
ParameterParser). The code then saves the parameters (when
correctly named) to a DB table object:
POForm.save();
It is saving parameters grabbed from the template but not
ones that I add / edit.
Does anyone know what is wrong here?
Many thanks,
Neil Robinson.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]