oracle-adf

java code to populate an transient attribute in Oracle ADF

ε祈祈猫儿з 提交于 2019-12-12 05:50:05
问题 I very new to Oracle ADF. I have created a view object and it has a transient attribute. (Select literal and provided no value.) Now I want to populate the column using another column of the same viewobject(some business calculations are there) from a Java class. Any idea which class or how I can do that? Is it rowImpl class that I have to write my logic? If so can you give an example? here is an example of what I am looking to create. in Hr schema we have Department and Employees table liked

ADF filter table based on tree selection

只谈情不闲聊 提交于 2019-12-12 04:36:07
问题 How to filter Oracle ADF table contents based on tree selection? Bindings: So the table always renders as if the first item would be selected in the tree, but when I click on some other VariablePoint, the table does not change: UPDATE Based on the answers, I was able to configure the following, and it solved the problem: I made an iterator for every tree level rule and used them as Target Data Source for each tree/tree level rule. 回答1: ADF trees may look somewhat misleading, but they don't

Oracle ADF with GlassFish 4 error while running the JSPX

爷,独闯天下 提交于 2019-12-12 04:33:32
问题 I have followed Oracle Enterprise Pack Eclipse ADF but I used GlassFish instead of weblogic. When Tried to execute http://localhost:18080/HRWeb/faces/MainHR.jspx I am getting the following exception 2016-12-23T19:45:21.545+0530|Info: jndi:/server/HRWeb/WEB-INF/classes/view/DataBindings.cpx 2016-12-23T19:45:25.249+0530|Info: Added skin addition org.apache.myfaces.trinidad.skin.SkinAddition@1910271752 {styleSheetName: META-INF/adf/styles/fusion-base-theme-addition.css} to skin org.apache

How to configure specific location for logs

北战南征 提交于 2019-12-12 03:44:52
问题 I have a standalone program which using ADF. In that, for log messages am using " oracle.adf.share.logging.ADFLogger ". When I deploy it to weblogic server as a web application am able to see log files under MY_DOMAIN/servers/AdminServer/logs folder. But when I run this application as standalone program, where can I find the log files written by my application ? Can I configure custom location for log files ? 回答1: Please take a look into logging.xml file at this location C:\Users\Sid\AppData

Searching on af:Tree

ぃ、小莉子 提交于 2019-12-11 22:21:01
问题 I have created an ADF tree using the POJO and want to perform a search on the rendered tree. the search should traverse the rendered tree and should display only the matching nodes/leaves from the tree. Is there a way that I can highlight the leaf/node which matches the text entered by the user in input. Jdev version :11.1.1.7.1 Thanks. 来源: https://stackoverflow.com/questions/25731116/searching-on-aftree

ADF actionListener doesn't fire in table in a popup

ぃ、小莉子 提交于 2019-12-11 19:58:10
问题 I have a af:popup and have a af:table in it. In the table I have a af:commandImageLink . It's placed in a column; This commandImageLink has an actionListener that doesn't fire <af:commandImageLink text="commandImageLink 1" id="cil11" icon="/resources/imatges/ver.jpg" partialSubmit="true" immediate="true" actionListener="#{pageFlowScope.MyBean.setNameFilter}"/> I tried puting the commandImageLink in the popup alone without any table , it fires fine; Very strange indeed. Edit: The code: <af

How to use HTML5 Tags within ADF FACES

旧城冷巷雨未停 提交于 2019-12-11 19:36:29
问题 I'am looking for a pretty and easy way to use HTML5 Tags inside of my Adf Faces Application. I'am using ADF 12c and it's supposed to support HTML5 and CSS3. Until now i get this <f:facet name="center"> <af:inputText label="Label 1" id="it1" placeholder="Test"/> </f:facet> placeholder is an HTML5 feature. My questions: How can i use something as Canvas or Drag and Drop Events ? 回答1: You can use canvas tags directly, you can use normal HTML tags with ADF Faces 12c, and you can inject EL

Oracle ADF web browser refresh button gets old page

北慕城南 提交于 2019-12-11 13:21:11
问题 i'm developing an ADF application. I have a problem. My Jdev version 11.1.2.3.0. So, For example i have an URL like this "http://www.hohoho.com/view/index.xhtml?_adf.ctrl-state=ju9lnu5ld_3" In this page i have a table gets value from DB. For example again, i changed some rows in DB browser, and clicked the web browser's refresh button. But new results doesnt get!. For example i remove the "?_adf.ctrl-state=ju9lnu5ld_3" and enter url, this gets new results. How can handle this situation. I

How to solve ORA-04063: view “SYS.ALL_QUEUE_TABLES” has errors?

冷暖自知 提交于 2019-12-11 12:14:48
问题 Jdev version 11.1.1.7.1 I am using Oracle Database 10g XE & I am able to connect to the DB and retrieve all tables in HR schema. But when I am trying to create "Business components from Table" I am getting the above mentioned error. I have uninstalled Jdeveloper and once again reinstalled it. Still I am getting the same error. Here is the description of the error :- The following SQL statement failed : SELECT /*OracleDictionaryQueries.ALL_ORACLE_OBJECT_QUERY(3)*/ O.OBJECT_NAME, O.OBJECT_TYPE,

.getcurrentrow (DCIteratorBinding) is returning null after an hour

a 夏天 提交于 2019-12-11 11:01:48
问题 I am new in ADF (EJB/JPA not Business Component), when the user is using our new app developed on jdeveloper "12.2.1.2.0", after an hour of activity, system is loosing the current record. To note that the object lost is the parent object. I tried to change the session-timeout (knowing that it will affect the inactivity time). public List<SelectItem> getSProvMasterSelectItemList(){ List<SelectItem> sProvMasterSelectItemList = new ArrayList<SelectItem>(); DCIteratorBinding lBinding = ADFUtils