button disabled ADF or rendered false on the duration

Scenario is,

I want to disable or enable and render or ADF button invisible, I btnsave.setDisabled (true) of use; and setrender() etc. funtions, but do not work. My buttons are related to my Java bean

You must refresh button after changing its properties (e.g. disabled, visible, made).

In java code, you can update the button as

RequestContext.getCurrentInstance().addPartialTarget(buttonComponent);

your code should be something like this:

btnsave.setVisible(false);
//btnsave.setDisabled(true);
//btnsave.setRendered(false);

RequestContext.getCurrentInstance().addPartialTarget(btnsave);

Tags: Java

Similar Questions

  • I have two problems: 1) a theme that does not change the look of my Firefox at all 2) there is no button 'disable' for my themes only 'delete '. Help, please!

    Okay, so my problems are...
    (1) I downloaded a theme for the first time and when I did, it worked perfectly fine. After updating, I download the theme again and it helped, but the theme will not change the look of my browser. When I tried one of the relevant articles, I cleared my cookies and cache and downloaded the theme (A Blue Fox), installed and turned on, and it worked perfectly fine! I tried to upload another (Pink Fox), one installed and activated, but it did not work. Instead, he returned to the default theme. So I tried to clear my cache and cookies again and repeat the process, but now after downloading, it says "error".... "I don't know if it says"Error Downloading"or"installation error ". Now, I tried to download it again after turning off my computer and turn it back on again, but (today), the two has not applied to my browser. They both had the same look... by default! Please tell me what is the problem!
    (2) in my "Add-ons Manager" page, on the appearance tab, there is no button disable for my modules. Only the "delete" button is present.

    Please help me!

    NOTE: I already tried to reset Firefox, but it does not solve my problem.

    You do not disable a theme, but you choose another theme if you want to change the theme.

    Remove button is for when you no longer want this theme.

    You must select a theme and then close and restart Firefox, if you want to use this theme.

    If this does not work, then you may have a problem with the prefs or something interferes.

    If you don't keep changes after a reboot then see:

  • Configure button disabled on the playback device, manage audio devices. How can I reactivate the button Configure?

    Hi, following an automatic update of Windows Vista 64-bit I have no sound. Thank you for that.   I had a similar problem before, the sound quality has been reduced to a rate lower than 16 bit 44.1 k.  I've changed this before clicking on the button configure on the playback device, manage audio devices.  But now, this button is disabled and I can't check the set up or make changes.  I am logged in as an administrator user, how to re - activate the button set up?

    Thank you

    Darren

    Hello, I have stopped the Windows Audio Service and rebooted a couple of times.  Now I have his back.

    Thank you

  • Previous/next buttons in Windows 7 Media Player 12 disabled when there are videos in the playlist

    original title: Windows 7 Media Player 12 previous/next buttons disabled when there are videos in playlist works well with music files

    I have 3 computers to windows 7 that all exhibit this same problem.

    I have playlists since older versions of media center and when I play a video playlist with the previous buttons and next player will be disabled. If the playlist has audio files it next and previous buttons work fine.

    It has always worked in other versions I know that it is a feature I use all the time so I would have noticed

    Hi keith278,

    You can use Windows Media Center to play your videos.
    1. Click Start
    2. In the Search box , type Media Center
    3. Click on Media Center
    4. Select the photos + videos (you should see the library of images, Favorites, play and video library)
    5. Select the video library
    6. Cross the guests to add your video to this library folders
    7. Double-click the video file you want to play
    8. You should see the possibility of play all the
    Let us know if that helps.
  • Disable the button new add tab CSS specifications of the trade while displaying the Notification number GTIN message duplicate

    Hi Ron,

    I need to disable the Add button again in the CSS tab on specification of the trade while displaying the Notification number GTIN message duplicate.

    If it does not duplicate notification displayed GTIN message not necessary to disable the Add button again in the CSS tab. Please see the screen shot for more information.

    You said same thing as below mentioned in bold.

    2. you can lock whole sectors, such as the CSS section, you use an extension called SectionLevelEditing. You can read about it in the Guide of extensibility, which will guide you to a more detailed document.

    If you are wanting to keep lock editable, but section towards the bottom/remove the button Add a new one just so you can use the UIe feature Extensions, also documented in the extensibility Guide.

    As suggested, I had crossed the SectionLevelEditing document. but I don't get anything in the document.

    Even my requirement is condition based on the button Add a new on the CSS tab.

    I tried another way

    (1) I got to add new button id with developer tools (ctl01_CtlInitialPublication1_ctlCollapsibleContentContainer_ctl00_btnAddNew)

    (2) what properties should be used by pulling the new id button.

    I am faced with the question. Please let me know some suggestions.

    Thank you

    Floquet

    In the JavaScript code, could you try to filter by some special keywords in your notification of duplicate instead of code GTIN number # .writing C NET.

    In user interface Extensions, it has only allowed to extend the JavaScript code.

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • ADF: commandButton does not reach the target method

    Hi all

    This is my first post here, I hope you can help me, I'm new in the ADF, and now I am facing a problem, let me explain:

    11.1.1.55.36 ADF business components
    jDeveloper 11g Release 1 11.1.1.2.0

    In the application, I have a button that changes the attribute of "render" of a showDetailItem, this subject conatains some commandButons but when I click on these buttons the listener method is never triggered. I don't know what happened in this situation. Any idea is always welcome.

    Thanks in advance,
    Sergio Valdez

    Code:
    commandButton activation online: 58
    showDetailItem on line rendering: 125
    problem commandButtons to lines: 132 & 139
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
      <c:set var="viewcontrollerBundle"
             value="#{adfBundle['com.axtel.reporteador.MessageBundle']}"/>
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelStretchLayout topHeight="50px" id="psl1" bottomHeight="26px">
              <f:facet name="top">
                <af:panelGroupLayout layout="scroll"
                                     xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                     id="pgl2">
                  <af:inputText label="#{viewcontrollerBundle.NOMBRE_DE_ENCUESTA}" id="surveyName"
                                value="#{SurveyMB.surveyName}"/>
                  <af:panelGroupLayout id="pgl3">
                    <af:commandButton text="#{viewcontrollerBundle.CREATE_SURVEY}" id="surveyCreate"
                                      actionListener="#{SurveyMB.createSurveyListener}"/>
                    <af:commandButton text="#{viewcontrollerBundle.RESET_SURVEY}" id="surveyCancel"
                                      actionListener="#{SurveyMB.cancelSurveyListener}"/>
                    <af:commandButton text="#{viewcontrollerBundle.SURVEY_ADD_QUESTION}"
                                      id="addQuestion"
                                      actionListener="#{SurveyMB.addQuestionListener}"
                                      rendered="#{SurveyMB.surveyAlreadyCreated}"
                                      disabled="#{SurveyMB.questionAddEnable}"/>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="center">
                <!-- id="af_one_column_header_stretched"  -->
                <af:panelAccordion id="questionAccordionPanel" discloseNone="true"
                                   partialTriggers="addQuestion">
                  <af:forEach items="#{SurveyMB.survey.questions}" var="question"
                              varStatus="i">
                    <af:showDetailItem text="#{question.question}"
                                       id="questionDetailItem"
                                       disclosed="#{( SurveyMB.questionEditEnable) and (i.index eq SurveyMB.questionToBeEdited)}"
                                       disabled="#{(( SurveyMB.questionEditEnable) &amp;&amp; ( SurveyMB.questionToBeEdited ne i.index)) or SurveyMB.questionAddEnable}">
                      <f:facet name="toolbar">
                        <af:group id="g1">
                          <af:outputText value="outputText1" id="ot1"/>
                          <af:commandButton text="#{viewcontrollerBundle.SURVEY_ANSWER_DELETE}"
                                            id="questionDelete"
                                            actionListener="#{SurveyMB.deleteQuestionListener}">
                            <af:clientAttribute name="questionIndex"
                                                value="#{i.index}"/>
                          </af:commandButton>
                          <af:commandButton text="#{viewcontrollerBundle.SURVEY_QUESTION_EDIT}"
                                            id="questionEdit"
                                            actionListener="#{SurveyMB.editQuestionListener}">
                            <af:clientAttribute name="questionIndex"
                                                value="#{i.index}"/>
                          </af:commandButton>
                          <af:commandButton text="#{viewcontrollerBundle.SURVEY_ADD_ANSWER}"
                                            id="questionAddAnswer"
                                            actionListener="#{SurveyMB.addAnswerListener}">
                            <af:clientAttribute name="questionIndex"
                                                value="#{i.index}"/>
                          </af:commandButton>
                        </af:group>
                      </f:facet>
                      <af:panelGroupLayout id="pgl5">
                        <af:panelGroupLayout id="questionEditPanel"
                                             rendered="#{SurveyMB.questionEditEnable}">
                          <af:selectOneChoice label="#{viewcontrollerBundle.SURVEY_QUESTION_TYPE}"
                                              id="questionTypeToEdit">
                            <af:selectItem label="Seleccion Multiple"
                                           value="checkbox" id="selectItem1"/>
                            <af:selectItem label="Seleccion simple"
                                           value="radiobutton" id="selectItem2"/>
                          </af:selectOneChoice>
                          <af:inputText label="#{viewcontrollerBundle.SURVEY_QUESTION}"
                                        id="questionToEdit" rows="2"/>
                          <af:commandButton text="#{viewcontrollerBundle.ADD}"
                                            id="questionEditOk"
                                            actionListener="#{SurveyMB.addQuestionOkListener}"/>
                          <af:commandButton text="#{viewcontrollerBundle.CANCEL}"
                                            id="questionEditCancel"
                                            actionListener="#{SurveyMB.addQuestionCancelListener}"/>
                        </af:panelGroupLayout>
                        <af:panelHeader text="Respuesta 1" id="answerHeader"
                                        size="3">
                          <f:facet name="menuBar">
                            <af:commandLink text="#{viewcontrollerBundle.EDITAR}"
                                            id="answerEdit"
                                            actionListener="#{SurveyMB.deleteAnswerListener}"
                                            disabled="#{requestScope.SurveyMB.editAnswerLinkEnable}"/>
                          </f:facet>
                          <f:facet name="toolbar">
                            <af:commandLink text="#{viewcontrollerBundle.ELIMINAR}"
                                            id="answerDelete"
                                            actionListener="#{SurveyMB.editAnswerListener}"
                                            disabled="#{requestScope.SurveyMB.deleteAnswerLinkEnable}"/>
                          </f:facet>
                          <af:panelGroupLayout id="answerEditPanel"
                                               rendered="#{SurveyMB.answerEditEnable}">
                            <af:inputText label="Label 3" id="answerToEdit"/>
                            <af:commandButton text="#{viewcontrollerBundle.OK}"
                                              id="answerEditOk"/>
                            <af:commandButton text="#{viewcontrollerBundle.CANCEL}"
                                              id="answerEditCancel"/>
                          </af:panelGroupLayout>
                        </af:panelHeader>
                        <af:panelHeader text="#{viewcontrollerBundle.SURVEY_ADD_ANSWER}"
                                        id="panelHeader2" size="3"
                                        rendered="#{SurveyMB.answerAddEnable}">
                          <f:facet name="menuBar"/>
                          <af:panelGroupLayout id="panelGroupLayout1">
                            <af:inputText label="Label 3" id="answerToAdd"/>
                            <af:commandButton text="#{viewcontrollerBundle.OK}"
                                              id="answerAddOk"
                                              actionListener="#{SurveyMB.addAnswerOkListener}"/>
                            <af:commandButton text="#{viewcontrollerBundle.CANCEL}"
                                              id="answerAddEdit"
                                              actionListener="#{SurveyMB.addAnswerCancelListener}"/>
                          </af:panelGroupLayout>
                        </af:panelHeader>
                      </af:panelGroupLayout>
                    </af:showDetailItem>
                  </af:forEach>
                  <af:showDetailItem text="#{viewcontrollerBundle.SURVEY_ADD_QUESTION}"
                                     id="showDetailItem1"
                                     disclosed="true"
                                     rendered="#{SurveyMB.questionAddEnable}"
                                     partialTriggers="addQuestion">
                    <f:facet name="toolbar">
                      <af:group id="group1">
                        <af:commandButton text="#{viewcontrollerBundle.OK}"
                                          id="questionAddOk"
                                          actionListener="#{SurveyMB.addQuestionOkListener}"
                                          immediate="true"
                                          binding="#{SurveyMB.addQuestionOkBinding}"
                                          action="#{SurveyMB.questionAddOkAction}"
                                          partialTriggers="addQuestion"/>
                        <af:commandButton text="#{viewcontrollerBundle.CANCEL}"
                                          id="questionAddCancel"
                                          actionListener="#{SurveyMB.addQuestionCancelListener}"
                                          partialTriggers="addQuestion"/>
                      </af:group>
                    </f:facet>
                    <af:panelGroupLayout id="panelGroupLayout2">
                      <af:panelGroupLayout id="pgl8"
                                           partialTriggers="addQuestion">
                        <af:selectOneChoice label="#{viewcontrollerBundle.SURVEY_QUESTION_TYPE}"
                                            id="questionTypeToAdd">
                          <af:selectItem label="Seleccion Multiple" value="checkbox"
                                         id="si2"/>
                          <af:selectItem label="Seleccion simple"
                                         value="radiobutton" id="si1"/>
                        </af:selectOneChoice>
                        <af:inputText label="#{viewcontrollerBundle.SURVEY_QUESTION}"
                                      id="questionToAdd" rows="2"/>
                      </af:panelGroupLayout>
                    </af:panelGroupLayout>
                  </af:showDetailItem>
                </af:panelAccordion>
              </f:facet>
              <f:facet name="bottom">
                <af:panelGroupLayout id="pgl1">
                  <af:commandButton text="#{viewcontrollerBundle.SURVEY_SAVE}" id="surveySave"
                                    action="#{SurveyMB.surveySaveAction}"/>
                  <af:commandButton text="#{viewcontrollerBundle.CANCEL}"
                                    id="cancelSurvey"
                                    action="#{SurveyMB.cancelSurveyAction}"/>
                </af:panelGroupLayout>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:preferred-managed-bean-name:SurveyMB-->
    </jsp:root>
    Published by: user2931026 on Apr / 10/2010 01:13

    Published by: user2931026 on Apr / 10/2010 09:01

    Sergio,
    good work, now I can read the code :-)
    Strange, nothing appears immediately.
    The buttons in the showDetailItem are the only ones who does not?
    One thing you can try is to use the visible property rather than the rendered attribute. The user interface looks the same, but the properties behave different (rendering = false means components are not on the page, visible = false means components are on the page but do not appear to the user).

    Timo

  • Firefox not rendering or display the graphics properly, tried everything?

    Firefox not rendering or display the graphics properly.
    When a page loads first, fine, but if you click on a few buttons, then the back button to return to the page of the image is cut in half, or lack of parts of it, on the page what happens, if I delete the page history and refresh, all goes well, once again, I also worked on a web page that does the same thing on the server or locally, I haven't tried any cache, refresh on the page load, ran Firefox in safe mode, my friend has Firefox also and he got the same results, Internet explore, no problem, no problem of Chrome, I need to solve this problem with Web page, I'm working on the side of the code so that everyone doesn't have this problem.

    Try disabling OMTC and leave hardware acceleration in active Firefox.

    You can try to disable hardware acceleration in Firefox.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    You will need to close and restart Firefox after enabling/disabling this setting.

    You can check if there is an update for your display driver graphic card and search for hardware acceleration of related issues.

  • ADF Image rendering problem.

    Hi all

    I use Jdev 11.1.1.6. I am facing a problem with image rendering. I have a picture on jspx page that contains the behavior of the popup. Inside the pop-up window, I have a search engine (custom search).

    Initially when the page goes for the first time. I can able to see the image, but when I perform a search operation, I'm unable to see the Image (picture).

    According to my observation.

    When the page is displayed for the first time, the URL of the image source is:

    http://www.xyz.com/workflow/Project1UI/faces/images/search-icon.jpg

    After searching the source image is modified to:

    http://www.xyz.com/workflow/Project1UI/faces/pagename/images/search-icon.jpg (name of the page is JSPX page name)

    Code:

    < af:image source = "images/search-icon. JPG"id ="i2">

    "" < af:showPopupBehavior popupId = ': p1 '.

    triggerType = "click on" / >

    < / af:image >

    < af:popup id = "p1" contentDelivery = "immediate".

    autoCancel = "disabled" childCreation = "deferred."

    Binding = "#{NPACreateProjectBean.POP1}" >

    < af:dialog id = "d3" type is 'none' styleClass is "AFStretchWidth" >

    < af:panelGroupLayout id = "pgl17" >

    < af:panelFormLayout id = "pfl10" >

    < af:inputText value = "#{bindings.cnFilter.inputValue} '"

    label = "#{Bindings.cnFilter.hints.label} '"

    required = "#{Bindings.cnFilter.hints.Mandatory} '"

    Columns = "#{Bindings.cnFilter.hints.DisplayWidth} '"

    maximumLength = "#{bindings.cnFilter.hints.precision} '"

    shortDesc = "#{bindings.cnFilter.hints.tooltip} '"

    ID = "it12.

    Binding = "#{NPACreateProjectBean.I1} '"

    rendered = "false" >

    < f: validator binding="#{bindings.cnFilter.validator}"/ >

    < / af:inputText >

    < af:commandButton

    Text = "SearchUsers.

    Disabled = "#{!}" bindings. SearchUsers.enabled}.

    ID = "cb1".

    actionListener = "#{NPACreateProjectBean.onSearch}" / >

    < / af:panelFormLayout >

    < / af:panelGroupLayout >

    < af:spacer width = "10" height = "10" id = "s14" / >

    < / af:dialog >

    < / af:popup >

    Concerning

    Ilhem

    Instead of

    You can try with

    Thank you

  • How to make the top sites page appears when I open a new tab? Why have I not of "buttons" to pin a top site of the page tab?

    When I open a new tab, NO best sites don't show up... shows just a search engine box. I have Firefox 33.0. Why is there no 'pin' button when I opened a new page? How to make the top sites page appears when I open a new tab?

    Here is some additional information on the configuration of the new tab page:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked. Fixed?

    Some traps:

    If Firefox will not let you change this setting: you can have what is called SearchProtect on your system.

    Firefox if allows you to save your changes, but he doesn't know: one of your extensions may be the substitution of her. You can consult, disable and/or remove extensions on the addons page:

    "3-bar" menu button (or tools) > Add-ons > in the left column click on Extensions

    If the modification works during your session, but during the next startup is leads to: you could have a user.js file in your personal settings Firefox (your Firefox profile folder). This article describes how to track down and delete the file: How to fix preferences that will not save.

    A little luck?

  • No button disable in don't plug ins display why?

    I have no buttons in the plug ins screen firefox 27other tha button to activate always, but even in this case when I click on that it doesn't do anything.
    I just installed quick time and that as all the available buttons, but no other plug in doesn't have any visible command button.
    What's past and how to fix it please?
    Also the flash payer decision-making shows 2 versions past and present, but I can not remove the old and screen displays, it has been disabled by Mozilla please updated but the update fails.
    Thank you.
    Assybish

    You must select 'never activate' in the drop-down list to disable a plugin.
    Only the extensions you have installed have a button Delete.

  • How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    This just started happening the last two days.  I tried to add the url to my list to activate in Internet Options, also to accept the list for windows firewall. I rebooted and restored.

    It is annoying when I can't access Web sites on my PC.  There is no control parenting, nor is it a reason to be since I'm 57 years old, single, live alone and have no children, and not to mention that this isn't a single adult site. This is an auction site.  The same thing happens on a site of sports too.

    Hello

    Thank you for writing to Microsoft Communities.

    I understand how it could be frustrating when things do not work as expected. Please, I beg you, don't worry I'll try my best to resolve the issue.

    1. what operating system is installed on the computer?

    2. what version of Internet Explore do you use?

    3 have there been recent changes to the computer before the show?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1: Start Internet explorer with the mode without modules and check.

    Click Start, all programs, accessories, System Tools, and click Internet Explorer (No Add-ons).

    If the problem does not persist in Internet Explorer (No Add-ons), then it is one of the Add-ons at the origin of this problem. Please follow the steps below to locate the problem the weak module:

    a. restart IE normally.

    b. click on tools.

    c. click on Manage Add-ons.

    d. disable add-ons by clicking on them one at a time to highlight and then click Disable.

    e. reactivate modules one by one and check with what add-on, you get this error message.

    f. turn off the add-on at the origin of the problem.

    For your reference: http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Add-ons-frequently-asked-questions

    (For Windows Vista)

    Method 2: How to optimize Internet Explorer:

    http://support.Microsoft.com/kb/936213/no

    Important: Reset Internet Explorer to its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    Follow these recommended steps and after if you still experience the problem.

  • Button style ADF Mobile

    Jdev 11.1.2.4.0

    It is a two requirements in a

    (1) change the color of a commandButton control and if possible to sharpen the corners of the button to be a bit rounded like the af: button in jdev 12 c

    Here is an example: http://m1.behance.net/rendition/modules/76162053/disp/b15d1907acb34f8638261a49b9f60097.png.

    (2) only show the CommandButton icon and NOT its bottom and edges like the icon of magnifying glass here: http://m1.behance.net/rendition/modules/76162055/disp/d7390790d69c8813ea9453887d7199cf.png

    Thank you!!!

    Hello

    you an af:commandLink add an af:image as a body. All the rendering button is now your designers

    Frank

  • PanelTabbed of the ADF. How to choose the default tab when the page loads

    Hi all
    I have a panelTabbed with three showDetailItem component, and I want the first showDetailItem to the tab by default whenever the page loads.
    Currently, the default tab, that's all that the tab that was last visited.

    I tried to disclosed attribute set to true on the first tab and false for the other, but it does not work.

    Thanks in advance.

    Published by: 947142 on July 18, 2012 11:03

    Have a method in the managed bean that is called when the page is loaded and set the tab disclosed.

    Here is a sample based on your use cases:

    PanelTabbed.jspx:



    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >












    PanelTabbedBean.java:

    import java.util.List;

    javax.faces.component.UIComponent import;
    Import javax.faces.event.PhaseEvent;

    Import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    Import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    Import oracle.adf.view.rich.context.AdfFacesContext;

    public class PanelTabbedBean {}
    Private RichPanelTabbed myPanelTab;

    public PanelTabbedBean() {}
    }

    {} public void setMyPanelTab (RichPanelTabbed myPanelTab)
    this.myPanelTab = myPanelTab;
    }

    public RichPanelTabbed getMyPanelTab() {}
    Return myPanelTab;
    }

    {} public void onPageLoad (PhaseEvent phaseEvent)
    If (phaseEvent.getPhaseId () .equals (phaseEvent.getPhaseId (). RENDER_RESPONSE)) {}
    If (!.) {AdfFacesContext.getCurrentInstance () .isPostback ())}
    If (this.myPanelTab! = null) {}
    List childUIComponent = this.myPanelTab.getChildren ();
    If (childUIComponent! = null & childUIComponent.size () > 0) {}
    for (int i = 0; i)< childuicomponent.size();="" i++)="">
    If (childUIComponent.get (i) instanceof RichShowDetailItem) {}
    If (i == 0) {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (true);
    } else {}
    ((RichShowDetailItem) childUIComponent.get (i)) .setDisclosed (false);
    }
    }
    }
    }
    }
    }
    }
    }
    }

    Thank you
    Nini

  • Problem with cancel button dialogue ADF

    Hello
    I am facing a problem with the dialogue ADF Cancel button. Is it possible to make the button "Cancel" immediately for dialogue? Currently, the Cancel button is not immediate for a dialogue (type: okcancel) and when the user clicks the Cancel button, validation messages are coming even if the dialog box is closed successfully. Any help is very appreciated.
    Thank you
    Rahul

    You can use a dialog box with only the OK button and put your own button cancel on the dialog box. This button, that you can assign immediately...

    Check "Using the buttons in custom dialog" to http://docs.oracle.com/cd/E17904_01/apirefs.1111/e12419/tagdoc/af_dialog.html

    Timo

Maybe you are looking for