Group: Forum Members
Yes, here's what I suggest:
In the Parser Settings screen, it automatically displays a dropdown for each available category of custom processors. So, if you added some built-in processors in each category, it would always display a dropdown for each of the categories.
Now, when the user selects a custom processor, and the processor has configurable fields, it would display an elipsis button to the right of the select box. Clicking this button would open a configuration dialog for the selected processor. This dialog would contain a list of key/value pairs, allowing the user to enter a value for each key. These values would be passed to the processor as parameters. Thus, you could pass different values to each processor, depending on how it's coded.
In the example of the regex replace post processor, the keys would be Search and Replace.
I have another related suggestion. Instead of displaying a single select box for each processor type, display an add button that would open a dialog, where the user could select from any available processors, organized by category. This would allow for adding more than once instance of a processor from within the same category. When you select a processor from this dialog, it would also display the elipsis button if the processor accepts parameters. In the example of the regex replace processor, it would allow for running multiple search/replace operations.