ADF & JSF
文章平均质量分 76
yusong2008
这个作者很懒,什么都没留下…
展开
-
Some handy code for backing beans ( ADF & JSF )
记录一些使用在backing beans中的代码,可以检索ADF页面定义的数据或actions,或建立具有新UIComponents的ADF定义以及一些JSF方法…… // print the roles of the current user for ( String role : ADFContext.getCurrent().getSecurityContext().getUserRoles() ) { System.out.println("role "+role);原创 2011-05-16 09:49:00 · 1632 阅读 · 1 评论 -
借助Bookmark调用页面初始化方法
<br />概述<br />在使用Oracle ADF做开发时,经常会遇到在页面加载时执行一些初始化操作的类似需求,而应对这些需求时,一般可以通过在Backingbean的构造方法中执行,或编 写Controller Class等方法实现,类似地,我们可以借助于Bookmark来更为方便地达到同样的效果。<br />实现<br />1、创建ADF应用<br />2、打开adfc-config.xml,从“Component Palette”中拖一个View组件到该配置文件中,命名为main<br原创 2011-05-23 12:17:00 · 730 阅读 · 0 评论 -
create MethodBinding MethodExpression ValueExpression
关键字 : methodbinding methodexpression valueexpression 1. create MethodBinding MethodBinding methodBinding = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{bean.method}", null); 2. create MethodExpression原创 2011-05-25 12:29:00 · 1141 阅读 · 0 评论 -
dynamic region binding task flow(region 动态绑定流taskflow)
<br />以下是网上的问题,也是我遇到过的问题。<br />In a page, I have several af:selectOneChoice components, below which is a dynamic region (whose contained task flow is dependent on the selected values). This works fine, in so far that a change in a select box results原创 2011-05-25 17:38:00 · 1531 阅读 · 0 评论 -
How-to suppress error popup for inline messages __jspx页面弹出消息提示框
Error messages in ADF Faces are displayed in a DHTML popup dialog. To change this behavior so messages are displayed within the page, you add the af:messages tag to your ADF Faces page and set its inline attribute to true.After dragging the af:messages ta原创 2011-05-24 16:04:00 · 659 阅读 · 0 评论 -
How to declaratively instruct ADF Faces RC to partially refresh other components upon an event
How to declaratively instruct ADF Faces RC to partially refresh other components upon an event ADF Faces RC has built in support for AJAX and Partial Page Refresh. Through the autoSubmit and par转载 2011-06-08 12:43:00 · 657 阅读 · 0 评论