oracle-adf

ADF Invoke operation manually from code

痞子三分冷 提交于 2019-12-02 08:56:32
问题 I want to execute a data control operation (CreateInsert and Delete) from a buttons ActionListener. I am aware a data control button can be inserted from the Data Controls menu, but for various reasons I need to do it this way, a prominent one being I need to perform extra runtime checks. I found the following code: OperationBinding operation = bindings.getOperationBinding("operation_name"); operation.getParamsMap().put("parameter_name", parameterValue); operation.execute(); But don't know

ADF Invoke operation manually from code

允我心安 提交于 2019-12-02 05:14:19
I want to execute a data control operation (CreateInsert and Delete) from a buttons ActionListener. I am aware a data control button can be inserted from the Data Controls menu, but for various reasons I need to do it this way, a prominent one being I need to perform extra runtime checks. I found the following code: OperationBinding operation = bindings.getOperationBinding("operation_name"); operation.getParamsMap().put("parameter_name", parameterValue); operation.execute(); But don't know which variables to use for myself. First of all, I don't know which binding I should use. Then, the

create java library file

早过忘川 提交于 2019-11-28 01:29:35
问题 I'm using number of java files as common in different ADF projects, I want to archive them in jar file so I can import this archive file from any new project to use the java libraries in the project, I tried create it in jdeveloper but no luck. Thank you for any advice, 回答1: You can use the following article to understand the way. creating a Jar file jar cf jar-file input-file(s) But still you can zip a file using windows zip utility or winzip and rename it as a jar file. It is not official

Calling Managed Bean Method From JavaScript [duplicate]

耗尽温柔 提交于 2019-11-27 09:40:41
This question already has an answer here: How to invoke a JSF managed bean on a HTML DOM event using native JavaScript? 1 answer 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" /> Since my hands are tied on the image map (unfortunately), how can I call a managed bean method from within the <area> tag?

Trying to deploy Oracle-ADF application to Tomcat 7

谁说我不能喝 提交于 2019-11-27 07:16:06
问题 I am trying to deploy an oracle-adf application to Tomcat 7. I have done a lot of things but at the end, I got the exception below. Any suggestions ? [Using jdev studio, version 11.1.2.4; succeeded in running the application without Model part(without DB Interactions) ] java.lang.ClassCastException: oracle.adfinternal.controller.faces.context.StubJSFPageLifecycleContext cannot be cast to oracle.adf.controller.faces.context.FacesPageLifecycleContext oracle.adfinternal.controller.application