简体   繁体   English

JSF页面片段和ADF数据绑定

[英]JSF Page fragments & ADF Data Binding

Is there any way to use adf bindings in jsf page fragments? 有什么方法可以在jsf页面片段中使用adf绑定?

When I create jsf page fragment and layout my components without any binding and when I add this page fragment on my destination page all work well, but when I use adf binding in page fragments it doesn't work. 当我创建jsf页面片段并在没有任何绑定的情况下布局组件时,以及在目标页面上添加此页面片段时,一切都很好,但是当我在页面片段中使用adf绑定时,则无法正常工作。

How can I deal with data binding in fragment within jsf page? 我该如何处理jsf页面中片段中的数据绑定?

You have to provide page definition file for this page and register it in Databinding.cpx, you can do it simply right-click in your page fragment and choose "Create page definition". 您必须为此页面提供页面定义文件,并将其注册到Databinding.cpx中,您可以简单地右键单击页面片段并选择“创建页面定义”。
Although jdeveloper will do it for you automatically if you drag&drop anything that require binding on your page fragment. 尽管如果您将任何需要绑定的内容拖放到页面片段上,jdeveloper都会自动为您完成。

A JSF page fragment in this use case is no different than a "standard" ADF Faces page. 在此用例中,JSF页面片段与“标准” ADF Faces页面没有什么不同。 You might find these links useful. 您可能会发现这些链接很有用。 Good tutorials and free online training: here , here , and here . 好的教程和免费的在线培训: 在这里这里这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM