oracle-adf

What is the api to clear selection on a af:table?

一世执手 提交于 2019-12-11 10:57:53
问题 I have a two ADF faces table say A and B and their rowSelection property is is set to " single ". Now the requirement is when one row is selected from A , it should clear out all selections from B and vice versa . So I have registered selectionListeners on both the tables and the code that gets executed inside that method is doing the following for the table that has not been selected : tablenNotSelected.setSelectedRowKeys(null); What am I missing here ? 回答1: You likely need to setup the

check if table column has empty cell

痴心易碎 提交于 2019-12-11 07:22:20
问题 in my case i have 3 columns, every column is dependent on previous one. user must enter all cells in column 1 so column 2 be editable then he enters column 2 to make column 3 editable. if he cleared cell then dependent columns should be disabled. how could i handle it using JavaScript please find below image : 回答1: I am assuming your table cell will be a af:input text . You don't need explicitly JS to achieve this as you can achieve it in ADF itself. So if you dont have requirement to do it

Oracle ADF: Close popup after downloading file

天大地大妈咪最大 提交于 2019-12-11 06:22:45
问题 So here's the thing. I have a popup that has a button, the button itself has a fileDownloadActionListener, this one is responsible for downloading an excel file. So what I need basically is to hide the popup right after I generate the file. Here's my .jspx file (Just the popup) <af:popup childCreation="deferred" autoCancel="enabled" id="myPopUp" contentDelivery="lazyUncached" binding="#{viewScope.mbMyBean.myPopUp}" partialTriggers="b17"> <af:dialog id="d16" type="cancel" title="Do you wish to

Oracle ADF - Tomcat 6.x - MySql 5.5 - java.lang.AbstractMethodError

北慕城南 提交于 2019-12-11 05:48:08
问题 We developed a Oracle ADF web app using jDeveloper 11.1.2.4 MySql 5.5 and after a lot of google help we deployed our app onto tomcat this post.Oracle ADF onto Tomcat 6.x In the above post he used Oracle Db. We deployed a test app with Oracle. Its running fine. But our original app has to work with MySql. We have setup our connection configuration as follows. In conf/context.xml <ResourceLink global="jdbc/webApp" name="jdbc/MySqlCOnDSDS" type="javax.sql.DataSource"/> conf/server.xml <Resource

How to solve adfContext leak on oracle-bi or enable adfContext finest logging?

雨燕双飞 提交于 2019-12-11 03:02:39
问题 In our Weblogic server log we get "ADFContext Leak" error and our app freezes. How to enable ADFContext finest logging on oralce BI? Or how to solve this ADFContext leak? 回答1: Here is the answer to your first question: Enable ADFContext finest logging on Oracle BI? Log on to Enterprise Manager console. Expand: Target Navigation > WebLogic Domain > Server Cluster Right Click: Server from the Server Cluster Click: Logs > Log Configuration Follow the screenshot for setting the desired logging

How the ADF faces lifecycle is different from JSF lifecylce?

ε祈祈猫儿з 提交于 2019-12-10 15:07:30
问题 This highly voted answer on SO says that ADF faces has a longer lifecycle than JSF . I want to know what are the differences between the two lifecycles and what benefits do those couple of extra lifecycle phases of ADF provide ? P.S: I am well aware of the JSF lifecycle but I am new to ADF . So you can base your answer on this premise. 回答1: The differences between JSF and ADF life cycles are documented here: http://docs.oracle.com/cd/E15051_01/web.1111/b31974/adf_lifecycle.htm 来源: https:/

Oracle ADF: ADFC-10001: cannot instantiate class 'com.wip.view.backing.Index'

萝らか妹 提交于 2019-12-10 11:47:36
问题 I have developed a web application using Oracle ADF Essantials. I am able to run this application on tomcat 6.x in my local system. I have the same tomcat 6.x environment on our server . There everything is same(tomcat environment). But when I am trying to run this application on server environment it is giving the following error. HTTP Status 500 - oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'com.wip.view.backing.Index' type Exception report message oracle

What does the terms “refresh” and “query” mean for an Iterator binding mean in ADF?

主宰稳场 提交于 2019-12-08 13:23:39
问题 I am having some confusion about some terminology used in ADF mainly in regards to the Iterator Binding . What is the purpose of the Refresh flag on an Iterator Binding in ADF? When(In which phase of the Lifecycle) is it recommended to do the refresh and why? What is the difference between refreshing an iterator and querying an iterator in ADF-speak? 回答1: Refresh means to rebind the Binding Layer iterator to the VO rowset iterator. This happens when the Page is rebuilt and the binding layer

Join data from more tables to single ADF table

感情迁移 提交于 2019-12-08 06:01:43
问题 I am creating ADF application in JDeveloper 12c with Oracle 11g XE database. I need join more tables to one ADF table. It is possible? I created this model in Toad Data Modeler: Model is in Czech language, but it doesn't matter. This is a simple film database. Important is the concept of the model. I want to have an ADF table that will contain data from multiple tables. Unfortunately I did not come to that. I beg you for advice. 回答1: You don't say whether you are using ADF BC to not. Assuming

Oracle ADF Secured App Gives HTTP 401 Error

落爺英雄遲暮 提交于 2019-12-07 23:01:40
问题 I am new to Oracle ADF Framework. I develop on JDeveloper 11g R2 with Weblogic 10.3.5.0. I developed an project like described in a Firebox training video on Youtube. You can download my project from here The video was about creating a custome login page. You have to create login,error anad the target pages. When you try to open target page login page comes then you enter your credentials. After success yoou should be directed to the target page. I used a backing bean to process credentials