Micha Bayer wrote:
> Hi,
>
> I have just found what the problem is. It is to do with the handling of
> the parameter values in the plugin code, so it's nothing to do with the
> JSP page or the type of inputs as such.
>
> In the getRequestInformation() method of the plugin you have to do the
> following:
>
> StringParameterType stringPT = new StringParameterType(255, null, true);
> zipFile = new PluginParameter<String>("zipFile", " Zip file", "Contains
> raw data files", stringPT);
>
> ...but I was trying to handle the parameter from the JSP page as a File
> type (it came from a file chooser), and it doesn't like that:
>
> FileParameterType filePT = new FileParameterType();
> zipFile = new PluginParameter<File>("zipFile", " Zip file", "Contains
> raw data files", filePT);
>
Why doesn't it work with a FileParameterType?
/Nicklas
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
basedb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/basedb-devel