Changes made in the managed bean.
在受管bean内所做的更改。
To add this bean as a managed bean.
作为受管bean添加这个bean。
Generating Suggestions in a managed bean.
在受管bean中的生成建议。
You can call your managed bean anything you want.
您可以向自己的托管bean调用任何事情。
The scope of this managed bean should be 'session'.
该管理bean的作用范围应该是‘session’。
Listing 5 shows the Countries application sample managed bean.
清单5展示了Countries应用程序示例托管bean。
The type is the fully qualified class name of the managed bean.
类型是受管bean的完全限定类名。
Listing 3 shows how to register the managed bean to the Inventory class.
清单3显示了如何将这个受管bean注册到inventory类。
This, in turn, could lead to a managed bean being created when it shouldn't be.
反过来,这将会导致不应该创建受管理bean时却创建了。
In Listing 2, the value attributes refer to catalog, which is a JSF managed bean.
在清单2中,value属性引用catalog,后者是一个jsf托管bean。
Look at the JSF page shown in Listing 2, which USES a JSF managed bean named catalog.
请看清单2所示的jsf页面,其中使用了一个名为catalog的jsf托管bean。
Underpinning everything you have read so far is the concept of a managed bean, or MBean.
到此为止所阅读的基础内容是托管bean或MBean的概念。
The following simple example shows how to access a CDI managed bean from a ZUL file.
下面的这个简单例子演示了如何从ZUL文件访问托管CDIbean。
The RepositoryWrapper class has two static methods that return the managed bean instance.
Repository wrapper类有两个静态方法,可以返回受管bean实例。
This aspect also defines helper methods using inter-type declarations on managed bean classes.
这个方面还用受管理bean类上的类型间声明定义了辅助方法。
You can use the JSF-EL (expression language) to bind JSF components to managed bean properties.
可以用JSF -EL(表达式语言)把JSF组件绑定到受管理的bean属性。
As you can see from figure 5, you can also populate a table directly from the managed bean.
如图5所示,还可以直接从已管理的bean填充表。
The native JSF variable resolver first looks for a JSF managed bean that matches the name courses.
本地JSF变量解析器首先查找与名称courses相匹配的jsf托管bean。
The controller class is a managed bean defined in the faces-config.xml file, as shown in Listing 2.
控制器类是一个在faces - config . xml文件中定义的管理bean,如清单2所示。
The example application only has one managed bean. It is configured in faces-config.xml as follows.
该示例应用程序只有一个映射bean。
You can put this managed bean into session or even application scope, so that it is created only once.
您能够将这一受管的bean放入会话或应用范围,以便它只需被创建一次。
When the eager attribute is true, JSF creates the managed bean at startup and places it in application scope.
当eager属性为true时,JSF将在启动时创建托管bean并将其放入应用程序范围。
The <h:inputText> uses getCity() and setCity() methods for its values in conjunction with the managed bean.
<h:inputText>使用getCity()和setCity()方法和managed bean 来为它提供值。
Because HelloWorld is now a container managed bean, the container is supposed to provide a HelloWorld bean instance.
由于HelloWorld现在是容器托管bean,容器用来提供HelloWorld bean实例。
Developing a managed bean with Seam is almost shockingly easy compared to the typical JSF configuration process.
与典型的JSF配置过程相比,使用Seam开发受管bean非常容易。
The second uses a method of a bean as its action, but the "config" managed bean does not have a method named "outcome."
第二个使用了一个程序节的方式作为它的行为,但是“配置”管理程序节并没有一种叫做“结果”的方式。
According to the CDI specification, having a no-arg default constructor makes this class eligible to be a managed bean.
根据CDI规范,有一个no - arg默认构造函数使得这个类能成为托管bean。
This managed bean exposes a collection of golf course objects and then responds to actions for managing those instances.
该托管bean公开一个高尔夫课程对象集合,然后对管理这些实例的操作做出响应。
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。
Listing 5 shows the implementation of the catalog class, whose instance - named catalog - you configured in JSF as a managed bean.
清单5显示了catalog类的实现,它的实例—名为catalog—被配置为J SF中的托管bean。
应用推荐