Select some specific plugin for file import / set options

Hi,

I developed a plugin for file import and would now like to let the user select some import options.

By overriding create_file.xhtml (import dialog box), I can let the user select these options. Now, is there a way to pass this information to the plugin through the FileManagActionsBean (or, if that is not possible, to force a given File importer)?

Thanks,

Patrick

0 votes

1 answers

937 views

ANSWER



Maybe you can extend the DefaultFileImporter, override create, and then register your new import class in the FileManagerService/plugins extension point; setting the order=“1” and the default filter as .* (so that all imports travel through your custom importer.

0 votes



I get my file importer to work when expected, but I'd like to let the user choose among a few options in the case the file type corresponds. The problem is to retrieve the values from the web page, it seems that I need a bean… and I have trouble deploying my bean so that it can be retrieved by Seam…
06/19/2013