Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

ZENMVC.MVCMasterDetail

class ZENMVC.MVCMasterDetail extends %ZEN.Component.page

Model-View-Controller MasterDetail page. This page uses the Zen MVC mechanism to create a simple Master-Detail page.

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = ZENMVC.MVCApplication;
Application this page belongs to.
parameter PAGENAME = MVC Master-Detail Page;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Properties

property deleteMsg as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Ok to delete this record?","ZENDEMO") ];
Localized string that will be available to the client.
Property methods: deleteMsgDisplayToLogical(), deleteMsgGet(), deleteMsgIsValid(), deleteMsgLogicalToDisplay(), deleteMsgLogicalToOdbc(), deleteMsgNormalize(), deleteMsgSet()

Methods

clientmethod cancel() [ Language = javascript ]
cancel the current action
clientmethod deleteItem() [ Language = javascript ]
Delete current item from database
clientmethod filterChanged(value) [ Language = javascript ]
Filter changed in table navigator
clientmethod invokeAction() [ Language = javascript ]
Invoke an action on the dataModel
clientmethod newItem() [ Language = javascript ]
Create new object via dataModel
clientmethod rowSelected(table, which) [ Language = javascript ]
Row in Master table select; update controller. which indicates how this event was fired.
clientmethod saveItem() [ Language = javascript ]
save form to database

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab