How to make buttons unclickable when one of them is clicked
Hello,
I am using JDev 11.1.1.4.0.
I have a jspx page that has 6 command buttons. Some of them process the data present in the form and some of them are for navigation. Problem is when a user clicks a command button and clicks other button impatiently if the first process takes some time. Most of the time the app is able to handle this behavior, but when it fails it fails with 404 error(I'm speculating).
Is there a quick and easy way to make rest of the buttons unclickable until the process finishes? I was going to handle this in backing bean to set the disable property to false when one of them is clicked, but cannot figure out when to set them back to disable=false.
Many thanks in advance for the help.
Bones Jones
Shay,
I tried something like this, but didn't work for me:
public void submit(ActionEvent actionEvent) {
disableButtons(true);
ADFUtil.invokeEL("longProcess");
disableButtons(false);
}Debugging line by line, I found out even after the disableButtons(true) line, the buttons were still clickable. Curious, I put the disableButtons(true) at the end of the method, buttons were disabled when the control came back to the user. So it seems to me only the last diableButton() call before returning control has the influence.
Similar Messages
-
How to make buttons work in Interactive Adobe Forms
Hi Experts,
I am new to interactive form. Though i have worked in normal/non-Interactive form, i do not know how to make buttons work in interactive adobe forms using ABAP (I don't know JAVA). Can any one help me out and walk me through to how to code in ABAP to make buttons work.
Kind Regards,
Sharat.Please refer to my earlier post ... You will get an idea
Please refer to the below thread for detail solution
Sample Interactive form example ?....urgent...
Cheers
Satya -
How to make several pushbuttons in one line (on screen)??
How to make several pushbuttons in one line (on screen)??
thanks in advance!!!!Hi,
USE
SELECTION-SCREEN BEGIN OF BLOCK.
SELECTION-SCREEN BEGIN OF LINE.
define all buttons between this block.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK.
selection-screen
Cheers
VJ -
How to make it selected when clicked and open popup
Hi,
I 've a form in the parent page with many form elements.
I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.
But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.
How to make it selected when clicked and open popup?Perhaps try moving the application to your preferred desktop and then right-click it's dock icon > options > Assign to This Desktop.
-
How to make data flow from one application to other in BPEL.
Hi All,
I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
Experience people please guide.
Sales Person -----> Sales Manager ----> Production Manager
Thanks
YatanYes you can do this.
If you each integration point to be in different process, you have to create three BPEL process.
1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
-Ramana. -
I am new to fluid grid layouts in Dreamweaver cs6, I want to insert a GIF file on my index page but I do not know how to make it so when the page shrinks the GIF or image shrinks as well. The only code that I have found is
img, {
max-width: 100%;
But this code already exists in the css file when you create a new fluid grid based layout
img, object, embed, video {
max-width: 100%;
can anyone help a newbie please..this is my source code
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kyle Childress Foundation</title>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="/layout.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
</head>
<body>
<div class="gridContainer clearfix">
<div id="animation"><img src="images/images/kyleanimation2014gif2.gif" alt="kylechildressfoundationanimation"></div>
</div>
</body>
</html>
this is my css
@charset "UTF-8";
@import url("/kyle.css");
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
img, object, embed, video {
max-width: 100%;
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: 5;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 10;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 87.36%;
padding-left: 1.82%;
padding-right: 1.82%;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 90.675%;
padding-left: 1.1625%;
padding-right: 1.1625%;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 88.2%;
max-width: 1232px;
padding-left: 0.9%;
padding-right: 0.9%;
margin: auto;
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#animation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
#image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
the animation GIF is 700 x 908
I changed the code from max-width to just width 100% but it still did not work ,, please help -
Not clear how to make button iconic
i am not clear how to make button in forms iconic and where that icons come.where i have to kept that specific icon.what is the path of the directory where to keep image
Just to add a little on what Gerd said, for web deployed forms your icon files must be of type .gif
You cannot have .ico files in web deployed forms
For more information on Web deployed icons read [url http://www.oracle.com/technology/products/forms/pdf/webicons.pdf]Webicons
If you're using client/server technology, you also specify the UI_ICON registry and put your icons under that directory. In client server you can use .ico files
Tony -
How to make session invalid when user refresh the page?
How to make session invalid when user refresh the page?
I have a <form> in a JSP file that has another JSP file as an action.
I have main.jsp that has <form> with action.jsp file as an action.
Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
I want to prevent this. -
How dose family sharing work when one person wants to use a gift card?
How dose family sharing work when one person wants to use a gift card?
kokogo,
Purchases made in the iTunes and App Stores will first attempt to use any store credit that exists on the purchaser's account. Barring sufficient credit, the family organizer's card will be used for the purchase.
First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card. As the family organizer, any receipts generated by the transaction will be sent to you. Learn more about how iTunes Store purchases are billed.
Family purchases and payments
https://support.apple.com/en-us/HT201079
Sincerely,
Allen -
HOw to make an Object oriented alv respond to double click
Hi all,
HOw to make an Object oriented alv respond to double click.SAmple code will be helpful.
Thanks in advance,
Alex.Hi,
1. Create a Control (for Custom and Split Containers only)
2. Instantiate a Container Object (in case of Custom and Split Containers, specify the control which is created by us in Screen painter) CREATE OBJECT
3. Instantiate an Object of the kind of report that has to be displayed (List, Grid or Tree). CREATE OBJECT . Here we need to specify the Parent Container as the so that it sits in that container.
4. Call appropriate methods to display the report on the screen. CALL METHOD ->
DATA : g_dock TYPE REF TO cl_gui_docking_container,
g_split TYPE REF TO cl_gui_easy_splitter_container,
g_cont1 TYPE REF TO cl_gui_container,
g_cont2 TYPE REF TO cl_gui_container,
g_grid1 TYPE REF TO cl_gui_alv_grid,
g_grid2 TYPE REF TO cl_gui_alv_grid.
i_mara is an internal table of structure MARA
SELECT * FROM mara INTO TABLE i_mara.
i_kna1 is an internal table of structure KNA1
SELECT * FROM kna1 INTO TABLE i_kna1.
To create an Object of type Docking Container
CREATE OBJECT g_dock
EXPORTING
side = cl_gui_docking_container=>dock_at_top
extension = 200 .
To Create an Object of Type Split Container. Here we can see that the Docking *Container Created above has been used as a parent .
CREATE OBJECT g_split
EXPORTING
parent = g_dock
orientation = 1 .
Easy Split container splits one Control into 2 manageable controls, each of them is used * to handle one GUI Container each
g_cont1 = g_split->top_left_container.
g_cont2 = g_split->bottom_right_container.
To Create an Object of type Grid . Here we can see that the Left Split Container * Created above has been used as a parent .
CREATE OBJECT g_grid1
EXPORTING
i_parent = g_cont1 .
To Create an Object of type Grid . Here we can see that the Right Split Container * Created above has been used as a parent .
CREATE OBJECT g_grid2
EXPORTING
i_parent = g_cont2 .
The method of Grid Control Object is used to display the Data.
CALL METHOD g_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'MARA'
CHANGING
it_outtab = i_mara[] .
The method of Grid Control Object is used to display the Data.
CALL METHOD g_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'KNA1'
CHANGING
it_outtab = i_kna1[] .
Regards
Hari -
How to change security codes when you forget them
How to change security codes when you forget them?
You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
(115681) -
Recently some of my contacts are no longer displaying in my contact list, but I know they're in memory because when one of them calls me my phone recognizes the caller. This happened a few days ago, so i must have changed some setting,but I have no idea which one. Can anyone help?
Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
I suggest that no response is made to this duplicate thread. -
After updating to IOS 7.1 my us holidays doubled in my calendar. How do I get rid of one of them?
You probably figured it out by now! But if someone else is wondering...
Open the icalendar app up and click on the word Calendar (bottom of page). A box pops up called 'Show Calendars', scroll to the bottom of the page to 'Other' and uncheck US Holidays. The next time you sync your ipad from your iMac, it will only copy US holidays from your computer calendar. -
I am trying to add 3 grouped vertical radio buttons where one is on each line of a 3 row table. When I group the 3 buttons it squeezes them into one row, is there a way I can have them grouped and one in each.
Also, I would like to know how to make part of the form highlight when one of the 3 buttons is selectedHi,
If I am not wrong, a table cell can hold only one component or none. In order to place the radio group to different positions vertically, you can use subforms instead of table.
Asiye -
How To Make Text Disappear When Mouse is On a Button?
Hello, I'm completely new to Flash and well I need some help. I created a page that has static text in the center.
The page has buttons on side and when I rollover a button text appears, but the problem is that when I rollover a button, the static text in the center is there and I want to hide it as I can't read anything because the texts are overlapped.
How do I make the text in the center disappear/hide when I rollover a button and how do I make it reappear when the the mouse is off the button?
I hope what I am explaining makes sense.You can assign onRollOver and onRollOut code to the buttons to make the text dispappear, but you'll need to make the text a movieclip with an instance name that you can use to target it to turn it invisible. In the simple example below, the button has an instance name of "btn" and the text movieclip has an instance name of "text_mc"
btn.onRollOver = function(){
text_mc._visible = false;
btn.onRollOut = function(){
text_mc._visible = true;
Maybe you are looking for
-
How to enter HRA without maintaining the infotype 0581
Hi Friends, We would like to maintain HRA without entering the value in 581 infotype. But it not allowing us to maintain like that..can any body let me know the dynamic action is existed for this. Any body can help out on this.. rewards will be given
-
Getting "the procedure entry point CGImageRelease could not be located in the dynamic link library CoreGraphics.dll" error when starting Itunes. Haved reloaded many times and still the error.
-
Which vpn is safe to download on my mac?
I often travel to the far east where many sites are blocked so I'd like to use a Virtual Private Network. any suggestion?
-
Won't boot at all, just a black screen
I have a HP G72-227WM Notebook PC. Windows 7 64-bit. It recently crapped out on me. I have no idea what went wrong on it. All it does it go to a black screen as soon as I turn it on. No logos, no cursor, just straight to a black screen. The fa
-
My Computer has just had a new windows package installed and now my "Device is not recognized" when I plug it in?