| Home |
| Technical Articles |
| Training Articles |
| Receive Email for New Articles |
| Contributors |
| Apps Book |
Technical Articles
Oracle Application Framework
Sample Code - Add Submit Button Using OA Framework Extension 

| Sample Code - Add Submit Button Using OA Framework Extension | | Print | |
| Written by Anil Passi | |
| Thursday, 17 January 2008 | |
|
In continuation with previous article, please find a sample source code for enabling a Submit Button on OA Framework Page. This code will reside in Controller class. Following sequence of events will take place for this type of extension The extended custom controller class will replace the standard controller class. Just prior to the page being rendered, processRequest of extended controller will be called. In processRequest we will create a Submit Button Bean using getWebBeanFactory(),as in sample below. Next, we will attach an event named "xxSubmitSendEmailButton" to this newly created button. In the processFormRequest of extended controller, trap the event named "xxSubmitSendEmailButton" Note- Event is trapped by checking the value of pageContext.getParameter(EVENT_PARAM) Take appropriate action when this event is trapped
Comments
(7)
written by Suneetha , January 17, 2008
Dear Anil,
I am trying to convert the account values from legacy to oracle base tables(fnd_flex_values,fnd_flex_values_tl).The problem is we could not load the segment qualifiers from the legacy table to base table.It is not displaying in front end.We are using R12.Please solve my problem.
Hi Anil,
I am looking for Oracle Application documentation in French, can you help out, where I can get these documents, like user manuals, setup manuals, etc... Thanks rajiv
Just wanted to add the reason why SubmitButton cannot be added via personalization.
Think of it this way, even if we were able to add a submit button, what would we be able to achieve ? Since we would want to call a piece of logic when the form is submitted using the SubmitButton, we would anyway need to customize the controller, and since we are customizing the controller, we can create the button there itself. Tapash written by Zafar Sadiq , March 07, 2008
Hi Anil ,
Is it possible to handle Key Board ENTER key through code . For example : if user press Enter key i want certain events to be handled or navigate to other page Thanks You must be logged in to a comment. Please register if you do not have an account yet.
|
As always great stuff.. I have one question though.. How do you specify, if you want the button to be created at a specific location ( may ne next to a set of buttons which are already on the standard page)..
Thanks for all your help,
Suneetha.