Reputation: 1
I'm trying to create a select box inside a new form definition that show options catched from an external DB (MySQL). I already tried to use this "Data provider" field but it's always empty, even if I configure a new "Data sets" with my external DB... Or, maybe, there is another solution?
Someone could help me? Thanks :)
As you can see, this field with the red dot is empty .-.
Upvotes: 0
Views: 394
Reputation: 305
A data provider is a java class the implement org.jbpm.formModeler.core.config.SelectValuesProvider
interface.
Here an example: RestDataProvider
In the Java code, you can place your logic to retrive the list from a SQL DB.
Upvotes: 0