Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item?
I've used this tutorial to create a modal list view, where you can select an item from a list of items, but the workflow I'm looking for is:
- Open the 'edit' view of an existing record (for example, 'Personnel')
- Click a button within this view to open the 'edit' view of another record type (for example, 'Qualification') in a modal window
- In this modal, load the 'Qualification' form / view and allow the user to enter all relevant details, then click 'Save' - closing the modal
- Return the pertinent details of the newly created 'Qualification' record and inject them into the original 'Personnel' view using jQuery or similar, or reload the original 'Personnel' view forcing the data to update
Is the tutorial linked to above the best starting point, then just working out the kinks regarding the saved data, or is there a better way?