- 浏览: 156813 次
- 性别:
- 来自: 上海
最新评论
文章列表
ADF中包含Active Data Service (ADS) 技术,提供了对ADF Faces组件的real-time的数据更新。
ADS支持的组件包括:
activeCommandToolbarButton
activeImage
activeOutputText
table
tree
treeTable
DVT graph, gauge, and geographical map components
1,要确定支持数据push的数据源,SOA的BAM是支持的,其他结构,需要使用Active Data framework,包括ADF BC。
2,在adf ...
- 2013-09-28 09:32
- 浏览 677
- 评论(0)
点击按钮报错,按钮绑定了Manged Bean中的方法,方法对应Model层中的一些逻辑。
具体的错误信息如下:
SEVERE: Managed bean xxx_bean could not be created
The scope of the referenced object: '#{bindings}' is shorter than the referring object
处理方案:
因为在binding container中的绑定对象是request scope的,所以需要修改managed bean的scope,不要大于request, ...
- 2013-09-28 09:31
- 浏览 527
- 评论(0)
在Fusion web application中,类似ADF的Manged bean和binding container的生命延续是通过scope属性进行设定的。scope属性有6种类型: Applicaiton scope, Session, Page flow scope, Request scope, Backing bean scope, View scope。
可以通过RequestContext API来得到scope信息。
1,这6种scope的定义和区别如下:
Applicaiton scope: 应用的整个生命周期,从ADF应用在服务器中启动被访问 ...
- 2013-09-28 09:29
- 浏览 421
- 评论(0)
运行ADF Applicaiton,出现错误: java.io.NotSerializableException。
原因可能是:manaed bean没有实现Serializable接口,或者是managed bean的scope大于viewScope,页面上组件绑定了scope大于viewScope的managed bean中的组件。
解决方案:managed bean实现Serializable接口;考虑修改managed bean的scope为pageFlowScope。
错误截图:
- 2013-09-28 09:28
- 浏览 465
- 评论(0)
可以将ADF Bounded Task Flow运行为Dialog,而并修改Bounded Task Flow的配置,保留了Bounded Task Flow的重用性。
1,创建Unbounded Task Flow,并创建以处两个Activity和control flow:
2,创建Home页面,其中只加了一个Command Button。确保userWindow为true。
[html]view
plain
- 2013-09-28 09:27
- 浏览 500
- 评论(0)
1,创建bounded task flow 和创建unbouded task
flow的方法类似。主要区别是是否选择了“Create as Bounded Task Flow ”选择框。
Application Path:Application Navigator > ViewController > Web Content > WEB-INF
File > New > All Technologies > JSF > ADF Task Flow
2,创建activity
创建activity应基于创建好的task ...
- 2013-09-28 09:27
- 浏览 302
- 评论(0)
1,ADF Task Flow提供模块化的方法定义工作流
使用JSF Page Flow的时候,所有的页面navigation都定义在一个页面中;而使用ADF Task Flow,可以分解页面navigation为多个可重用的ADF Bounded Task Flow。.
下面是一个凌乱的JSF page flow定义:
ADF task flow,不是所有节点都集中在一个页面中:
2,ADF Task Flow 与 JSF Page Flow的对比
ADF Task Flows的优势:
- 2013-09-28 09:25
- 浏览 582
- 评论(0)
ADF task flow是ADF框架Controller层的重要技术,它提供一种模块化的方式来定义application中的页面控制流,扩展了JSF page flow的功能。
ADF task flow具有更好的可重用性和封装性,它和JSF page flow的主要区别如下:
1,JSF page flow的全部页面都集中在一个JSF page flow页面faces-config.xml中; 而ADF task flow的页面可以模块化成多个task flows,并且task flow之间可以相互调用。
2,JSF page flow中节点都是JSF页面; 而 ...
- 2013-09-28 09:24
- 浏览 438
- 评论(0)
ADF当前页面跳转到其他页面,例如:gohome,logout等操作。可以给相关link添加以下action操作。
此时,不需要在JSF pageflow或ADF task flow中添加JSF Navigation Case或Control Flow Case。
[java]view
plaincopy
- 2013-09-28 09:23
- 浏览 607
- 评论(0)
1,Manged bean 和 backing bean的区别(what's the difference between managed bean and backing bean),可以参考下面链接:
1)http://prasanna-adf.blogspot.com/2008/02/managed-bean.html
其中的一段话是:
Backing bean and Managed bean are not different they are the same. Managed bean is about how the bean is created and ...
- 2013-09-28 09:20
- 浏览 500
- 评论(0)
How to execute an ADF button's action method using javascript
http://hazem-adf-tips.blogspot.com/2012/07/how-to-execute-adf-buttons-action.html
Suppose that we have UI input components that, when the Enter key is pressed, will virtually press a button within a page or page fragment.
Let' ...
- 2013-09-28 09:17
- 浏览 333
- 评论(0)
下面的文章介绍如何Customize自己的inputListOfValues组件:
Custom Declarative Component- Multi-Select
LOV
基本思路:
1,使用popup和dynamic table
2,对Form布局的LOV有效
3,定义Declarative Component,打包成ADF Jar library,提供给其他开发人员使用
- 2013-09-28 09:11
- 浏览 256
- 评论(0)
转自:http://blog.csdn.net/luyushuang/article/details/6798144
在af:table中,通常我们做的是一次选中一行,然后点击绑定了Delete operation的按钮,可以删除选中的行。下面介绍如何一次选中多行,并实现删除多行的逻辑。
1,创建Fuwion Web Applicaiton
2,Model层使用HR schema的departments表,创建EO、VO,并将VO对象Expose给UI。
3,创建页面,将departments VO以table形式展示到页面上,注意要选择‘Multiple Rows’ ...
- 2013-09-28 09:09
- 浏览 598
- 评论(0)
转自:http://blog.csdn.net/luyushuang/article/details/6756459
当页面需要显示的数据量比较大的时候,可以使用分页来简化用户的操作。但是在ADF 11g中,af:table并没有默认的分页功能,我们可以custom出JSPX页面的分页逻辑。
本例子使用的表是HR Sechema中的Employees。
2011/11/25 卢玉双 追加:
类似的实现方式,可以使用af:iterator,Table数据取自ADF BC的VO,也能够实现分页功能。
主要使用af:iterator这个tag,页面中数据的 ...
- 2013-09-28 09:05
- 浏览 847
- 评论(0)
转自:http://blog.csdn.net/luyushuang/article/details/6765950
声明式绑定是ADF框架的一个重要概念,在ADF中有三个对象来支撑绑定。
DataControls.dcx中描述了所有在设计时定义的data control。
DataBindings.cpx中描述了application在运行时可以使用那些data control,以及页面和page defination的映射。
<dataControlUsages>
<BC4JDataControl id="StoreServiceA ...
- 2013-09-28 09:03
- 浏览 478
- 评论(0)