Select some specific plugin for file import / set options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2013 07:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2013 12:57 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2013 07:43 AM
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.
