Component interface user built programmatically is not refreshed in the region

Jdev 11.1.2.2.0

I have a page jspx with area (fragment of a page in the workflow) incorporated.

Region setting:

R: ifNeeded

Activation: deferred

Jspx homepage code snipplet:

...

< af:chooseDate id = "theChooser" / >

< af:inputDate chooseId = 'theChooser' id = 'choosenDate '.

autoSubmit = "true" visible = "false".

value = "#{session_calendars.activeDay} '"

valueChangeListener="#{viewScope.backing_capacityCalendar.goDate}"/ >

< af:panelStretchLayout id = "psl3" partialTriggers = "choosenDate theChooser" >

< f: facet = 'bottom' name / >

< f: facet name = "center" >

< af:region value = "#{bindings.cmCaltaskflow1.regionModel}" id = "r1" / > "

< / f: facet >

< f: facet = 'Start' name / >

< f: facet = 'end' name / >

< f: facet = 'top' name / >

< / af:panelStretchLayout >

...

Code snipplet of the page fragment (jsff) / region:

...

< af:panelGroupLayout layout = "scroll" binding = "#{pageFlowScope.backing_cmCalBean.cmCalPanelGroupLayout} '"

ID = "pgl37" partialTriggers = "cil3 cil4 cil2 cil1" >

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

< / af:panelGroupLayout >

< af:outputText value = "#{pageFlowScope.backing_cmCalBean.activeDay}" id = "ot4" / > "

"< af:commandToolbarButton icon="/images/nextitem_ena.png ".

shortDesc = "next day".

ID = "cil2".

actionListener = "#{pageFlowScope.backing_cmCalBean.changeDate}" >

< af:setActionListener from = '1 '.

to = "#{requestScope.Number}" / >

< af:setActionListener from = 'DAY '.

to = "#{requestScope.type}" / >

< / af:commandToolbarButton >

When you select date in chooseDate in the homepage, he got passed as an input to the flow of the area/task parameter, and the region is updated.  I can see in < af:outputText value = "#{pageFlowScope.backing_cmCalBean.activeDay}" id = "ot4" / > in the region that it accepts the parameter correctly from the home page and in the region got refreshed. "

However, there is a panelGroupLayout in the region which is built programmatically in the bean based on the input parameter

< af:panelGroupLayout layout = "scroll" binding = "#{pageFlowScope.backing_cmCalBean.cmCalPanelGroupLayout} '"

ID = "pgl37" partialTriggers = "cil3 cil4 cil2 cil1" >

I can see in the paper that the methods in the bean got called correctly and that is the construction of the panelGroupLayout with the right data.  But she has not updated and reflects the new data in panelGroupLayout.

I have even in my bean code: delete children panelGroupLayout before strengthening again on the update.

If (cmCalPanelGroupLayout! = null) {}
LOGGER.info ("claire cmCalPanelGroupLayout");
cmCalPanelGroupLayout.getChildren () .clear ();
}

Any ideas how component user interface built by program in the region can get updated then the outbreak of the homepage?

Please notify.

Thank you

-Mina

I found the solution.

You will need to disable the children in the region, a single layer, instead of just compensation to the children of cmCalPanelGroupLayout:

Region of RichRegion (RichRegion) = JSFUtils.findComponentInRoot ("r1");

region.getChildren () .clear ();

AdfFacesContext.getCurrentInstance () .addPartialTarget (region);

-Mina

Tags: Java

Similar Questions

  • Impossible to download creative cloud, says its not available in the region

    I tried to buy the creative Cloud 9.99 per month and it is said that it is not available in the region

    Contact the Support from Adobe directly and ask them what region it is.

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • Component interface user can be linked to multiple Beans? 11.1.2.3 Jdev

    Hello:

    An interface component user can cause links component to multiple beans? If so, how?

    Example:

    I have a component of existing (af:outputText) that already has a binding component to a bean existing UI.

    Bean another I need a handle for this same component so I can refresh it with adfFacesContext.addPartialTarget)


    If I bind this component of the second bean, I think it would be to cancel the binding of the first bean.

    A component can be exposed to two different grits?

    Thank you very much.

    No, you can't do this and you should not do this. However, you can either search the component view using findComponentById (http://adfcodebits.blogspot.ch/2011/12/bit-32-locating-component-on-client.html) or do you get the other beans and ask the other bean to get you the part.
    To access the other bean, you can use

      /**
       * Method for taking a reference to a JSF binding expression and returning
       * the matching object (or creating it).
       * @param expression EL expression
       * @return Managed object
       */
      public static Object resolveExpression(String expression)
      {
        FacesContext facesContext = getFacesContext();
        Application app = facesContext.getApplication();
        ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = facesContext.getELContext();
        ValueExpression valueExp =
          elFactory.createValueExpression(elContext, expression, Object.class);
        return valueExp.getValue(elContext);
      }
    

    and pass the EL as "#{xxxxyyybean}" as parameter, where xxxyyybean is your component is bound. You may need to add the bean is in the scope.

    Timo

  • Lack of Snipping tool in the interface user of Windows 8 (NOT THE DESKTOP), but in any Windows Apps Store

    Is there any tool to capture in the user of Windows 8 interface?
    The only way I figured out was to use the PRINT SCREEN

    If none of these tools, it is a very big lack not being able to take just one part of a screen in the user of Windows 8 interface

    Windows 8 Pro (MSDN)

    I know where it is that I use daily and very often.  It does everything not in the user of Windows 8 interface
    On the desktop, there is no problem with him, but as soon as you go into the user interface of Windows 8 it is a similar tool when we are in the interface user of Windows 8 (Windows Store apps) so there's no way to use it?

    Hello

    Workaround for this would be to create a screenshot in the App Store, load the screenshot in Paint and and crop the image of what you want.

    There is a new keyboard shortcut in Windows 8 to create screenshots.

    1. press Windows + PRTSCN key. This will create a screenshot and automatically put my Pictures\Screenshots in your folder.

    2. open the screenshot in Paint and use the Select + tools to harvest.

    Concerning

  • Classic report region is not refreshing using the DA

    Apex 4.2.2 on Oracle 11.2 use EPG in Linux

    I have a Camembert and I want user to click on a section and refresh a report classic region under the graph on the same page.  I've used various methods to try to get this working, but none succeeded.  Here's what I have right now - when a pie is clicked, a value is returned to a text P19_STATUS field in the region of report using javascript in a DA:

    AnyChart.getChartById ($("#chart2_chart_object").attr ("id"))

    .addEventListener ("pointClick", Function {}

    $s ("P19_STATUS", e.data.Name);

    });

    It works fine as I can see the value that corresponds to the label in the chart.  I created a second DA with an event of amendment to article P19_STATUS. There is a REAL action - Refresh.  Selection type:, Region: classic report (40).  I put also enable partial Page Refresh Yes on the classic report and the elements on the Page to be sent to: P19_STATUS.  When the user clicks on the cake the value is in P19_STATUS, but the report is not updated.  FYI, I also tried $('#report_region_id') .trigger ("apexrefresh");  in the second DA but which doesn't work anymore.  I want only the region refresh, not the page.  Please help - I'm fairly new to Apex, so please be as detailed as possible.  Thank you!

    Nicolette wrote:

    User12037683

    The missing part was that the report is a subregion of the chart area.

    Under regions have their own model of the region. Instead the use of models from the parent area area unit.

    Models of the region can be specified for the sub regions as all other regions. In this case it seems to be a problem with the sub-region model as it appears in the list of model as 48560037058667637086selection.

  • Interface 1130ag WLAN AP will not come to the top?

    Hi all

    For the first time, I installed a 1130ag and I can't bring up the interface without wire/radio?

    I have connected it via http at the moment and have tried to activate the radio via the GUI, but it does not come to the top? (This is normally upward in this way with the year 1200)

    Can anyone suggest anything?

    Thank you very much

    Nathan.

    UK.

    Have you defined a SSID? If you have not the radio will not come to the top.

  • Built in webcam not found on the computer.

    Hi, back for a while that I had to have it replaced my computer screen. After that it has been replaced, my webcam not working not. He said that there is no webcam. Before that the screen had to be replaced, it works beautifully. What could be the problem and how to fix this? Thank you for your help.

    Hi Randalynf,

    Please answer a few questions to refine the question.

    1. What is the brand and model of the computer?

    2. When you say "screen is replaced", hear you screen has replaced for a new one? What was the exact problem with the monitor?

    3. what happens when you try to access with the Webcam software that came with the computer?

    This problem normally occurs when there is no problem with the driver for the Webcam device software.

    I suggest you follow the steps below to see if that helps.

    Method 1:

    Step 1: Find material webcam

    Take a quick moment to visually inspect the top of the screen of your computer. Look closely, you should see a small lens at the top in the Center, if your computer is equipped with a webcam. Some models do not come with a webcam and the area where the webcam would normally be resident is replaced by a small plastic cap.
    Often, there are small holes near the top center of your screen. These holes are for the microphone or other sensors and do not contain any webcam.
    • If your computer lacks a built-in webcam, you must use an external USB webcam.
    • If your computer is equipped with a built-in webcam and you can't use it, go to step 2

    Step 2: Find and use the Webcam software that came with your computer

    Try to access the webcam that is preinstalled on your computer.

    If you can't find and open the webcam for your computer software, then go to the next step.
    If you have found the software of the webcam and it opens and you see a picture, then finished. Your webcam works.
    If you found webcam software and it opens, but you can't see the video in the main display window, restart the computer and try again.
    If the problem persists, use the troubleshooting section "video does not appear in the webcam software.
    Method 2:

    If you are able to find the Webcam on your screen and you cannot view the video using the software installed, you may need to update the Webcam drivers for more later.
    Read the sections "If you have problems with your webcam' in the article and check the results.»

    Hope this information helps. Response with status so that we can help you.

  • 12 c: ORA-65049: creating local user or role is not permitted in the CBD$ ROOT

    Last night, I installed Oracle 12 c on OEL 6.4. See Oracle Spatial installation and graph 12 c on OEL 6.4 .

    Today, I tried to create a test user following a syntax which worked for 11g but I got a permission error.

    $ sqlplus sys as sysdba

    SQL * more: Production of the version 12.1.0.1.0 Wed Jun 26 07:08:11 2013

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Enter the password:

    Connected to:

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    SQL > GIVING DBA, CONNECT, RESOURCE to STEVE IDENTIFIED BY dbl-secret-pwd;

    GRANT DBA, CONNECT, RESOURCE to STEVE IDENTIFIED BY dbl-secret-pwd

    *

    ERROR on line 1:

    ORA-65049: creating local user or role is not permitted in CBD$ ROOT

    Any ideas why I get this error in 12 c?

    Hello

    Its new, so I think that you must first create the PDB (plugable DB), then you can create user as part of the PDB not covered by the CBD (DB container),

  • Web site service Canada at the request of birth certificate access advised to download adobe reader. Which I finished but now has informed that I must accept the end user license which was not part of the load down. LOA tried to re down load but already a

    My apologies, this is my first attempt to ask for help.

    In trying to gain access to the application for a certificate of birth on the site Web of Service Canada, they advised me to download adobe reader, I finished. However, recommended site then I had to start reader & accept end user license. It was not part of the download, appears I missed this step. Impossible to find where to accept them & when I tried to re download advised already loaded.

    Please tell us how to complete the acceptance of license, if I can use the product. Thank you.

    Did you launch Adobe Reader?

  • Recon OIM11gR2 DBAT user - value custom UDF not visible in the user detail page

    Hello

    I configured the DBAT for OIM11gR2 connector for recon user.
    Have created and mapped some UDF custom in the terms and Conditions.
    User is created successfully in the IMO and has all values correctly in the table to the USR for all custom UDFs.
    But when I search a user to IOM, I don't see the value of the UDF custom, even if it is in the database.

    I've created and activated a sandbox sand and also added the UDF custom in the user Details page using the creation of ADF option.
    Is there something that I am missing related to the display of the custom attribute and its value to the user details page.
    Please suggest.

    Concerning

    Yes, your UDF should be available under manage users-> UserVo1. It works very well with our CA. make sure you have the latest version of the R2 version, because the beta version had a problem for the same. You can create aonther UDF and try to gain.
    same thing with below check doc
    http://docs.Oracle.com/CD/E27559_01/doc.1112/e28183/oim_up.htm#BABEGECJ

  • Trade rules do not appear in the Regional service console

    Guru HI

    We use the Application confort Hyperion Planning 11.1.2.2.

    We have created business rules for our planning application using Calc Manager and they work very well.

    But my doubt is that calculations do appear in the essbase.

    WT could be the reason for this... Please suggest.

    Thank you.

    Hello

    The Regional service console will show you only the calculation scripts, not the rules for calculation of the Manager. This is a technical limitation.

    Prior to version 11.1.2.3, we also had business rules. These were available in the Regional service console. Then, you had a section in the view of the company next to Administration, servers Essbase called Business Rules. I usually call them Hyperion Business rules (HBR) because users easily get confused with all the scripts and rules.

    In planning, you can see the calculation scripts and rules for calculation of the Manager.

    I hope that clarifies the situation and will help you.

    Kind regards

    Philip Hulsebosch

  • Not available in the region - what can I do?

    I am trying to download Illustrator on my pc, but it's not available in our area. I live in Mauritius. I have changed the region in "The Nederlands", but still I cannot download this program. Is there a way around this so I can buy and install this?

    Hello

    In Mauritius, we have creative cloud for the teams available.

    The country store & the Adobe ID, payment details must be same.

    For tax reasons, it is not possible to change the country associated with an existing Adobe ID. To work around the problem, you can create a new Adobe ID to the e-mail address associated with your existing Adobe ID see the link for instructions:

    Change the country associated with your Adobe ID

    If you wish to contact our support group for assistance, please visit this link: (be sure to connect to adobe.com with your Adobe ID first)

    CC_membership-account-payment-support

    To see plans: plans pricing and membershipcreative cloud | Adobe Creative Cloud

  • Facing problem while in place emphasis on the pop-up component interface user

    Hello team,

    Jdev - 12.1.2.0.0

    I am facing problem while emphasizing one of the UI element (af:inputtText) of pop - up to

    Scenario-

    I have a jsff page.

    On the page, I have a button and a pop up

    When you click the button, pop up comes with 10 text entry box. By default, his shows on the first field accent, but I want it to be on the second text box.

    I already have a client component to TRUE for the two input as well as pop-up text

    Please suggest me any hint/help

    Code: -.

    < af:inputText label = "#{ctapmainBundle.Accountno}" id = "pt_it2" "

    partialTriggers = "b11".

    value = "#{pageFlowScope.bannerFlowManager.Criteria.AccountNumber} '"

    autoSubmit = 'true '.

    Validator = "#{backingBeanScope.bannerFlowBean.validateAccountNumber} '"

    Binding = "#{backingBeanScope.bannerFlowBean.AccountNumber} '"

    clientComponent = "true" >

    < af:clientListener type = "keyUp" method = "enterKeyEvent" / >

    < / af:inputText >

    function setFocusOnAccount (event) {}

    Alert ('Hi');

    var component = event.getSource ();

    Alert (' component name ' + component);

    var characterCounter = component.getParent () .findComponent ('pt_it2');

    Alert ('characterCounter with Parent' + characterCounter);

    var characterCounterId = characterCounter.getClientId ();

    Alert ("text entry id ' + characterCounterId");

    characterCounterId.focus ();

    }

    Thank you

    Céline

    Hi guys,.

    I found the solution,

    I changed my customer contact on af:pop - up to earlier that I was calling from button makes part of the same page and he called client listener first and then pop up.

    If my goal is not to set to pop - up field.

    So now I'm able to get the focus on the pop-up field.

    Here's the code.

    function setFocusOnAccount(event) {}

    Alert ('Hi');

    var component = event.getSource ();

    Alert (' component name ' + component);

    var characterCounter = component.getParent () .findComponent ('pt_it2');

    Alert ('characterCounter with Parent' + characterCounter);

    characterCounter.focus ();

    }

    contentDelivery = "lazyUncached".

    popupFetchListener = "#{backingBeanScope.bannerFlowBean.searchPopupClearFields} '"

    popupCanceledListener = "#{backingBeanScope.bannerFlowBean.resetPopUpFields}" > "

     

    Thanks Dario, Ashish and Arun who helped me.

  • Component interface user seems strange.

    All 'UIComponent' is added to the first element comes in shape.

    Hello

    We are aware of this issue and study it internally. I'll let you know as soon as there is an update on the fix.

    Thank you!

    Mohan

  • Table not refreshing after the cancellation of the changes.

    Dear friends Jdev.

    We head to the last stages of the migration of our desktop application for the web app adf based and serious problems come lately.

    We use arrays of the ADF to alter data in the form of bulk... When we made changes in the editable fields and the user cancels them ADF operating tables are not updated. I mean the changed data of the iterator are indicated in the tables and the original data are displayed when I click on the next record in the table or reload the page.

    I'm pasting my code.

    {} public void onCancelListener (ActionEvent actionEvent)

    setDmlMode (null);

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding pmIter = bindings.findIteratorBinding("AgeingParamsIterator");

    pmIter.getCurrentRow (.refresh (Row.REFRESH_UNDO_CHANGES));

    pmIter.executeQuery ();

    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance ();

    adfctx.addPartialTarget (tblAgeing);

    adfctx.addPartialTarget (socModule);

    }

    my table is 'tblAgeing' and the component inside the table, I'm editing is "socModule".

    for the iterator, I set CacheResult to false.

    I wonder even after execution of the iterator again why the data is not updated?

    Ashraf

    Have you tried tag?

Maybe you are looking for