oracle-adf

Calling Managed Bean Method From JavaScript [duplicate]

旧街凉风 提交于 2019-12-17 07:48:57
问题 This question already has an answer here : How to invoke a JSF managed bean on a HTML DOM event using native JavaScript? (1 answer) Closed last year . I have an application with a client-side image map with multiple sections defined. I need to call a method in the Managed Bean from the <area> onclick attribute. This doesn't work: <area id="ReviewPerson" shape="rect" coords="3, 21, 164, 37" href="#" onclick="#{personBean.method}" alt="Review Person" id="reviewPersonArea" title="Review Person"

How to define more than one stylesheet in adf framework

只愿长相守 提交于 2019-12-13 15:31:24
问题 I am facing a problem with adf skining. My style sheet crossed 1800 classes. IE has a limitation of 4000 style classes. While rendering, ADF adds its own classes. So it crosses 4000 and the styles I am referring at the last of my sheet are not working in IE alone. I need to define a new style sheet for same application. I have tried adding one more skin-family in adf-faces-config.xml. Did not work. Please help. Thanks in advance. 回答1: I am not 100% sure if creating a separate CSS will resolve

Unable to create multiple log files based on the ThreadContext map values using routing appender in log4j2

纵然是瞬间 提交于 2019-12-13 06:14:13
问题 I'm using the log4j2 jars in the oracle adf application build on 12c. Requirement: Create multiple log files based on the session and ability to change the logging properties dynamically. Log4j2.xml file <?xml version="1.0" encoding="UTF-8"?> <Configuration status="trace" packages="apps.adfAppUI.ui.bean"> <Appenders> <File name="file" fileName="./adfAppCustomLogs/TestLog4j2.log"> <PatternLayout> <Pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} %-5level %class %L %M - %msg%xEx%n</Pattern> </PatternLayout>

bounded task flow versus unbounded taskflow in ADF

微笑、不失礼 提交于 2019-12-13 04:21:06
问题 Please help me in understanding the two of these task flows - Bounded and Unbounded in ADF. From what i read from a book, my understanding is that an unbounded taskflow can contain n number of bounded task flows. Please give me example like for what reason we can use unbounded task flows and bounded task flows. 回答1: Taskflow is something which acts as controller for an ADF application. It is used to define the navigation between taskflows or pages. In ADF Taskflow is of two types. Bounded TF

How can i Use Tuckey URL Rewrite with ADF Essentials?

£可爱£侵袭症+ 提交于 2019-12-13 04:19:34
问题 Developed on ADF 11.1.2.4 (JSF2.0 -GF 3.1.2) Expecting to implement urlrewrite for pretty urls. Added into web.xml: <filter> <filter-name>UrlRewriteFilter</filter-name> <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class> <init-param> <param-name>logLevel</param-name> <param-value>WARN</param-value> </init-param> </filter> <filter-mapping> <filter-name>UrlRewriteFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD<

Cant render an outputText depending on my systemLocal Variable

徘徊边缘 提交于 2019-12-13 03:39:13
问题 I have a page template that in webcenter portal with footer with 2 output text which will be rendered depending on the selected language from the language task flow. I have custom template which I've created with the jdeveloper and had put the follwing output label: <af:outputFormatted id ="copyright" rendered="# {facesContext.externalContext.requestLocale} eq 'en'" value="the english text" /> <af:outputFormatted id ="copyright" rendered="#{facesContext.externalContext.requestLocale} eq 'ar'"

Faces in ADF can't get the request parameters

寵の児 提交于 2019-12-13 03:34:29
问题 I have an ADF web application with Faces 1.2 In my managed bean I am trying to access the parameters of the post request, but always getting null. This is my post form that I am posting to the Faces: <form name="input" action="http://127.0.01:7072/myapplication/faces/login.jspx" method="post"> <input type="hidden" name="user" id="user" value="myUserName"/> <input type="submit" value="Submit"/> </form> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("user");

Search (UI) on employee table with the department name and not department ID

最后都变了- 提交于 2019-12-13 03:27:21
问题 Say I have two tables Employee and Department. Employee table has departmentID which references the Department table. I would like to implement search functionality on the employee table based on EmployeeName and DepartmentName. I've implemented the search on EmployeeName by adding a view criteria on the Employee VO. How do I search department name if I can only add departmentID in the view criteria. I don't want to search with department ID since my users wont know the IDs of each department

Fail to improve pose of point cloud with ADF origin

若如初见. 提交于 2019-12-13 02:11:45
问题 I save the point clouds of a scene and its quaternion in a pcl file. First, I've only used pose w.r.t to device start (see second image) to get the quaternion. I've discovered a drifting problem which I mentioned here. Therefore, I learned the scene with area learning (see first image) by walking around the table. After that, I'm loading the area description file (ADF) to overcome the drifting. I wait for the first loop closure/localization in the onPoseAvailable callback. Then in the

Can we configure Oracle ADF Faces to produce valid XHTML?

好久不见. 提交于 2019-12-12 16:40:22
问题 We are using Oracle ADF Faces in a new web project. I am always looking for an unobtrusive user experience with progressive enhancement and valid XHTML output. It seems however that ADF Faces produce ugly, non-validating (table based) HTML output that reminds me of 1994 when using their standard components. Is there a way to configure ADF Faces or create templates for the components so we can have complete control over the generated (X)HTML? 回答1: ADF is a continuation of BC4J, so this is why