The following simple example shows how to access a CDI managed bean from a ZUL file.
下面的这个简单例子演示了如何从ZUL文件访问托管CDIbean。
Figure 8 shows the ZUL Visual editor, which was used for the creation of this sample project.
图8显示了ZULVisualEditor,它用于创建这个样例项目。
In addition, all the associated zul and HTML files are contained within the WebContent folder.
另外,所有关联zul文件和HTML文件都包含在WebContent文件夹中。
Having created this class, build the UI ZUL file, and then reference the associated controller.
创建这个类之后,构建UIZUL文件,然后引用相关联的控制器。
The ZUL code in Listing 2 accesses the helloWorld bean using its defaulted el name, helloWorld.
清单2中的ZUL代码使用其默认名helloworld访问HelloWorldbean。
ZUL , an XML-formatted and easy-to read language, is used to describe the above registration form.
一种基于xml且易读的语言,被用来描述上面的注册界面。
The simple HelloWorld example in Listing 1 shows how a managed bean is accessed through EL expression within a ZUL file.
清单1中简单的HelloWorld例子显示了如何通过ZUL文件中的EL表达式来访问托管bean。
It enables the data population of the customer listbox to occur before rendering, but after all ZUL components are composed.
它允许客户列表数据展开在提交之前,但在所有ZUL组件组装之后发生。
New dungeon: Zul'Zul! Explore Zul'Zul, where Zul'Zul trolls zul around zulling their zuls. Do you have what it takes to zul?
新地牢:祖祖!探索祖祖吧, 祖祖的巨魔会向你祖来, 你有胆来祖吗?
Zul: the dark thief is a simple and fun game which consists in to achieve different objectives in the dark using a flashlight!
祖尔:黑暗的小偷是一个简单而又有趣的游戏,其中包括在使用手电筒在黑暗中,以实现不同的目标!
When this menu is clicked (onClick) I instantiate a Window object through the Executions object using another zul called addCustomer.
单击这个菜单(onclick)时,通过另一个名为addcustomer的zul,我使用Executions对象实例化一个Window对象。
In Zul: the dark thief each play will be different, since both the objectives and the composition of the screens will vary on each attempt.
祖尔:黑暗的小偷将各自发挥不同的,因为每一次尝试的目标和屏幕组成会有所不同。
But local chef Zul Aman can, and he even survived the deadly tsunami which hit the beautiful and sunny Maldive islands when he was working there.
但当地师傅历阿曼能他甚至生存的致命海啸袭击美丽的阳光和马尔代夫群岛时,他在那里工作。
But local chef Zul Aman can, and he even survived the deadly tsunami which hit the beautiful and sunny Maldive islands when he was working there.
但当地师傅历阿曼能他甚至生存的致命海啸袭击美丽的阳光和马尔代夫群岛时,他在那里工作。
应用推荐