Posts

Showing posts from November, 2011

Executing a method bindings In Bean method.

Image
Many time you be in a situation where there is a AM method exposed as a client and requirement is to execute that AM method from the backing bean. Its quite simple first you have to register that AM method in the page definition file as method bindings. Now choose the method you want to add to the page definition and executed by a bean method. for the parameter either you can use the bindings if your parameter clearly coming from bindings else leave them blank. Now in the bean method first you have to catch the handle of the DCBindingContainer and then using this binding container you can get the operation binding for the AM method and then can add the parameter. If you are have already bind the parameter with the bindings then can skip that. then you just need to call the execute method of your operation binding.

Creating rows in parent and child VO connected using a VL

Hi, Today I got stuck with the requirement where I had to display the parent and child in the input mode. My problem was I am having two VOs both are connected to each other using a view link and both are having the id column. This column is a primary key for the Employee table and foreign key for the Description table which in tern also have a id column. so my database schema is like this. EQUITY_USERS Name Null Type ------------------- -------- -------------- USERID NOT NULL NUMBER USER_NAME NOT NULL VARCHAR2(20) FULL_NAME VARCHAR2(20) ACTIVATION_FLAG NOT NULL VARCHAR2(10) DEACTIVATION_REASON VARCHAR2(2000) ADMINUSERID NUMBER LAST_UPDATED_DATE NOT NULL DATE