Offer (validation) hook for module component configuration GUI (service | project component)

Dear FirstSpirit community,

FirstSpirit offers the possibility to develop custom FirstSpirit modules having components that might be configured directly within the FirstSpirit "Server and project configuration" client.

Up to now, the "OK" and "Cancel" buttons can not be individualized in their behavior - especially for the "OK" button, validation steps might not be integrated. This might be need or helpful.

A use case is shown here:

AdminServicePasswordCredentials.png

1 Comment
kohlbrecher
Crownpeak employee
Crownpeak employee

Hello Holger,

thank you for your idea to improve FirstSpirit. It is important for us to learn from the experiences of our customers and partners. For this reason we appreciate feedback and any suggestion.

A click on the "OK" button calls the save() method of the configuration implementation. You can validate the input at this point. If there is something wrong with the it you can open an JOptionPane.showOptionDialog for example and don't save the input.

Best regards

Jan