Not click on the Delete button in Standard OTL OAF page popup warning message
Hello
In the page OTL Standard by removing records from its files automatically remove all without showing YES/NO pop messages.
So, I'm working on this requirement to get messages in context-click on the button.what deletion I did I extend the controller.
Popup messaging is displayed but when click the Yes button folder is not the deletion.
Thanks in advance.
Standard code:
============
' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
{
super.processRequest (oapagecontext, oawebbean);
DebugUtilities debugutilities = new DebugUtilities (oapagecontext);
debugutilities.enterMethod (Thi, "processFormRequest");
String s = oapagecontext.getParameter ("ShowTimecardSearch");
If (s! = null & & s.equals("Y"))
{
oapagecontext.putParameter ("TimecardSearchDone", "Y");
oapagecontext.redirectImmediately (oapagecontext.getCurrentUrlForRedirect (), true);
}
OAApplicationModule oaapplicationmodule = (oawebbean) oapagecontext.getApplicationModule;
String s1 = (String) oapagecontext.getSessionValue ("TimecardSearchDone");
String s2 = GlobalUtilities.getStringOrNullFromObject (oapagecontext.getParameter ("event"));
If (s2! = null & & s2.equals ("DeleteAction"))
{
Object obj = null;
If (s1! = null & & s1.equals("Y"))
obj = (TimecardSearchVOImpl) oaapplicationmodule.findViewObject ("TimecardSearchVO");
on the other
obj = (TimecardsVOImpl) oaapplicationmodule.findViewObject ("TimecardsVO");
((OAViewObjectImpl) (obj)) .reset ();
do
{
If (!) () (OAViewObjectImpl) (obj)). hasNext())
break;
Line = ((OAViewObjectImpl) (obj)) .next ();
String s5 = (String) row.getAttribute ("DeleteChecked");
If (s5! = null & & s5.equals("Y"))
{
String s7 = String.valueOf (row.getAttribute ("TimecardId"));
HXCUtilities.deleteTimecard (oaapplicationmodule, s7);
Row.Remove ();
}
} while (true);
((OAViewObjectImpl) (obj)) .setRangeStart (0);
}
======================
Code modified Contrller:
========================
' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
{
super.processRequest (oapagecontext, oawebbean);
DebugUtilities debugutilities = new DebugUtilities (oapagecontext);
debugutilities.enterMethod (Thi, "processFormRequest");
String s = oapagecontext.getParameter ("ShowTimecardSearch");
If (s! = null & & s.equals("Y"))
{
oapagecontext.putParameter ("TimecardSearchDone", "Y");
oapagecontext.redirectImmediately (oapagecontext.getCurrentUrlForRedirect (), true);
}
OAApplicationModule oaapplicationmodule = (oawebbean) oapagecontext.getApplicationModule;
String s1 = (String) oapagecontext.getSessionValue ("TimecardSearchDone");
String s2 = GlobalUtilities.getStringOrNullFromObject (oapagecontext.getParameter ("event"));
If (s2! = null & & s2.equals ("DeleteAction"))
{
oapagecontext.writeDiagnostics (Thi, "Enter in DeleteAction event param maton", 1);
OAException mainMessage = new OAException ("HXC", "HXC_TCSEARCH_DEL_CONFIRM");
oapagecontext.writeDiagnostics (Thi, "Enter in DeleteAction event param Manjunath1", 1);
Note that even if we do our Yes / No button submit a
form, yet it requires a non-null value in the yes/no constructor
URL parameters for the buttons to make, so we spend just empty
Channels for this.
DialogPage OADialogPage = new OADialogPage (OAException.WARNING,
mainMessage,
NULL,
"",
"");
oapagecontext.writeDiagnostics (Thi, "Enter in DeleteAction event param Manjunath2", 1);
Always use Applications dictionary messages of all the channels you want
display in your page. Note that any text you have defined declaratively
in the wake of the OA is directly translatable.
String Yes = oapagecontext.getMessage ("AK", "FWK_TBX_T_YES", null);
String number = oapagecontext.getMessage ("AK", "FWK_TBX_T_NO", null);
We put this value, so the code that manages this key is
descriptive.
dialogPage.setOkButtonItemName ("DeleteYesButton");
The following configures the Yes / No buttons to several buttons, validate
and make sure that we handle the form submit the original
(the summary "employees") of the page so that we can process the 'yes '.
This controller selection button.
dialogPage.setOkButtonToPost (true);
dialogPage.setNoButtonToPost (true);
dialogPage.setPostToCallingPage (true);
Now define our yes/no labels instead of the default OK/Cancel.
dialogPage.setOkButtonLabel (yes);
dialogPage.setNoButtonLabel (no);
oapagecontext.redirectToDialogPage (dialogPage);
} else if (oapagecontext.getParameter ("DeleteYesButton")! = null)
{
oapagecontext.writeDiagnostics (Thi, "Enter in event param maton DeleteYesButton", 1);
Object obj = null;
If (s1! = null & & s1.equals("Y"))
obj = (TimecardSearchVOImpl) oaapplicationmodule.findViewObject ("TimecardSearchVO");
on the other
obj = (TimecardsVOImpl) oaapplicationmodule.findViewObject ("TimecardsVO");
((OAViewObjectImpl) (obj)) .reset ();
do
{
If (!) () (OAViewObjectImpl) (obj)). hasNext())
break;
Line = ((OAViewObjectImpl) (obj)) .next ();
String s5 = (String) row.getAttribute ("DeleteChecked");
If (s5! = null & & s5.equals("Y"))
{
String s7 = String.valueOf (row.getAttribute ("TimecardId"));
HXCUtilities.deleteTimecard (oaapplicationmodule, s7);
Row.Remove ();
}
} while (true);
((OAViewObjectImpl) (obj)) .setRangeStart (0);
}
Hello
It seems that the ViewObject request is get executed once again on his return on the Page of the dialog box.
Can you please do the following suggested changes and see what happens?
1. change the processFormRequest. Add the threshold also
dialogPage.setOkButtonItemName ("DeleteYesButton");
dialogPage.setNoButtonItemName ("DeleteNoButton");
2. change the processRequest as below:
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean) { if ((oapagecontext.getParameter("DeleteYesButton") == null) && oapagecontext.getParameter("DeleteNoButton") == null) { // Copy the entire processRequest Code here. } }
Check out the link for more details below:
Let us know what happens after this change.
See you soon
AJ
Tags: Oracle Applications
Similar Questions
-
How can I clear the notifications from the notification Center while I can not click on the delete button? I have an iphone with ios 9.3 6
WBY can't you click on the white circle with an X in it next to the notification?
-
Why did I not click on the lock button to enter in wondows, I never used to have to do this
After I turn on the computer and using it for a while and let the screen goes black and then when I click that it lights up, the lock button is there. When I came to my computer, it has not done this. In other words, when I left the computer, the windows icon would remain, and the screen would not go dark. How can I get rid of this lock?
Hello
Control Panel - Power Option - on the left upper part require a password on WakeUp-
the value requires a password.Make right click Desktop - Screen Saver - uncheck on summary, logon screen.
I hope this helps.
-
Do not click on the node button
I can't click on the node generating the button to generate a node. This is on top of the movement up/down numbers (see photo). Does anyone else have this problem?
You move cursor to side and slightly to the right of the triangle on the Video Effects line. It will be two lines with arrows on each side. When this happens, click down and drag to the right to expose tools.
MtD
-
Click with the right button on a XyPointAnnotation to a popup menu
Hi all,
Does anyone know how to implement a right click on a XyPointAnnotation to pop-up a menu? This is not one of the default event.
Thanks in advance,
CD
In fact, I thought to myself. For those who are interested, here is the code in VB.net.
Private Sub gr_PlotAreaMouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles gr.PlotAreaMouseDown Dim ann As NationalInstruments.UI.XYPointAnnotation = gr.GetAnnotationAt(e.X, e.Y) If Not IsNothing(ann) Then ContextMenuStrip1.Show(sender, e.X, e.Y) End If End Sub
-
Context menu (or click on the right button) does not appear in the menu window
The context menu does not appear in certain sections of the browser.
If I run the browser in safe mode, it works without problem.
I tried to reinstall firefox, after uninstalling I also manually deleted everything hidden and visible files - did not help.
Also I tried the restore mode by default - did not help.Here, I put screenshoot.
Kind regards.Sorry for my eng
Hello
Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.
You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).
Then perform the following steps:
- Open the Firefox Options (Preferences on Mac or Linux) as follows:
- In Firefox 29,0 and above, click on the menu button
then select Options Preferences on Mac or Linux, or Windows.
- In 28.0 Firefox and earlier versions, click on the Firefox orange upper-left button, then select the 'Options' button or, if there is no button up Firefox, go to tools > Options.
- In Firefox 29,0 and above, click on the menu button
- In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
- You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
- Now restart Firefox and see if the problems persist.
In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:
This solve your problems? Please report to us!
Thank you.
- Open the Firefox Options (Preferences on Mac or Linux) as follows:
-
Downloaded and installed DC Pro 30-day trial. After installation, click on the launch button, but has not started. Installed MGP checked and it has not installed. Suggestions?
XP is not compatible with acrobat dc. You must win 7 or better, system requirements | Adobe Acrobat Pro DC, Acrobat Standard DC
-
Double click on the Home button does not show open applications?
Why not double click on the Home button shows my open apps? I have an iphone 6Plus, and I want to close some applications that do not work properly.
Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything. And then try to click double fast to access the app selector window. Note that these applications are not open. May be best to remove the apps and reinstall, but try the above first.
On multitasking on your iPhone, iPad and iPod touch - Apple Support
-
When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...
How can I fix it?
Nevermind, I restarted the computer and it was fixed
-
cursor not click the logout button in yahoo, rediff etc pages?
cursor not click the logout button in yahoo, rediff etc pages. For example, once I open my yahoo page, the mouse pointer does not change its appearance to the finger type when I try to click the logout or Inbox. This does not happen with chrome or explorer.
This problem can be caused by that extended the Yahoo! toolbar or extension of Babylon also well down and covers the top of the browser window and therefore links and buttons in this part of the screen not clickable.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.com/kb/safe+mode
-
UPDATE: following instructions provided by cor - el; they worked. Thank you! Interestingly, after doing that once, choose 'Options' became visible and remained so.
Running Win7. Firefox instructions say:
"Prevent Firefox from storing form entries.
If you do not want Firefox to remember what you have entered in the form fields, you can turn off the automatic form fill feature:
1. at the top of the Firefox window, click on the Firefox button, and then click Options. [* There is NO other CHOICE 'OPTIONS', so it's impossible and the process can take place as described.*]
2. Select the Privacy panel.
3. set Firefox will: to use the custom settings for history.
4. remove the check mark from the box that says search and shape Remember history.
5. click OK to close the Options window. .THE PROBLEM: in the order above, there is no choice 'Options', while the process can not be run as described.
How should I complete the process?- Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.
- Use "Firefox > Options" instead of "tools > Options" If the menu bar is hidden.
- Tools > Options > privacy > Firefox will be: "Use the custom settings for history" > "don't forget to search and form history."
- https://support.Mozilla.com/kb/form+AutoComplete
-
By clicking with the right button on something, I accidentally blocked the photos to a Web site - want their return but may not know how to do
This has happened
Don't know how many times
== I right click on the images of block a site or something like that.
Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings
A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar and click the button "additional information".
This will open the Security tab of the window of the Information Page (also accessible via Tools > Page Info).
Go to the Media of this Page Info window tab.
Select the first image and scroll though the list with the arrow pointing downwards.
If an image in the list is grayed out and there is a check mark in the box of block Images of... remove this brand in order to unlock the images from this area.See also the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load
-
I lost my preview pane in Apple Mail. I tried various things, including clicking on the small button in the standard view. But I can't move the small button to see my preview for an e-mail message pane.
Mail
Classic view
Move the mouse pointer to the 'small' button to the middle of the pane overview and then drag it down to show previews more.
-
When I select emails I want to remove the delete button and all the other buttons in the same row do not work. This not only with hotmail, it seems to be with other applications, including on this page at the top where you have "Home, office, int explore" etc... It happens to be in this part of the page, which can make? I ran anti mailware, anti-spyware and Windows Security Essentials found nothing and they all date please help
original title: send probsHi cooljae,
The question you have posted is related to Windows Live hotmail and would be better suited to the Windows Live community. Please visit the link below to find a community that will provide the best support. -
From fews days, I have a lot af problems in importing the photos. with LR6.3
they are not even displayed in the import menu. When I click on the import button, LR6.3 unresponsive. And I have to force to leave LR!
A few ideas on how to solve this problem?
Thank you
Hi Brigittet,
I suggest you to please upgrade to the latest version 6.5 of Lightroom: keeping up-to-date for Lightroom
Also try:
- Go to Lightroom > Preferences.
- Also please go to preferences > Performance tab and uncheck the box "use graphics processor.
- Restart Lightroom and see if it works.
Concerning
Tanuj
Maybe you are looking for
-
MacBook pro mid-2009 can not insert disc in the drive
I can't insert a floppy in the drive of my Macbook Pro mid-2009! It's a s if there is a disc already inside - something is it prevents insertion of entirely. I've tried several "cures" I found on the net - one of them worked for a short period but no
-
Is there any help to discipline myself? Using my phone all the time
I want to know if there is a way I can set my phone to turn on and during certain periods. I really need to cut down my time with my phone and it would really help if my phone goes out on the calendar. Hope theres help.
-
Hello everyone, In my VI, I have a code that looks like this- Each table is 2D size 512 by 640. The time it takes to run this whole chain is approximately 28miliseconds. Seems fast, but I need to cut it to about 10ms. I tried to make the tables 1 d
-
Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem Remember - this is a public forum so never post private information such as numbers of mail or telephone!
-
Update firmware on AN Equallogic SAN on a cluster
I'm new to Equallogic and need to update the firmware on a PS 6000 SAN that is in a cluster with TWO of SEM, that the firmware needs go to v6.0.7 to v7.0.5 My questions: I was told that I need to evacuate the SAN (migrate everything out of him) to th