ADF
共 5 篇文章
解决JDeveloper 启动找不到 jvm.dll
我们在启动JDeveloper 的时候总是碰到: Unable to create an instance of the Java Virtual Machine,解决方法如下: 到 installation_directoy\Middleware\JDeveloper\jdev\bin 文件夹下面,打开jdev.conf文件,里面有一行代码如下: AddVMOption -XX:MaxPermSize=256M",在下面加一行新的代码如下: AddVMOption -Xmx256M
2011-09-07 18:16 · ADF
递归实现的 ADF Dynamic tree
一个基于扩展: ChildPropertyTreeModel ,用递归实现的动态树. 自己花了点时间搞了个demo, 希望对后来学习的人有点帮助。 这里做一些内容的介绍: 1: 递归实现:parentId: 树的根节点: treeNode: 当前节点的父节点,如果不是父节点,就以treeNode最后加入的节点为父节点。 以下是代码: public void generateTree(int parentId , TreeNode treeNode){ while(voi.hasNext()){ Row row = voi.next(); int pId= ((Number)row.getAt…
2011-06-21 10:23 · ADF · SQL
ADF 安全验证机制
At runtime, the following security sequence is performed for ADF Security protected applications: 1. A user requests an ADF bound ADF Faces page or bounded task flow. 2. The ADF Security layer in ADF checks whether security is enabled for the ADF application configuration. 3. If security is enabled…
2011-06-15 09:42 · ADF · Weblogic · Access · Oracle · Security · Servlet
Phases in ADF Lifecycle
ADF Lifecycle has 9 phases as follows: 1: Initialize Context: In this phase value of associated request, binding container and lifecycle are set. 2: Prepare Model: In this phase model is prepared and initialized. In this phase page parameters are set and methods in the executable section of the pag…
2011-06-01 12:23 · ADF · HTML
ADF 转向
Sometimes you want to perofrm some validations and based on the result, forward to other ADF pages. You can follow one of these following approches. Approach I /* Forward to page "myPage.jspx" */ FacesContext fc = FacesContext.getCurrentInstance(); UIViewRoot viewRoot = fc.getApplication().getViewH…
2011-05-22 15:02 · ADF