Menubar is a ZK menubar component with two child ZK menuitem components with the IDs add and exit.
menubar是ZK menubar组件,有两个子zkmenuitem组件,ID是add和exit。
The Menu object also contains an attribute called items whose value can be one or more MenuItem objects.
Menu对象还包含一个名为items的属性,该属性的值可以是一个或多个MenuItem对象。
To do that, you first need to have an event handling method in the ManageCustomer controller for an "add" menuitem onClick event.
要完成这些,首先要在ManageCustomer控制器中有“add”菜单项的onClick事件的事件处理方法。
The text attribute defines the name of the MenuItem, and the action attribute contains an operation that determines the item's behavior.
text属性定义MenuItem的名称,action 属性包含一个决定菜单项行为的操作。
For example, for the Add menuitem onClick event, the @Events qualifier can be supplied with an "add.OnClick" value, as shown in Listing 7.
例如,对AddmenuitemonClonclick事件,@Events 限定符值可以是 "add.OnClick" ,如 清单7 所示。
Lines 49 to 52 define the menu and MenuItem for the add, find, and clear actions, which can be accessed from drop-down menus when the application is deployed and run.
第49到52行定义“添加”、“查找”和“清除”操作的Menu和MenuItem,当部署和运行应用程序时可以从下拉菜单使用它们。
Lines 49 to 52 define the menu and MenuItem for the add, find, and clear actions, which can be accessed from drop-down menus when the application is deployed and run.
第49到52行定义“添加”、“查找”和“清除”操作的Menu和MenuItem,当部署和运行应用程序时可以从下拉菜单使用它们。
应用推荐