Portlet Factory, Version 6.1.2
Objects the Bean Master Detail builder creates
The Bean Master Detail Builder creates a variety of objects within the WebApp. They include the following objects.
Where names of created objects are prefixed by the Bean Master Detail builder name, buildername is used.
Variables
- buildername_viewObject
- Currently selected object, populated automatically when a link or button is clicked. It is identified by the bean object Java hashCode. When a significant button or link is clicked, the hashCode is passed in and the object is fetched from the user-specified collection. A reference to the object is placed in this variable.
Methods
- buildername_deleteActionList
- Action list generated to delete an object. Calls a user-provided delete method.
- buildername_doCreateFromButton
- Action list that invokes the user-provided instantiate method and then the create (edit) page.
- buildername_doEditFromButton
- Displays the edit page against the viewObject variable.
- buildername_doEditFromLink
- Populates the viewObject based on the object id passed in on the link and displays the edit page against the viewObject.
- buildername_doSave
- Save (after edit) method that invokes the user pre-apply and post-apply methods and the generated save method that applies the updates to the bean.
- buildername_doSaveForCreate
- Save (after create) method that invokes the user pre-apply and post-apply methods and the generated save method that applies the new values to the bean.
- buildername_doView
- Fetches the specified object (by hashCode) from the user collection and presents it on the view page.
Pages
If the Imported Page URL input is used rather than using an existing page in the model, the builder creates the following pages.
- buildername_createPage
- Edit page for an object being created, reached by a button from the main table page.
- buildername_editPage
- Edit page for an existing object, reached by the button or link on the view page or from the link on the main table view.
- buildername_mainPage
- Main table view showing the collection (with optional paging).
- buildername_viewPage
- Read only view of a single bean, reached from a link on the main table view.
Parent topic: Bean Master Detail builder
Library | Support |