How to call the AM method that accepts the parameter other than a string
HelloI need to pass 2 parameters from the date of my method of AM.
I checked the jdev doc and found the method which can be used for anything other than a string below parameter
public Serializable invokeMethod (String methodName,
[Serializable] methodParams,.
Class [] methodParamTypes)
one thing that I am not able to understand how to pass multiple dates in a single parameter of the class.
can anyone tell me the syntax to invoke method for the passage of 2 dates.
Hello
Suppose you have a string and two date parameters
Test of the chain;
Date date1;
Date2 date;
Then move it like this
OAApplicationModule am = pageContext.getApplicationModule (webBean);
Serializable [] parameters is {test, date1, date2};.
Class [] paramTypes = {String.class, Date.class, Date.class};
am.invokeMethod ("initSummary", parameters, paramTypes);
Thank you
Gerard
Tags: Oracle Applications
Similar Questions
-
How to call the parameter of the 101 on page 1 page
Greetings,
I wanted to call the parameter on the page "P101_USERNAME" to connect to page 1.
Cust_user is a table where I m authticating my username and password, Authtication is doing well, but I want the client code in the table cust_user of the specific client to display after the connection on page 1. that i wrote query on page 1 "cust_id SELECT FROM cust_user WHERE UPPER (USER name) = UPPER(:P101_USERNAME), but it shows nothing, if I'm harcore specific username instead of: p101_username it works very well for example"cust_id SELECT FROM cust_user WHERE (USERNAME) = UPPER ('test'), '
Please drivers me how to get the value of the text field (p101_username-login page) to page 1, it is the first page after login.Like I said earlier, use APP_USER.
Go Page 1 now.See you soon,.
-
How to call the package from a SQL string function
I create a SQL string in my c# application. Within the selection, I have a function call to a package in my diagram.
ex.
"Select id, package1.fncFormat (text) of tblText".
If I run this within Oracle it works fine but when I run my application and the SQL runs the use of OracleDataReader I get
«ORA-00904: "PACKAGE1".» ' FNCFORMAT': invalid identifier.
Is this possible to do?
It is a dynamic sql string that is built using many different options.
Thanks for any helpDo you run this application and directly on DB package by the same user?
Check the privileges of the user on the application.Kind regards
Bobin -
How to call the web service?
Hello
I want to know how to call the web service from my application HTML5 & javascript.
Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.
I just want that when you call a web service method, I will return the result.
Please try this out for a WebService call
var xmlhttp; xmlhttp = new XMLHttpRequest(); xmlhttp.open("get","your url",true); xmlhttp.setRequestHeader("Accept","application/json"); xmlhttp.setRequestHeader("Content-type", "application/json"); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { if (xmlhttp.status == 200) { console.log(xmlhttp.responseText); } } } xmlhttp.send();
This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.
-
How to call the setting menu of the BIOS on HP DV4 1540us netbook?
Hi all
How to call the setting menu of the BIOS on HP DV4 1540us netbook?
F2 does NOT an on-screen BIOS setting.
Is there another trick? Or, perhaps, defining the procedure step by step to start the BIOS?
TIA
Power on the laptop and all logo HP being displayed, press F10.
-
How to call the procedure type table
Hi I have the below requirement
Created in the sub table type
CREATE or REPLACE the TYPE char_type IS the TABLE OF VARCHAR2 (4000);
create or replace procedure test_proc_type (p_type char_type) is
Start
I'm looping 1.p_type.count
dbms_output.put_line (p_type (i));
end loop;
end;
How to call the procedure with parameter as a type!
SQL> create or replace type char_type as table of varchar2(4000) 2 / Type created. SQL> create or replace procedure test_proc_type (p_type char_type) 2 is 3 begin 4 for i in 1..p_type.count loop 5 dbms_output.put_line (p_type(i) ) ; 6 end loop; 7 end; 8 / Procedure created. SQL> set serveroutput on SQL> SQL> exec test_proc_type(char_type('A','B','C','D','E')) A B C D E PL/SQL procedure successfully completed. SQL>
-
How to call the java function with javascript setting in mobile adf?
How to call the java function with javascript setting in mobile adf?
The ADF Mobile utility container API can be used from JavaScript or Java.
-
How to call the stored procedure when I press the button
Hello
I want to know how to call the procedure/SQL statement when I press the button using callable statement.
can someone give me it please link who knows the steps to do this.
Thanks in advance,
SANHello
read this good example http://www.baigzeeshan.com/2010/05/calling-plsql-procedure-and-function-in.html
~ Abhijit
-
How to call the variables of the scene inside movieClips
How to call the variables of the scene inside movieClips
One way would be to use "MovieClip (root)" to target variables in the main timeline... MovieClip (root) .someVariable = someValue;
-
How to call the javascript function in ADF
I have the javascript function stored in a .js file external (try to reuse in another application). How can call the javascript function for an event of ADF faces component. I need to I am a newbie to ADF, all ideas are appreciated.
Kind regards
Surya
Published by: sgodavar on Sep 24, 2010 11:44Include JavaScript to the jsff/jspx as page:
Call it like:
Type = "dblClick" / >
Amit -
How to call the function (function Build-in user) in Pro * C program
We have developed the application Pro * C program.
TimesTen version is "TimesTen release 11.2.1.5.0 (64-bit, Linux/x86_64) (tt112150:53308) 2010-03 - 04 T 20: 39:30Z.
We would like to develop Pro * C program you are using PL/SQL.
We have a few questions.
How to call the function (function Build-in user) in Pro * C program?
#########
TEST
#########
ttisql:
Command > create or replace FUNCTION F_SAMPLE (i_str IN VARCHAR2)
> BACK NUMBER
> o_number NUMBER;
> START
> select i_str
> in o_number
> double;
>
> O_number RETURN;
>
> EXCEPTION
> Others THEN
> RETURN 0;
> END;
> /.
display errors
The function is created.
Order > show errors
No errors.
Command >
Command > set serveroutput on;
Command > declare
> number of num1;
> start
> num1: = F_SAMPLE ('A');
> DBMS_OUTPUT. PUT_LINE ("F_SAMPLE" |) ' ' || NUM1);
> end;
> /.
F_SAMPLE 0
PL/SQL procedure successfully completed.
Command >
Pro * C case:
EXEC SQL BEGIN DECLARE SECTION;
number of num1;
EXEC SQL END DECLARE SECTION;
EXEC SQL EXECUTE
Start
: num1: = F_SAMPLE ('A');
end;
END-EXEC;
Make sure to install:
Error on line 146, column 3, file plsqlPROC.pc:
Error on line 146, column 3 in file plsqlPROC.pc
number of num1;
.. 1
PCC-S-02201, encountered the symbol "num1" when expecting one of the following conditions:
Thank you.
GooGyumThere are two problems with your variable declaration:
1. the name of the variable and type are thew misplacement autour.
2. you may not use a host variable type.
If you change this to:
EXEC SQL BEGIN DECLARE SECTION;
int num1;
EXEC SQL END DECLARE SECTION;Then it will work very well.
Chris
-
How to create a window with its own window border other than the local system window border?
How to create a window with its own window border other than the local system window border?
For example, a border: a black line with a width of 1, then a transparent line with a width of 5. Inside, it's the content pane.
In JavaSE, there seems to be for the JFrame paintComponent() method to realize the effect.
I can't see what you're trying to do now: it's a little trickier. You need stage.initStyle (StageStyle.TRANSPARENT), and I think you have to imitate the transparent part of the border by the presence of a second vessel inside the root container, properly positioned.
Something like:
import javafx.application.Application; import javafx.application.Platform; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.StackPane; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.stage.StageStyle; public class CustomBorderExample extends Application { @Override public void start(Stage primaryStage) { AnchorPane root = new AnchorPane(); root.setStyle("-fx-border-color: black; -fx-border-width: 1px; "); StackPane mainContainer = new StackPane(); AnchorPane.setTopAnchor(mainContainer, 5.0); AnchorPane.setLeftAnchor(mainContainer, 5.0); AnchorPane.setRightAnchor(mainContainer, 5.0); AnchorPane.setBottomAnchor(mainContainer, 5.0); mainContainer.setStyle("-fx-background-color: aliceblue;"); root.getChildren().add(mainContainer); primaryStage.initStyle(StageStyle.TRANSPARENT); final Button closeButton = new Button("Close"); mainContainer.getChildren().add(closeButton); closeButton.setOnAction(new EventHandler
() { @Override public void handle(ActionEvent event) { Platform.exit(); } }); primaryStage.setScene(new Scene(root, 300, 200, Color.TRANSPARENT)); primaryStage.show(); } public static void main(String[] args) { launch(args); } } -
Dear all,
How to copy the parameter FDM (import format, mapping of dimension, table of control) of application to another application.
I found that one dimension mapping can be imported. Is it possible to copy the FDM application quickly?
Thank you for your helpIf you get a chance try the following script, it is so simple and easy to extract all the map as XML data and help to import via import script.
---------------
Void MapExtractor()
'------------------------------------------------------------------
"Script custom upstream Internet link:
'
"Created by: SatyaK"
"Creation date: 08/12/09.
'
' Object: this Script will produce a file of account mapping for
"the current location.
'
'------------------------------------------------------------------'Run the export '.
strFilePath = API. IntBlockMgr.InterfaceMgr.fExportMapToXML ("File Path", PPOVPeriod)End Sub
-------------
-
How to change the graphics rather than the windows screen resolution
Hello
Intel graphics card;
In response to the question of size screen. How him alter the graphics rather than windows.Granniebiker
Hello
I m not very well what you want to do? :|
You want to change the resolution of your laptop screen?I assume you have an XP operating system.
If you can make them using two different ways.(1) go to-> graphic display Manager Control Panel Intel-> in one available tabs, you can change the display settings
(2) using a second way to make a right click on the desktop-> properties-> settings tab
There is also a setting to change the display resolution.Good bye
-
How to get the decimal value of a string of international currency
Hi all
How to get the decimal values to a string of international currency.
Finally, we get to the real problem.
You can use location functions or write your own using string functions already mentioned...
http://developer.BlackBerry.com/native/documentation/Cascades/device_platform/internationalization/
Maybe you are looking for
-
Re: Software pre-installed Satellite T110 - is not functioning
Hello I have a new Satellite T110/00D. (Windows 7) In the words of commissioning, he was fine but since won't laod any software that was on board. MS Office works (I downloaded), but internet explore etc opens. The files are on a search for the disc.
-
Satellite B-C55-1055 - cannot download drivers Win 7 - links do not work
Hello I try a lot of time to download the drivers from the toshiba sitebut all of the links is broken all links collapsed after 50%I try to start it again the same problem Help, please
-
Pavilion a450n: graphics update for pavilion a450n
is the radeon hd 6450 graphics compatible as a450n upgrade card
-
Problems with ad-hoc internet compirtir
Saludos has created ad hoc red una y al end el proceso no me da the internet sharing option is can activar in otro sitio, Gracias y saludos nuevo
-
installation of windows server 2012
I recently purchased windows server 2012, however, it came with a disc only. No instructions, nothing? How can I install on my Acer Aspire easyStore H342?