The form widget
So far, we have a working gift registry grid, but right now, we aren't able to do much more than just getting the list of all the available registries or deleting registries in bulk. We need a way of getting the details for a specific registry. We can map this to the edit controller action.
The edit controller action will display the registry-specific details and will also allow us to modify the registry details and status. We need to create a few blocks and templates for this action.
In order to view and edit the registry information, we must implement a form widget block. Form widgets work in a similar fashion to the grid widget blocks and need to have a form block and a form container block that extend the Mage_Adminhtml_Block_Widget_Form_Container ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access