翻译JAVA 正确着追加高分 10

Themanaged-bean-nameelementdefinesthekeyunderwhichthebeanwillbestoredinascope.Foracom... The managed-bean-name element defines the key under which the bean will be stored in a scope. For a component’s value to map to this bean, the component tag’s value attribute must match the managed-bean-name up to the first period. For example, this value expression maps to the shape property of the ImageArea instance, NA:

value="#{NA.shape}"The part before the period (.) matches the managed-bean-name of ImageArea. Adding UI Components to a Page Using the HTML Component Tags has more examples of using the value attribute to bind components to bean properties.

The managed-bean-class element defines the fully qualified name of the JavaBeans component class used to instantiate the bean. It is the application developer’s responsibility to ensure that the class complies with the configuration of the bean in the application configuration resource file. This includes making sure that the types of the properties in the bean match those configured for the bean in the configuration file.
展开
 我来答
好几回广东
高赞答主

2008-12-29 · 一个有才华的人
知道大有可为答主
回答量:1.2万
采纳率:0%
帮助的人:1.2亿
展开全部
元素定义了关键的managed-bean-name下豆会储存在一个范围。对于组件的值的地图,这豆组件标签的价值属性必须匹配managed-bean-name成立以来首次时期。例如,该值表达式的形状的地图,财产ImageArea娜:

" # { NA.shape价值”部分的前震荡(.)符合managed-bean-name ImageArea的。添加到一个页面,利用界面部件组成的HTML标签有更多的例子使用价值属性绑定组件豆性质。

元素定义了managed-bean-class完全合格的名字用JavaBeans组件类的实例。它是应用程序开发者有责任确保课堂符合配置的应用程序配置资源文件中。这包括确保的种类和性质的豆子配置为豆在配置文件。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式