Customization/personalization Issue hidding oaf "subTabs"

Hi Gurus,
I have problem with this oracle applications customization, I have an OASubTabLayoutBean, depending to the input params, I have to show/hide some subTabs, in another projects I just have to do:
OASubTabLayoutBean tab = (OASubTabLayoutBean)pageContext.getPageLayoutBean().findIndexedChild("MySubTabLayout");
tab.hideSubTab(0, true); // hide
tab.hideSubTab(1, true); // hide
tab.hideSubTab(2, false); // show
tab.hideSubTab(3, true); // hide
But this doesn't work right now, I ran the application and the result is just the page shows all the subTabs without showing any error on the Log, and when it debug it, execute the command lines fine.
what can i do to force to hide these subtabs regions? please help me
Best Regards,
Mentor
here's my code:
Note:
Like I said before, this is an OAF customization, so as you can see on the processrequest this one is extending from the original controller
/*===========================================================================+
|   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
|                         All rights reserved.                              |
+===========================================================================+
|  HISTORY                                                                  |
+===========================================================================*/
package xxdi.oracle.apps.eam.toolbelt.webui;
import oracle.apps.eam.toolbelt.webui.WorkOrderDetailsPGCO;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.layout.OASubTabLayoutBean;
import oracle.jbo.Row;
* Controller for ...
public class XxdiWorkOrderDetailsPGCO60 extends WorkOrderDetailsPGCO
  public static final String RCS_ID="$Header$";
  public static final boolean RCS_ID_RECORDED =
        VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
   * Layout and page setup logic for a region.
   * @param pageContext the current OA page context
   * @param webBean the web bean corresponding to the region
  public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
     OAApplicationModule am = pageContext.getApplicationModule(webBean);
      OAViewObject voWOCreateUpdateVO = (OAViewObject)am.findViewObject("WorkOrderDetailsVO");
      String rowStatus = "";
      if (true) {
          if (true) {
              Row row = voWOCreateUpdateVO.getRowAtRangeIndex(0);
              if(true)
                pageContext.putSessionValue("AssetGroup",row.getAttribute("AssetGroup").toString());
                rowStatus = row.getAttribute("SystemStatus").toString();
                if ("4".equalsIgnoreCase(rowStatus))
                    HideOptions(pageContext, webBean);
   * Procedure to handle form submissions for form elements in
   * a region.
   * @param pageContext the current OA page context
   * @param webBean the web bean corresponding to the region
  public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    private void HideOptions(OAPageContext pageContext, OAWebBean webBean) {
        OASubTabLayoutBean tab = (OASubTabLayoutBean)pageContext.getPageLayoutBean().findIndexedChild("WorkOrderSubTabs");
        tab.hideSubTab(0,true);
        tab.hideSubTab(2,true);
        tab.hideSubTab(3, false);
        tab.hideSubTab(1, true);

You're in the wrong forum. Is this better suited here OA Framework ?
Thanks
-Jorge

Similar Messages

  • Customize "Personalize Page"

    Hi All,
    I need to customize 'Personalize page'  to have it appear user friendly. Is it possible to achive by customizing existing par file for page.If it is possible, which par file I need to customize. Please give me some idea on this.
    Thanks & Regards,
    Venkatesh R

    Hi Shah,
    I read the document given by you. Here my requirement is different. I need to customize "Personalize page". Right now, Personalize page has some admin page look and feel.  but for end users it might be difficult to handle.
    For that purpose  I would like  to change this page more or less like iGoogle.So users just can select multiple iViews at once, or simply drag-drop iViews to the right-pane without the need for the rightclick -> select 'Add iView to Page' sequence.
    For achive this functionality I want to change left pane (content browser) something more intractive. I will be happy to give more information regarding this if you need.
    Any help would be greatly appriciated.
    Thanks,
    Venkatesh R

  • Customization of OAErrorPage in OAF

    Hi,
    When an unexpected error occurs in OAF, the OAErrorPage is rendered with the text “You have encountered an unexpected error. Please contact the System Administrator for assistance”.
    We are looking for a solution to display a custom message for such unexpected errors.
    One solution that we have is using the try/catch with generic exception, to catch all exceptions raised and then throw the custom message.
    Please provide us with the details if we can somehow customize the OAErrorPage to display a custom message and if this customization (if possible) can be restricted to a particular module/responsibility.
    Any other solution to handle unexpected errors and display of custom message is welcome.
    Thanks in advance.

    This Errors is coming from within OA Framework implementation code and developers dont have direct access. Generally these errors come for cases which are not normally handled in code: like the null pointer exception wihch can never occur if a not null check is done before every dot operation. Similarly there can be other cases of System exception. If the code is written with lot of exception handling most of these issues would not occur and you would be free to show custom error messages on screen.
    It might need some investigation to identify the actual piece of code causing it and making changes. However it might be a very costly exercise in terms of efforts with little output. Do make your decision.
    Regards
    Sumit

  • Customization / personalization of self service pages ... R12

    Hi All!
    I have got experience in customization and personalization of Apps forms which are based on Form Builder (FMBs) but I have no experience in customization or personalization of self service based forms.
    Can anybody please guide me the steps to do so. I want to know it from scratch till deployment...
    I shall be ever thankful..
    Regards
    OraLearner

    Hi;
    Similar issue mention here many times. Please chck this search
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Debugging Personalization Issues

    Hi,
    While trying to hide some columns in an advanced table, I set their rendered property to FALSE at the responsibility level. At that time, it gave me an error message
    Setting rendered to false may hide this item and its children. The application may be inoperable if this item or any of its children is required. Hiding the result area of a query region will cause an error.
    But it allowed me to save the change. However, probably because of this change I don't see any data in the table. I reverted all the changes, but still no luck.
    If I turn personalization off, it works fine (i see all the data). How can i identify the personalization specific to this table? I have other personalizations that are on the same page and at the same level.
    SQL> execute jdr_utils.listcustomizations('/oracle/apps/ap/oie/webui/OIEMAINPAGE');
    /oracle/apps/ap/oie/webui/customizations/function/OIEMAINPAGE/OIEMAINPAGE
    /oracle/apps/ap/oie/webui/customizations/site/0/OIEMAINPAGE
    /oracle/apps/ap/oie/webui/customizations/responsibility/22918/OIEMAINPAGE
    From Functional Admin resp:
    /oracle/apps/ap/oie/entry/summary/webui/customizations/function/OIEENTRYFLOW/ConfirmationPG 30-August-2007
    /oracle/apps/ap/oie/entry/summary/webui/customizations/org/2242/ConfirmationPG 30-August-2007
    /oracle/apps/ap/oie/entry/summary/webui/customizations/responsibility/22918/ConfirmationPG 30-August-2007
    /oracle/apps/ap/oie/entry/summary/webui/customizations/site/0/ConfirmationPG 30-August-2007
    /oracle/apps/ap/oie/webui/customizations/function/OIEMAINPAGE/OIEMAINPAGE 30-August-2007
    /oracle/apps/ap/oie/webui/customizations/responsibility/22918/OIEMAINPAGE 30-August-2007
    /oracle/apps/ap/oie/webui/customizations/site/0/OIEMAINPAGE 30-August-2007
    How can I find what the above customizations actually do?
    Any pointers?
    Ashish

    Use jdr_utils to print the customizations which you have listed. That will tell you what exactly any particular personalization is doing.
    --Shiv                                                                                                                                                                                                                                                                                                       

  • Report personalization issue..

    Hi Experts,
    We have published our few reports which are orignially created in Query designer in our BW portal using the WAD iviews. We have a issue that when we choose "Personalize Web application"  for a report then same reports opens up every time even if we choose to open different report.
    Can any one please suggest why it is happening!
    Thanks
    VV

    Please see below link if you need to remove the personilsation:
    Page not displaying iviews
    It works on the same priciple as your issue.
    Thanks,
    Em

  • Problem in customizations after Issue Output of a Billing Document (VF02)

    Dear Friends,
    I am facing some problem while I do repeat output of a Billing Transaction. (VF02->GoTo->Header->Output). There are some customizations done in our system that whenever an Output is processed in our system, an xml file should be created and placed on application server (Which would then be printed in some Legacy system).
    The custmizations for this has been done SPRO -> Sales and Distribution -> Billing Documents -> Invoice Lists ->Maintain Output for Invoice Lists -> Output Type.
    Now my problem is that XML file creation program works in the Dialog mode and I am able to create the XML file and make an entry of this file in a Z table as per my program logic.
    But when the processing is automatically through some files coming from application server, some of the files are missed. I want to figure out under which conditions my program to create XML file fails.
    I tried debugging this program by puttinga hard coded break-point as well but the control does not stops there.
    Could any one please help me how can we debug the program in such scenario.
    Thanks a Lot for your kind help!!!
    Regards,
    Lalit Kabra

    There was some issue in the RFC setup of our system because of which when fies were processed in bulk, some of them were missed out. It was like connection issue. Hence I did not put the soln here as I could not get the answer of this problem by doing some thing in ABAP.
    Apologies for the same.
    Regds,
    Lalit

  • Personalization Issue in Task Summary Page

    My client is trying to add a new column in the Cost Details table in the Task Summary page (Under Project Performance Reporting in PJT) through personalization. They are on 11i.PA.RUP3 (Screen shot in the attachment).
    They have an extended VO which basically is based on the standard Oracle VO with few additional attributes. My client is able to add the column, view the data which was displayed but that newly added column does not appear in the list of available columns when they try to create a personalized view either by duplicating the seeded views like ITD and PTD or from the scratch.
    This works absolutely fine in R12, but in 11i, we are having this problem. Does any one can comment, if this is a bug in the product? or is there any patch already available for this?
    Many thanks,
    Devasish
    [[email protected]]
    Edited by: user11268976 on Aug 28, 2009 10:06 PM

    Ranjit,Thanks for your reply.
    I am also facing this same issue.
    I just want to know that if userA creates one view,Can userB see this view which is created by userA?
    Because in our case what happens when we click on Personalize button,we can see 5 views and all r not able to update.
    but when we got from Functional Administrator responsibility and search for this page and Click on User Seeded Views,we can see only 4 views and all are updatable.
    I just want to know how can we delete/update fifth view which is only we can see when we click on Personalize button?
    Regards
    Hitesh

  • OA - Personalization issue

    In IProcurement -> Shopping cart -> view cart
    We have done one form personalization on Item Description to make the read only to false. (Updatable)
    Issue is the item description is 240 character length filed. But after making the filed updatable we can see only about 30 characters at a time. (Need to scroll to see the entire text ).
    But this is not desirable . How can see the updatable filed in full length ? When it is read only I can read the text properly (It is coming full)
    Please help.
    Thanks,.

    Sorry if the question is very basicNot a problem my friend.
    The approach which I mentioned above is using personalization only. Anyway bit detailed explanation:
    1. keep renderd property to true of the Description item
    2. create new message text input item using personalization with same prompt, view instance and view attribute as of the Description item
    3. For new item keep maximum length 240
    4. For new item keep hieght and width values as required(i.e. to make it look good in the page) e.g. hieght - 4, width -10
    Let us know if you need any furthur clarifications.
    -Anand

  • Personalization to hide tabs on Asg section of Combined Per&Asg form

    Hi
    I have a requirement to hide several tabs on both the person form and the asg form of the Combined Per&Asg form in Oracle.
    I am doing the same functionality for both - basically finding the tab and setting 'Displayed' to 'FALSE'.
    For any tabs on the Person screen, this is working perfectly, however the personalizations are not taking effect in the Asg screen.
    When I go into the Asg screen the tabs are still there as if the personalization hasn't fired.
    If I then go into the personalization and click 'Apply' it hides the tab but obviously I can't have the users doing this.
    Any ideas?
    Thanks
    Martin

    Hi Martin,
    May be the event that you select is really not firing.
    Select HELP >> DIAGNOSTICS >> CUSTOM CODE >> SHOW CUSTOM EVENTS
    this will show up the events that will fire with each action you take
    use the one that fire in the moment you want to be the personalization event.
    Regards
    Hazem

  • Hide/Show Subtabs in PPR/SPEL

    Hi All,
    Have one page with subtablayout with six tabs. Based on value selected in picklist in another region of page, have to hide/show few tabs.
    As it is picklist, requirement is to implement this thru PPR only.
    Tried setting SPEL attribute for render property for regions under subtab but it is not working.
    Any suggestion/approach to implement it?
    Thanks,
    Chetan

    Hi,
    The SPEL can only be use with a VO and its attribute. The usage for this is ${oa.VO.VOattribute) set in rendered property. if you want to hide a tab based on a vo attribute then you can use SPEL. You can hide the tabs by capturing the post back event of the other beans in processFormRequest.
    Amar.
    Edited by: Amarnath Reddy on Nov 19, 2008 5:25 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Forms Personalization Issues / Urgent help

    Hello Oracle Gurus,
    I have an issue while customizing the Customer Standard Form in Oracle Applications using Forms Personalization.
    Issue descritption:
    1) In Customer Standard Form (ARXCUDCI), at Bill-to Site level i need to disable the buttons NEW and OPEN for a custom responsibility.
    I have written code in Trigger Event "WHEN-NEW-FORM-INSTANCE" and in actions i mentioned as
    1. Property - Object Type as Item
    Target Object as CTRL.ADDR_SU_NEW
    Property Name as Enabled
    Value as False
    2. Property - Object Type as Item
    Target Object as CTRL.ADDR_SU_OPEN
    Property Name as Enabled
    Value as False
    When i check, it is working for the NEW button (i.e. NEW button getting disabled) but the same is not working for OPEN button.
    Am i missing any thing else.........Any suggestions are highly appreciated.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    I would guess that the problem with the Open button is that there is existing standard code within the form that runs after the WHEN-NEW-FORMS-INSTANCE trigger that enables/disables the Open button based on some other condition.
    Apart from opening up the form in Forms Builder and working through the code to work out what standard code is doing this (which can be an extremely painful process), I would suggest that you try moving your personalisation to a later event, such as WHEN-NEW-BLOCK-INSTANCE.

  • Personalization Issue

    Hii Experts,
    I am facing some issue related with the form personalization, i dont want user to cancel the invoice from the action button, and along with that he should also get the message, that " You are not authorised user to cancel the invoice"
    How to do that pls help me.
    Thanks
    Atul

    Have you gone through the forms personalization docs?
    Information About the Oracle Applications Form Personalization Feature in 11i (Doc ID 279034.1)
    How To Do Forms Personalization (Doc ID 468657.1)
    Form Personalizations in Oracle E-Business Suite (Release 12) (Doc ID 395117.1)
    Form Personalization in OPM forms. (Doc ID 797823.1)
    Limitations of Forms Personalization (Doc ID 420518.1)
    What is the issue you have? And, what is the application release?
    Thanks,
    Hussein

  • Bookmarks bar is blank until I customize or show/hide another toolbar

    Using Firefox 12 on our Windows 2008 Terminal Server (32 bit) its bookmarks bar is blank after each Firefox start. When I open the customize dialog in Firefox and close it (even without changes) or when I e. g. hide or show an other toolbar the bookmarks are shown as expected.
    I tried a clean install of Firefox (no addons, no customizations, new user profile) but that did not change the behaviour of Firefox. The bookmarks are not shown in the bookmarks bar after Firefox is (re-) started. Any of the suggestions I found so far (deactivating/updating All-In-One-Sidebar, using safe mode) did not work.
    Firefox 10 behaves as expected, using a new user profile or the one which had been used with Firefox 12 before. I have a Firefox 12 installation on local machines (Windows XP and Windows 7, 32 bit and 64 bit) which also works correctly.

    Well, the background first.
    We use Firefox as our default browser, having some policies in a "global" config file in the program folder as well as some "global" extensions centralized in a special folder. There are two main reasons for that:
    * All users should have a default installation whereever they log on without worrying about configuration and extension installing even if they log on fort the first time.
    * Firefox itself, the configuration including default profile and the extensions are centrally distributed independent from each other. Thus we can update the extensions or change configuration without touching the user profiles etc. using a software distribution system.
    The default installation includes proxy configruation, default settings for extensions, home page, cache etc. Some configuration shall not be changed by the user, others may be changed temporarilly, others depend on the type of machine the user is using. The same way we use Firefox on our Terminal Server which is used by our colleages that are out on business.
    However, on our TS there is a link to Firefox in the "all users" desktop folder so that everyone has the link on his or her desktop. And I have to mention that it is a german Windows 2008 TS. This is important to know, because the link points to "c:\programme\firefox\firefox.exe". Using this link I get the phenomenon described earlier. What I worked out by chance was that if I start Firefox using a link pointing to "c:\program files\firefox\firefox.exe" everything works fine, no problem at all.
    This is repeatable and double checked by a colleague :-) and the solution is to change the link although I don not know the reason why this happens (it did not happen with Firefox 3.6.x which we used before on the TS).
    Regards

  • Personalization Issue in Webui

    Hi Experts,
    Previously I had posted a thread  Error in Quotations (Posted on 28th Dec 2010).
    Quotation details(Overview page for Quotations) of 2 specific Quotations could not be viewed in Webui using  one login-user id.
    But it can be viewed by another user.
    Eventually, this problem was solved by executing the report  BSP_DLC_DELETE_PERSONALIZATION .
    Obviously, this report  will delete all the Personalization data , which can be reset to default by the user manually.
    Now, another issue arises. That is, as soon as any personalization is done the problem is back ( Quotation details could not be viewed for the 2 Quotations ) unfortunately !
    Could anyone propose a solution for this problem?
    It will be very useful, if you give your valuable Suggestions. Thanks in Advance:)
    Regards
    Karthikeyan

    Hi Shobhit,
    First of All, Thanks very much for your valuable suggestions : )
    But, now the problem is only with a field Creation type of Assignment block Items in the Overview page of Quotations.
    Eventhough when the Field Creation type in AB Items is moved from Available Columns to Displayed Columns through "Personalization" and Saved, it is not being displayed.
    When we go back to Result List and click on Quotation Id(Hyperlink), Overview page  is not being displayed.
    For more Information regarding this Thread, Please go to the Thread Personalization Error in Quotations (Posted by Karthikeyan on 3rd Jan 2011).
    Please let me know, if you have any findings.
    Thanks in Advance
    Regards
    Karthikeyan

Maybe you are looking for

  • Can i transfer my itunes library to a mac from a PC without burning cds

    i have an iphone, and will be getting a mac soon....is there any way that i can get all my songs onto the mac

  • Missing billing documents

    Hi, While creating billing documents, we faced a peculiar problem that the numbers are missing. We missed some numbers in order. Can you please help in finding out the reason? There is no buffer maintained in the number range also. Please provide som

  • Bulck collect update data just hangs.

    Any one see any problem with below anonymous block? Can any one direct me to optimize this code. Scenario have to update about 40 million rows to static value, I'm committing 1Million rows in one loop. The first 1 millions rows are getting updated ve

  • How to Activate the Assortment to a particular Sales organization in CO-PA

    Hi All, My requirement is activate the assortment to CO-PA document to a particular sales organization. Where I have to write the code to activate the assortment. Thanks in Advance Jaya.G

  • Screen flashes unexplicably.

    Does anyone know why my screen occassionally starts to flash for no apparent reason. Usually it stops within a few minutes, but I am curious so I can address any issues. Any help would be appreciated! I have a MacBook 13", 2006 model, 1st generation.