How to hide all button except one in a PageButtonBar

Hello,
I am newbie to OAF.
And i am trying to do is, when i would clink on a submit button of my Update page(page is using Train. All the buttons are in a TrainFooter Region, whose lay out is pageButtonBar and Submit button only visible when i am on the last page of train, i.e. Summary Page) then all the button except one (Back to Search Page) will get hide.
Pls let me know where i need to work to do this, i try to do it in PR but no change get reflect.
Thanks,
Udit

Hello Abdul,
Yes, i want only "Back to Search" Button on last page when i press "Submit" Button.....but before pressing submit...all button should be there on Summary(last) page except "Back to Search" Button....and when i press Submit Button then only page buttons get hide without any change in whole pageLayout.
Here is CO of my TrainFooter===========
PR====
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OATrainBean trainBean=
(OATrainBean)pageContext.getPageLayoutBean().getLocation();
trainBean.prepareForRendering(pageContext);
int step = trainBean.getSelectedTrainStepRenderedIndex();
if(step + 1 != trainBean.getNumberOfRenderedTrainSteps()){
OASubmitButtonBean submitButton =
(OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");
submitButton.setRendered(false);
PFR==========
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("Cancel") != null)
pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/ak/Emptry/webui/EmpTrySearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
if(pageContext.getParameter("Submit") != null){
am.getOADBTransaction().commit();
throw new OAException ("Current Record is Updated!!", OAException.CONFIRMATION);
Pls let me know in any other confirmation.
Thanks,
Udit

Similar Messages

  • Hide all mc except one (the clicked)

    What I'm tryibg to get is:
    I have 20 movieclips and when one is clicked the other nineteen must dissapear. This is my code, I have something wrong in it. Can you help me, please?:
    Thank you.
    function What_I_clicked(event:MouseEvent)
         hidemc(event.target.name);
    function hidemc(WhatClicked:String)
        var allG:Array = new Array(g1,g2,g3,g4,g5,g6,g7,g8,g9,g10,g11,g12,g13,g14,g15,g16,g17,g18,g19,g20);
        var k:String;
        var ind:int;
        ind = int(WhatClicked.substring(1)); //get the number 1,2,3, etc...
        var i:int;
        //first restore all
        for (i = 1; i < 21; i++)
            allG[i].visible=true;
        //hide all except the clicked
        for (i = 1; i < 21; i++)
            if (i==ind)
                allG[int(i)].visible)true;  //the clicked
            else
                allG[int(i)].visible=false;

    Try something like this instead:
    var allG:Array = new Array(g1,g2,g3,g4,g5,g6,g7,g8,g9,g10,g11,g12,g13,g14,g15,g16,g17,g18, g19,g20);
    for(var e:String in sList) {
              sList[e].addEventListener(MouseEvent.MOUSE_UP,HideAllOthers);
    function ShowAll():void {
              for(e in sList) {
        sList[e].visible = true;
        trace(typeof e);
    function HideAllOthers(event:MouseEvent):void {
              var thisItem:Object = event.target;
              for(e in sList) {
            if(sList[e] != thisItem) {
                sList[e].visible = false;

  • Sophos Endpoint security: Block all websites except one

    I've been trying to find out how to block all websites except one, in an end user, by creating a policy in the Sophos Enterprise Console. I can see an option - Full web control but it requires an appliance. My question is, it is possible block all websites except one with Sophos? I appreciate if anybody knows, and can tell me how. I have downloaded the trial version of Sophos. If it's possible, I'll try Sophos ES for a year, for the end users and servers. 
    This topic first appeared in the Spiceworks Community

    Team Folder in the past was managed by administrators. Administrator can create, edit, delete team folders. The team folder can be published to a group of users, including Active Directory group. It is very convenient to share files and folders with a group of users in the same team. As team groups bigger, it may not be convenient for administrator to manage all the team folders. So it makes sense for administrator to assign some users to be able to manage team folder that they own themselves. Role Manager It usually starts with the role manager by creating a role with Add/Edit/Delete permissions and assign it to users or Active Directory groups. Manage Team Folder The user who are in the private team folder role will be able to manage team folders without seeing all the team folders from everyone. Here is a YouTube Video about...

  • How to  extracting data in all objects except one object?

    hi experts,
    when we are trying extracting(load) data, it should be updated in all objects except one object,what is the procedure, pl anybody can explain step by step procedure.
    thanks & regards
    vijay

    Hi vijay
    By object do you mean infoObject ?..if it is then you can set no update in update rule and do not map in transfer rule...
    Thanks
    Tripple k

  • SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"

    My SHOW ALL and HIDE ALL buttons work in the View Selected
    Item mode. However, the compiled version generates an error tag:
    Line: 72
    Char: 1
    Error: Object expected
    Code: 0
    URL:
    mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
    In short, the the compiled chm is located in the SSL. I tried
    adding showhide.js and ehlpDhtm.js to the SSL folder, but that
    didn't make a difference. What is missing? How do I fix this?
    Many thanks in advance...
    glennito

    Mr. Grainge,
    I've tried to follow your instructions to the letter, but I'm
    not having any luck.
    1) I copied the showhide.js to
    a) RoboHelp 6.0 > Project Folder
    b) RoboHelp 6.0 > Project Folder > SSL
    c) RoboHelp 6.0 > Project Folder > SSL >
    MicroSoft_HTML_Help
    2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
    into
    a) RoboHelp 6.0 > Project Folder > SSL
    b) they are also listed in RoboHelp 6.0 > Project Folder
    3)The Project Manager > Baggage File originally displayed
    a
    a) Project (Name) folder
    b) ehelp.xml
    c) RoboHHre.Ing
    I opened the Baggage File > Project (Name) folder,
    selected New Baggage File, and added, respectively:
    i. btnhideall.gif
    ii. btnshowall.gif
    iii. ehlpDhtm.js
    iv. printerblue.gif
    v. printerred.gif
    vi. showhide.js
    vii. TCA.fpj
    vii. root.fpj
    4) I also opened rhbag.apj in Notepad. It shows
    a) ehelp.xml and RoboHHRE.Ing accompanied by
    <usercreated>false</usercreated> tags
    b) the remaining baggage files are accomanied by
    <usercreated>true</usercreated> tags
    5) Finally, I used Notepad to display two topic files in
    which the error message identified a Line: XX. In one case the line
    # is 42, in another, 19. In both cases, when I counted lines,
    starting with <body>, I ended up on:
    onClick="JavaScript:hideEm()"
    However, I am none the wiser for my effort and don't know
    what (5) might be telling me.
    6) The only thing I can think of is that the compiled chm
    file is two levels away from the Project Name directory that holds
    all the files. The files live in Robohelp 6.0 > Project Name
    while the compiled help is found in Robohelp 6.0 > Project Name
    > SSL! > MicroSoft_HTML_Help > Project Name.chm.
    Should I be adjusting the Relative Path within the topics?
    Many thanks for your attention and assistance.
    glenn

  • How to delete all mails with one klick?

    It's annoying to delete every single mail.
    How to delete all mails with one klick, like in the paperbasket?
    Thanks

    If the emails have been previously deleted (I.e. in the trash folder), tap Edit at the top of the list. You should see a delete all button at the bottom. If the messages are in a standard folder, they need to be handled one at a time.

  • Question about import all tables except one

    I have exported all tables for a user. While importing I want to import all tables except one table whose name I know. How do I do this? Example: If I have tables: Employee, address, salary that I have exported. While importing I want to import only Employee and address. How do I do this. The database I have exported contains over 20 tables.

    I don't think it is possible at all, you just need to explicitly specify all the tables.
    If you really don't want to include the single table, then you can import all the tables and drop the desired one.
    hare krishna
    Alok

  • How to hide "Resfresh" button in top yellow bar of guided procedures?

    Hi Folks
    I would like to remove the "Refresh" button in the top yellow bar of an guided procedures workitem. You get to this yellow bar when you click on an uwl workitem which is associated with guided procedures view. Does anybody know how to hide this button?
    Thanks a lot for helping!!
    Kind regards
    Bettina

    Dear Bettina,
    this will be a feature of NetWeaver CE 7.2.
    Until then it simply is not possible.
    There is one workaround, you can use the SingleTask view of a Process Instance, which however will show ONLY the action itself, without the Process Title, or the Ctx Panel or the Phase Navigator.
    If this works for you, I can guide you how to achieve it.
    Regards,
    George.

  • How to print all columns in one page

    Hi,
    Can anybody explain me how to print all columns in one page.we have around 15 to 20 columns for 4 reports and all these reports are build on one multiprovider.we are using BW 3.5.
    Can anyone explain me  how to print ALL COLUMNS IN ONE PAGE  .currently they are getting all columns in 2 to 3 pages. They are using PORTAL to run the reports here.
    Is it possible to do by customizing Webtemplate or by macros in Workbook.Please help me
    Edited by: kotha123 on Oct 11, 2010 5:58 PM

    Hi,
    Your best bet is to use a workbook template or else Excel to pdf option...Thanks

  • How to divide all textFrames in one-character-per-textFrame?

    Hello:
    How to divide all textFrames in one-character-per-textFrame?
    Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s".
    Help, please.

    Hi Paul, try this one
    #target Illustrator
    //  script.name = splitSelectedFramesIntoWords2.0.jsx;
    //  script.description = splits selected texFrames into separate words;
    //  script.required = select point text textFrames before running;
    //  script.parent = CarlosCanto;  // 10/14/11
    //  script.elegant = false;
    var idoc = app.activeDocument;
    var sel = idoc.selection; // get selection
    var selCount = sel.length; // count items
    var tFrames = []; // to hold the textFrames
    for (j=selCount ; j>0 ; j--) // loop thru selection & get textFrames backwards
                        tFrames[j-1] = sel[j-1];
    for (k = 0 ; k<tFrames.length ; k++) // loop thru textFrames
                        var xpos = tFrames[k].position[0]; // get x
                        var ypos = tFrames[k].position[1]; // get y
                        var words = tFrames[k].contents.split(/\s/g); // get all words into an array
                        //$.writeln(words);
                        var space = tFrames[k].duplicate(); // dup to get width of a space
                        space.contents = " ";
                        var sw = space.width;
                        space.contents = words[0]; // replace space with first word
                        var w = space.width;
                        var wordCount = words.length; // count words
                        for (i=1; i<wordCount ; i++) // loop thru words
                                            xpos2 = xpos+w+sw; // next words position = previous word pos+width+space
                                            var iword = space.duplicate(); // duplicate previous word
                                            iword.contents = words[i]; // add next word
                                            iword.position = [xpos2,ypos]; // position the character = original position + new width
                                            w = iword.width; // get words width
                                            xpos = iword.position[0]; // get words position
                        tFrames[k].remove(); // remove textFrame

  • Moved some Crystal Reports from 8.5 to 10. They all work except one.

    Moved some Crystal Reports from 8.5 to 10. They all work except one.
    The report runs, then stops.
    It brings up the Formula Workshop - Format Formula Editor - Suppress (No Drill-Down)
    Highlights one of the Formula Fields, which is in used as part of record selection, then stops

    Go to [http://service.sap.com]
    In that go to SAP Support Portal ->Help & support tab ->Report a Product Error
    You would have to supply Customer number and User ID and it would allow you to create a case (incident).
    You can also call on our CIC numbers if you face any issues and they would be able assist you in creating an Incident.
    Americas : 1 866 8907686 (toll-free)
    support.bosapamerica@ sap.com (Remove the space)
    APJ: 1800 613459 (toll-free)
    support.bosapasia@ sap.com
    EMEA: 08081012181 (toll-free)
    support.bosapemea@ sap.com
    Hope that helps!!
    Regards,
    Shweta

  • How to remove all nodes (except root node)from a Jtree?

    How to remove all nodes (except the root node)from a Jtree?

    Either:
    - remove all children of root.
    - save the root node, throws away the tree model, build a new TreeModel with the saved root, set the new TreeModel in the JTree.
    - implement your own TreeModel, which would support an emptyExceptRoot() method.
    IMHO, using the DefautlTreeModel and DefaultMutableTreeNode does lead to all sorts of small problems when the app evolves, and implementing your own TreeNode and TreeModel is not that hard and much more efficient.

  • How to transfer all materials from one plant to other plants?

    How to transfer all materials from one plant to other plants?

    Hi
    To transfer stock in one step  between plants belonging to same company code use movement type "301" and using transaction code "MIGO". IF you like in two step it helps to monitor stock in transit use movement type "303" and "305".
    303 Transfer posting plant to plant in two steps - removal from storage
    305 Transfer posting plant to plant in two steps - placement in storage
    to transfer stock between plants of diffrent company code go for stock transpor order using tcode "me21n"
    hope it helps

  • Need all members except one

    We need a report in FRS 11.1.2.1 (for planning app) with all account members except one member (say XYZ), this dim is in page dim. Since we want the report to be dynamic, we tried few things:
    1. Tried using All Accounts AND NOT XYZ
    2. Created a UDA with all account members except XYZ. Used UDA in the report and it does not show up the right result. It shows only one page for each account.
    Any suggestions will be helpful either in any of the above options or something new.
    Thanks

    Hi
    What exactly is the requirement? Do you want a total of all accounts excluding one or do you want to display all accounts excluding one?
    What you are describing with the Page dimension is the way that the page is intended to work. If you want:
    1. Subtotal of all accounts except one
    a. Either add this member as a dyn calc member in the outline and call it directly or
    b. Call the overall total and the account you wish to exclude and use a formula in the report to subtract one from the other
    2. Display all accounts except one
    a. Move what you have on the page of the report into rows (I suspect it may be too large to fit in columns)
    Hope this helps
    Stuart

  • Block all URL except one or two in WRSV4400N

    Hi,
         I have a WRSV4400N router and I need to block all URL except one or two. Can I do it with or whitout TrendMicro ProtectLink??
    Thank you

    Hi Axondigital,
    Your english is very good.  I did say "check and see"  in my earlier post and not here is a solution.
    To answer your original question , the answer is NO.
    URL filtering is a limitation you will find in a product like the WRVS4400N, but you will not find that limitation in the new and more powerful SA520 which has an URL allowed and blocked list.
    My advice would be, evaluate trendmico protectlink if you wish and see what you think.  send a email to the following address to get a evaluation license;
    [email protected]
    But try a SA500,  if that customer  really needs a low cost, but capable router that requires URL allowed list.
    regards Dave

Maybe you are looking for

  • How to pull data from Active Directory in ABAP (non-CUA approach)?

    All, We have a requirement to pull information from AD into a WAS 6.20 system. I know there is the standard CUA/UME LDAP synchronization discussed at length in this forum but this in not what we are looking for. We would like to connect from an ABAP

  • Does HDV improve SD/DVD quality

    Hallo, I want to switch to HDV for personal use only, but can't affort to buy a HDV camera and big HD television at the same time. So I have to decide wich one to buy first. So there are some questions maybe someone can answer. So far I have been rec

  • Having trouble installing CS5.5 on lion 10.7.3?

    Are you having trouble installing CS5.5 on your mac (os lion 10.7.3)? Are you tired of receiving error reports (i recieved "exit code: 24" numerous times)?  there is an easy way without hacking your mac into bits. start your comouter in security mode

  • Premiere Elements 7 missing project settings...

    Hi all, I am using Premiere Elements v7.0 with a Canon Vixia HV30 camcorder attached. I am having some issues getting my project settings to match my HDV camcorder and the HD video i want to import. When I launch Elements and the welcome screen is op

  • WRT350N - Does not display local network

    I replaced my WRT54G witha WRT350N.  I can access the internet, but the devices on my local network can no longer see each other.  When I go into My Network, I see the PC I am using and the router.  None of the other devices are shown.  It was workin