How to hide a button in the page based on the condition button bar

Hello

I have a requirement to hide apply and save on value-selector button released in the status field to create work order page.

kindly help

ProcessRequest:

Am = (OAApplicationModule) oapagecontext.getApplicationModule (webBean) OAApplicationModule;

OAViewObject oaViewObj1 = (OAViewObject) am.findViewObject ("xxcustPVO");

If (oaViewObj1 is nothing)

{

oaViewObj1 = (OAViewObject) am.createViewObject ("xxcustPVO", "xxcust.oracle.apps.eam.workorder.server.xxcustPVO");

If (oaViewObj1! = null)

{

oapagecontext.putDialogMessage (new OAException ("got added attributes"));

}

}

ProcessFormRequest:

OAViewObject vo2 = (OAViewObject) am.findViewObject ("xxcustPVO");

If (vo2.getFetchedRowCount () == 0)

{

VO2. InsertRow (VO2. CreateRow());

Line OARow = (OARow) vo2.first ();

row.setAttribute ("RowKey", new Number (1));

oapagecontext.putDialogMessage (new OAException ('value inserted in VO'));

}

Based on Condition

If (vo2! = null) {= (OARow) vo2.getCurrentRow (); line}

If (line! = null) {}

oapagecontext.putDialogMessage (new OAException ("inside the vo attribute"));

row.setAttribute ("xxApply", Boolean.valueOf (false));

row.setAttribute ("xxSave", Boolean.valueOf (false));

}

Card apply n Save button with SPEL

Tags: Oracle Applications

Similar Questions

  • How to use CSS to create the horizontal navigation bar in Dreamweaver CS6

    How to use CSS to create the horizontal navigation bar in Dreamweaver CS6

    One of the ways to do this is the following: Editor Tryit v1.9

    You can also use floats to get something in the same direction.

  • APEX dynamic action - how to hide an element after the loading of the page

    Hello

    I have a form with the element Type, lesson and page.   I want to create a dynamic as action ' on page load "If Type = x don't then see the lesson and the elements of the page. .

    How can I know if Type = x don't see the lesson and the page. It does not show them.

    Please note the dynamic, action = Page load event

    Thank you

    Try adding

    When the Condition "Javascript expression."

    Value: $v ('P1_TYPE') == 'x')

  • How to hide 'Select language' of the OBIEE login page

    Hello
    I want to hide 'Select language' and the drop-down list of the OBIEE login page.

    Appreciate your help.
    Thank you

    See:
    http://obiee101.blogspot.com/2008/10/OBIEE-no-language-dropdown-on.html
    the languages required between the AllowedLanguages together and goto instanceconfig.xml tags

    concerning

    John
    http://obiee101.blogspot.com

  • How to hide temporarily inactive titles in Page view?

    How to hide a track layout once its regions have finished playing? In the screenshot below, the cursor is at 92 bar, and you can see in the window Arrange regions 'Nina' and 'Daddy' are finished playing. But they are still displayed in Page view. How to hide the display Page once they are done? In Logic 9 disappear automatically...

    several ways to do this... one way is to cut the section is based in the arrange window and use them gaps to show this gap as remnants or hide personnel. You can use regions muted in exactly the same way, if you choose...

    Below shows the two staves to measure 13...  They were cut out of the arrange window and I can have them appear in the staff or not based on the box fill up the gaps.

  • How to hide a button based on zero a count of an independent subform?

    I'm a newbie to this. Try different ways without success. I found the info in an old discussion group. There is no info to indicate that it worked.

    It's not exactly what I need. I tried to adapt it without success.


    "in the click event of the button remove should have something like this."

    If (this.parent.instanceManager.count > 1) {}

    this.parent.instanceManager.removeInstance (this.parent.index);

    } else {}

    xfa.resolveNode("Subform1[0].cmdRemove").presence = 'hidden ';

    this.parent.instanceManager.removeInstance (this.parent.index);

    }

    And you should have an initialize event of the subform

    If (this.instanceManager.count > 1) {}

    xfa.resolveNode ("Subform1 [0]. ") cmdRemove') .its presence = 'visible ';

    } else {}

    xfa.resolveNode ("Subform1 [0]. ") cmdRemove') .its presence = 'hidden ';

    }

    Basically, I want to hide a button if the account of a subform get to zero. The subform has start from zero count. If somoene decides to remove all the subform said, I need the button target to be "hidden". Any help would be appreciated.

    It works as you described. Thank you

  • How to hide a button with javascript in Captivate 8?

    I need to run javascript in my project and at the same time I want to hide a button, so I can't use advanced actions.

    Why? You can insert the "Execute JavaScript" command in a fast action without any problem. And the same event that triggers the JS can trigger this combined action.

  • How to hide my button?

    I try to hide my button once my MovieClip is invoked so that it does not appear behind the MovieClip?

    The code I wrote to get the MovieClip to play is:

    Stop();

    import the classes so we can make in our movie

    import flash.display. *;

    import flash.events. *;

    import flash.display.MovieClip;

    import flash.display.Sprite;

    button_mc.addEventListener (MouseEvent.CLICK, buttonCLICK);

    function buttonCLICK (event: MouseEvent): void {}

    faucet2_mc.gotoAndPlay (1);

    }

    What is the syntax I use hide my (button_mc) button when the MovieClip is playing and then reappear when the MovieClip is finished playing?
    The syntax appears before or after my end hook?

    Try:

    MovieClip (parent).button_mc.visible = true;

    the rest the same as in my first message

  • How to hide a view in the Layout Compound

    Hi all

    I've created an OBIEE report and also I had included the LogicalSQL view in the layout of the compound. Now I want to hide+ only the logical SQL view is displayed.

    Entries how to hide the view logic SQL would be appreciated.



    Thank you
    S

    Oh yes, you are right!

    Hi again.

    This script that I wrote to you in reality hid the SQL logic. Here is what it does

    1) pass through and save SQL logic in a table
    (2) hide the logical SQL view
    (3) loop through the array and display the contents.

    All you need to do is remove the final loop (step 3) and it will not display the SQL logic.

    -What you hope to do?

    -Joe

  • How to hide a folder in the flash player?

    I need to hide a folder in the flash player.
    Please tell me a simple way.

    In the same way that you would hide any file in any location.

    Right-click on the folder, select Properties, set attributes to hidden box, and then click OK.

  • How to hide a section of the green screen?

    I use CC first with a green screen. I am, however, making demonstrations a product happens to have some terminal blocks on it which is the same green as the screen. I can hide by sections of the video to ignore the green screen and show the Green terminal blocks?

    Post an image capture.

    But... you can duplicate your film and put it on a video level higher than the original.

    Then apply a mask to the section that you want to protect.  (Its called a matte right there)

    -A layer has a key and the other does not.

  • How to hide a column in the report when there are only zeros.

    Hi Experts.,.

    Is it possible to hide a column in the report when there are only zeros.

    Thanks in advance
    Vincent

    Vincent Krishna wrote:
    Hi Experts.,.

    Is it possible to hide a column in the report when there are only zeros.

    Thanks in advance
    Vincent

    No out-of-the-box, but there are several workaround solutions if you want to continue an any of them:

    (1) use a view selector. A single report will be a pivot table with the column, the other will have the same report less column. Users can switch reports.

    (2) use a column selector. The two choices would be this column or an empty space. If white is chosen (because the user has no values), the column "will disappear" according to the report.

    (3) guided use NAV. This method involves the intervention of the user. Build a small report using the single column and put a filter "is not equal to" 0. Because there is only a single column, so all lines are 0, the report returns no rows.

    Use this report in the properties of guided navigation from one section of the dashboard. Assign to this "If the report returns lines" and put the report that contains the column in this section. Now add another article on your table edge and in the properties of guided navigation of this section, set on "If the report will return no rows" and it points to the small report as well. In this section, put a second version of your report without the column in it.

    When the column contains all zeros, the second section with column will not display in it; the first section is not displayed. When at least a line contains a value not zero, the first section is displayed with the column, and the second part will not be.

  • How can I insert spry accordion in pages based on a template?

    I made a few pages based on a template. Then I wanted to put accordion spry on some of these pages based on a template.

    When I try to place an editable in spry Dreamveawer CS5 icon stops.

    It does not allow me to spry accordion in an editable region in model or saying that I should put in the locked region. When I try it stops. In fact, what I need, it is to use spry in only a few pages based on a template. I guess I need to do the head and waistcoat is editable. I tried this but I failed.

    How can I achieve this?

    Thanks in advance for any help

    Show me your code first, please.

  • How to hide a column in a RTF based XML output

    I have a XML output that has a column called STATE of a "REJECTED" or "PROCESSED"

    I have another column called REJECT_DESC. This is null when the State is PROCESSED and it fits the description of rejection if the status of this line is REJECTED.

    In a RTF I want to show if the value of REJECT_DESC if the line has a status of "REJECTED".

    How can I show only this column when she is rejected?

    I have the group by the State, so the report separates the lines... but how to hide the column? I don't want a column null

    Thank you

    I think that the STATUS will be same in the XML data, and you have two lines in your table. A line for all the column headings and another line for repeating group for these column values. So you can simply keep,

    Reject the Description //row1 the title of column
    row2 column values

  • How can I get rid of the extra title bar?

    After the upgrade to version 20, I have a problem that has never existed before. In fact, after starting Firefox, it seems there are 2 title bars-, both having the iconify, maximize and close buttons on the right. The upper one is called as usual. The second is almost empty except for a new 1-button access button menu. On the first line below these two, I have a regular multiple-entry menu bar, the address bar, and my search bar. If I go to the new collapsed together the menu and uncheck the menu bar, then my 3rd line, including the address bar and the search bar disappear. If I then go back and re-enable the bar menus, and then things return to what I was used, with the additional title bar 2nd line and its single button disappeared.

    There are two results, I would be happy here, but I was not able to accomplish either. The first would be for Firefox at startup in the way that I'm used to without cheating with the deactivation and reactivation of the menu bar. However, I would not mind if the new title bar with the menu button _replaced_ reduced the old title bar and menu bar, I now had to leave. That would leave more room for the bars of location and search on the same line. The second result would be my preference.

    It is conceivable that I long tweaked something in everything: config which is the cause, but I can't find anything suspicious. (I saw entries in for the old tinymenu addon, which is no longer, I installed. "I couldn't delete them.) I've disabled all my elegant addons, thinking that they might be interacting, but that did not help.

    Also, could you try Tab Mix Plus update to the current version and disable all other add-ons that affect the appearance of the area of bar tools/chrome of Firefox?

    Firefox orange (or the Tools menu) button > addons > Extensions category

    If in doubt, disable all non-essential extensions for testing purposes, then restart Firefox so that takes effect. (I can tell you that NoScript does not cause this problem for me.)

  • How can I remove two of the three search bars - now appear on my screen

    When I go to Mozilla firefox, somehow (and I guess I made the mistake). It appears 3 three bars of 'search '... Obviously, I need only one (1)... How can I remove two of the three bars "get"?

    Hello

    You should check with the Support of FireFox and their forums.

    Support for Firefox
    http://support.Mozilla.com/en-us/KB/

    Firefox - community and live Chat
    http://support.Mozilla.com/en-us/KB/ask

    Firefox - Forums
    http://support.Mozilla.com/en-us/questions

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Maybe you are looking for

  • RN204 - internal fan runs at 4600 RPM continuously. #26555287

    I have a RN204 with a problem with the fan. I looked and read some threads in line with the overall view and all of the various ReadyNAS devices. I guess that's incorrect. The fan is running a constant RMP 4600, the CPU shows its operation at 34 degr

  • Deployment of my game: why so many cod?

    I'm about to deploy my new game of storm, but I noticed that my JAD file is referring to more than one file of cod.  Can I have some unwanted extra lying around or is it just how does a cod?  Maybe a maximum of cod so it must he the bust upwards? RIM

  • DRIVER_IRQL_NOT_LESS_OR_EQUAL (vsdatant.sys)

    Hello! When I start my computer and I usually Mozilla Firefox and Spotify, my computer usually begin after a little while the accidents and restart it self and I get a blue screen where it "DRIVER_IRQL_NOT_LESS_OR_EQUAL (vsdatant.sys). This happened

  • How to find the USB on Windows 8

    I have found how to access my USB on my laptop new windows8

  • Restore the deleted version

    Hi Experts,We can restore deleted version of DRM? I donot have a back up of this version. Are there possible ways to recover or restore the deleted version?Thanks in advance