Form refresh issue inside dynamic region

Hi
I have a problem with dynamic region. I have a menu on left side containing two buttons and dynamic region on right side. On clicking one of the button employee form open inside the dynamic region but I am unable to navigate between records by clicking form first , next , previous or last buttons.

I am new learner of Jdeveloper. I run this tutorial http://baigsorcl.blogspot.com/2010/06/working-with-dynamic-regions-in-oracle.html. I am able to learn about how to dynamically bind the taskflow id. When I click the form button on left side of menu Employee Form open in right side of splitter but its navigation button are not working.

Similar Messages

  • Query buttons not working inside dynamic regions

    Hi
    Using: Jdev 11.1.1.2.0
    I have created an index page with a menu whose menu items navigate to dynamic regions. On each of the jsff pages I have an ADF Query Panel with Table.
    Problem, none of the Query Panel's buttons seem to be working. Clicking on search does not refresh or populate the table. Also, clicking on Advance button does not bring up the advance search controls or change the Advance button's label to Basic. Looks as thought the page is not refreshing with the latest information / actions.
    If I do these in a normal page outside of dynamic regions then all works fine. Any ideas where to start searching for the problem?
    Regards,
    Mario

    Hi,
    if the region is dynamic, make sure that the managed bean you use to switch between the taskflows is in a scope longer than request: e.g. viewScope, pageFlowScope, sessionScope
    Frank

  • Issue with refresh of task flow in dynamic region

    Hi All,
    I am using Jdeveloper version 11.1.1.6. In my fusion application I am facing an issue with the task flow refresh in the dynamic region. In my application, I have one task flow in which the side navigation command links are there and on the right side it has a dynamic region which is used to display the respective task flows on click of navigation links. Now two of the links actually call the same task flow in dynamic region but for different purpose. One for creating a record and another one for modifying the record. The default activity of that task flow has a page fragment that has couple of fields. One a drop down and another one a text field for searching the accounts against which the record is to be created or modified. On click of the navigation link, I set the task flow id to be displayed and refresh the dynamic region. Now the issue is with those two links which shows the same task flow. Let's say  I searched for a record by putting some value in input text and then went on to modify flow using the modify navigation link. Then the value that I entered in search input text in the create flow stays and does not go away. I found out the cause for the issue and this is happening because of the immediate = true on the navigation command links. Now I cannot remove that because of the obvious reason that then it will start throwing exceptions for the mandatory fields when I am in middle of any flow. Is there any way to achieve it.
    Please help as this is quite urgent. I can also upload the sample application if anyone needs it.
    Regards
    Ajay

    try to put RefreshCondition in the pageDef file for that particular task Flow and try to make that condition to true only when you switch between edit or add. While switching, make sure that the mapped bean properties should also point to respective values i.e. either empty for new or holds some value for edit.
    So, when ever the above condition returns true, task flow gets refreshes and it will holds only the current values not the old values.
    i hope this will resolve your issue.

  • How to set display size of a Region or Dynamic Region?

    Hi,experts,
    In jdev 11.1.2.3,
    I drag and drop a task-flow into a jsf page to create a Region,
    and set display size for the region, source code as:
    ===================
    <f:facet name="second">
    <af:decorativeBox theme="medium" id="db1">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl1"
    inlineStyle="width:1200px;height:700px;">
    <af:region value="#{bindings.trainflow11.regionModel}" id="r1"
    inlineStyle="width:1200px;height:700px;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    =================
    But, the Region is only showed a small fraction area on the parent jsf page whenever during design or run time.
    How to set display size of a Region or Dynamic Region?
    Thanks!

    Hi,
    the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
    Frank

  • Dynamic Regions and parameters - issue

    Jdev 11.1.1.6
    I have a main page that contains a dynamic region. I want to pass parameters to the region.
    Note that I have successfully created parameters for a NORMAL region inside a "parent" form. With a normal "child" region in a "parent",
    1. Open the "child" taskflow, click on the whitepace, go to overview, then paraemeters and define a parameter name and value, ex: InputParam and #{pageFlowScope.InputParam}.
    2. Open the "parent" form, click on the region, go to bindings, and edit the region. You see the parameter you specified, InputParam and you can enter a value. This value will come from the parent.
    3. Set refresh to if needed.
    However,
    With a dynamic region containing more than one "child" taskflow, I am getting an error. I do everything the same above.
    However, when I have the taskflow selected on the bindings tab of the parent form, and click on the structure window, parameter node, The ID text field is surrounded by orange, and a message displays that the reference to "InputParam" is not found.
    How are the name or id values specified for a dynamic region? How does one map a parameter from the parent to the "child"? Do you need to put this into a bean?
    Thanks,
    Stuart

    1) Parent A tasflow contains Child B taskflow.
    2) Child B expects a parameter called 'inputParameterChild'
    3) This will be defined inside the child B taskflow with 'java.lang.String' and value as '#{pageFlowScope.inputParam}'
    4) When you click the child B taskflow in parent A taskflow you will see the parameter expected by child B as 'inputParameterChild'
    5) Now you can pass the value as '#{pageFlowScope.inputParam}' , here you should have the inputParam set in the bean or in the parent taskflow as explained in step 2 and 3
    are you still facing the issue?

  • Dynamic regions issue data transmission was interrupted

    Hi. I'm using JDev 11.2.2 and ADF full stack.
    Issue is when I'm trying to refresh a dynamic region to load a new task flow. Let me give a test case step by step:
    1.- Using HR, build model: Create objects(Entities, View Objects) for tables Employees and Departments and an Application Module.
    2.-In VC, add a facelets page with two columns layout, first for a tree for switching regions and a dynamic region in the second column.
    3.- Create a page fragment which includes a table generated from employees view in data controls and another page fragment for departments view.
    4.- Create two bounded task flows, one for employees fragment and another for departments fragment.
    5.- Drag and drop a bounded task flow to create a dynamic region in the second column of main page. Make sure selecting backingBean scope for new bean (default is Request scope).
    6.- In model, create a static list populated View Object with two attributes: one for task flow id and one for description
    7.- In VC, generate a Tree in the first column of main page
    8.- Write a selection listener for tree component to read the current task flow id and set that value to dynamic region task flow id in appropriate bean.
    9.- Set partials triggers in dynamic region in the main page to listen to tree events.
    10.- Run and try to load a new task flow by clicking in the tree. An alert is fired with this message:
    *"The content of this page failed to load as expected because data transmission was interrupted. Please try again, or contact your system administrator."*
    And, in the log appears following lines:
    *<FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[index.jsf]*
    java.lang.IllegalStateException: Could not find component to stream
         at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:378)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3666)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1474)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1674)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1032)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    If the taskflow id of taskflow which didn't work is established in dynamic region bean as initial taskflow for the region, it works, but the other taskflow fails.....
    Any suggestions?
    DEMR

    Thank you. That solves the issue. Maybe a mistake in docs:
    [http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_regions.htm#CHDJHACA]
    It says:
    To create an ADF dynamic region:
    In the Application Navigator, select and open the JSF page where you want to create the ADF dynamic region.
    Drag and drop the first bounded task flow onto the JSF page.
    From the context menu that JDeveloper displays, choose Create > Dynamic Region.
    Choose the appropriate option in the Choose Managed Bean for Dynamic Region dialog that JDeveloper displays:
    If you want an existing managed bean to store the bounded task flow's ID, select an existing managed bean from the Managed Bean dropdown list.
    The managed bean passes the value of the bounded task flow's ID into the task flow binding of the ADF dynamic region. Make sure that the managed bean you select is not used by another ADF dynamic region.
    If no managed bean exists for the page, click the Add icon next to the Managed Bean dropdown list to create a new one. Enter values in the dialog that appears as follows:
    Bean Name: Enter a name for the new managed bean. For example, enter DynamicRegionBean.
    Class Name: Enter the name of the new managed bean class.
    Package: Enter the name of the package that is to contain the managed bean or browse to locate it.
    Extends: Enter the name of the Java class that the managed bean extends. The default value is java.lang.Object.
    Scope: This field is read-only and its value is set to backingBean. For more information about the memory scope for managed beans, see Section 18.2.4, "What You May Need to Know About Memory Scope for Task Flows."
    Click OK to close the dialogs where you configure the managed bean.
    Regards,
    DEMR

  • Problem Refreshing Dynamic Region

    Hi ,
    I am facing problems in refreshing the dynamic region. Here is the usecase :
    One JSPX page : TestDynamicTaskflow.jspx
    First Taskflow : LinksTF -> Has one page with 3 command Buttons and one dynamic region.
    On click of 1st and second command button link tf-1 should be displayed and for third command button  tf2.
    Second Taskflow : tf-1    -> Taskflow has one jsff page with a inputText field ( required = true )
    Third taskflow : tf-2  -> Taskflow has one  jsff page with a inputText field ( required = true )
    Problem : Click 1st command button and tf1 is loaded. Now enter some value in inputText and click commandButton2 ... tf-1 is loaded but inputText retains the entered value... This is what is issue .

    Hi,
    the task flow is reloaded as you should be able to tell when setting a print message to be invoked in the task flow initializer. I assume the problem is with the text component not resetting its value. So its a JSF lifecycle problem, not a region issue. Have the command link switching the task flow, issuing
    oracle.adf.view.rich.util.ResetUtils.reset(regionId_in_here);
    Frank

  • Dynamic Region Issues

    Jdev 11.1.1.5 - JDK 1.6_31
    I have put a dynamic region on a page with 4 taskflows defined as the regions. Each taskflow is a train.
    I have a bean that controls the loading (the default bean) with a load for each screen.. ie public .. myRegion1, etc... in addition to the getDynamicTF that is created by default.
    public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
    public String myjobFlow() {
    taskFlowId = "/WEB-INF/myJobstaskFlowCall.xml#myJobstaskFlowCall";
    return null;
    Everything works fine - the pages load and all is OK - until I select a tab in one of the regions.
    This will cause the generation of the event to get the taskflow from the bean. (getDynamicTaskFlowId)
    because the bean is backing scoped - it does not know the current taskflow (lost when the bean is destroyed)
    I tried to change the scope - but I get a controller error saying the backingBeanScope.DynamicRegionBean cannot be found!
    can anyone tell me the location of the controller file - or how to change the scope - or how to get around this issue.

    Hi,
    instead of using backingBeanScope use viewScope..
    and change expression wherever necessary like
    in page and more important in pageDef file..
    like
    from
    backingBeanScope.bean to viewScope.bean
    Hope this helps..

  • Downloading pdf inside adf region issue

    All,
    I am trying to download a pdf inside a region. My code to download it is
            InputStream ios = Thread.currentThread().getContextClassLoader().getResourceAsStream("StatementReport.jrxml");
            Map parameters = new HashMap();
            parameters.put("PAR_CUSTOMER_ID", customerId.toString());
            parameters.put("SUBREPORT_DIR", "./");
            parameters.put("rowid", statementRowId.toString());
            Connection connection = null;
            try {
                HttpServletResponse response =  (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
                ServletOutputStream servletOutputStream;
                servletOutputStream = response.getOutputStream();
                byte[] bytes = null;
                //this will give us the existing connection from the AM
                ob = bc.getOperationBinding("getCurrentConnection");
                ob.execute();
                connection = (Connection)ob.getResult();
                //This will create a new connection alltogether.
                /* Context ctx = new InitialContext();
                Context envCtx = (Context)ctx.lookup("");
                DataSource ds = (DataSource)envCtx.lookup("jdbc/om");
                if (ds != null) {
                        connection = ds.getConnection();
                JasperDesign jasperDesign = JRXmlLoader.load(ios);
                JasperReport jasperReport =   JasperCompileManager.compileReport(jasperDesign);
                bytes = JasperRunManager.runReportToPdf(jasperReport, parameters,  connection);
                response.addHeader("Content-disposition",  "attachment;filename=statement.pdf");
                response.setContentType("application/pdf");
                response.setContentLength(bytes.length); //commented this also as mentioned in a number of post. Also tried adding buffersize to the response object but no progress
                servletOutputStream.write(bytes, 0, bytes.length);
                servletOutputStream.flush();
                servletOutputStream.close();
                context.responseComplete();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (JRException e) {
                e.printStackTrace();
            } /*catch (NamingException e) {
                e.printStackTrace();
            } catch (SQLException e) {
                e.printStackTrace();
            } */catch(Exception e){
                e.printStackTrace();
            }I get the following error and the pdf dosent open
    <Sep 28, 2011 10:12:04 AM GST> <Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "ServletContext@8594227[app:DealerOnline module:DealerOnline path:/DealerOnline spec-version:2.5 version:V2.0]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes..
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes.
         at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:446)
         at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1432)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1511)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         Truncated. see log file for complete stacktrace
    >
    I tried it on all browsers but the error continues
    thnks
    Jdev 11.1.1.5

    i even removed the Jsaper related code and tried using
                byte[] content =
                      { '<', 'H', 'T', 'M', 'L', '>', '<', 'B', 'O', 'D', 'Y', '>', 'H', 'e', 'l', 'l', 'o', '<', '/', 'B', 'O', 'D',
                        'Y', '>', '<', '/', 'H', 'T', 'M', 'L', '>' };but the error is there. So for sure it has nothing to do with Jasper reports
    Also the form that has region has usesupload property set to true
    Edited by: in the line of fire on Sep 28, 2011 10:40 AM

  • Refreshing issue - Adobe forms!!

    Hello,
    We are facing a Refreshing issue - Adobe forms, whenever we open the adobe form through open processes, the window doesn't open fully, so again when we refresh it, the size is maximised but the abode forms doesn't open to the full size & we see a small scroll bar on the right hand side.
    Please help!
    Regards,
    Poornima Saligram

    Updates: Just found out that this issue rises only to the clients using Wyse terminals. Has anyone had any issue using Adobe forms and Wyse terminals?

  • Contextual Event refresh/redraw issue between 2 regions (taskflow w/ jsffs)

    Working on JDev 11.1.1.2.0
    I have one jspx
    which contains 2 regions - bounded taskflow with jsffs
    Now, I want to communicate between region1 and region2
    so, producer is : region2pageDef and consumer is: region1pageDef, and Handler is pointing to a Java Bean Data Control , listening for ActionEvent
    Contextual events works fine as expected , but when region1 listenes the contextual event , at that time entire jsff gets refreshed / redrawn, why?
    How contextual event works from the ADF side ,and what causes it to redraw the page fragment
    Thanks

    When I have 3 dynamic regions on a jspx page, where every region loads taskFlow with jsff page.
    One of the pages produces the contextual event, the other receives the contextual event and the 3rd one does nothing.
    Then 3rd region is not refreshed. It works correctly.
    But when I place eventMap in the pageDef of the jspx page, then all regions are refreshed no matter if they receive the contextual event.
    This is not the right way. Why is that? Do you have an idea?
    I am using JDev 11.1.1.3.0
    Edited by: Nikolay Minchev on Dec 22, 2010 2:44 AM

  • Issue while deploying dynamic region to stand alone server

    Hi,
    In my application there is one page I have panel splitter, where i have drag and dropped menu-taskflow as regionModel, and created dynamic region on second facet panel.
    <af:region value="#{bindings.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{bindings.dynamicRegion4.regionModel}" id="r2"/>
    I have created application level class to handle dynamic region loading.
    This settings are working fine when i run application with integrated web logic server, When I deployed my application to stand alone server, its giving me exception as
    java.lang.IllegalStateException: The expression "#{bindings.menutaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.menutaskflow1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
         at jsp_servlet.__editopportunity_jspx._jspx___tag18(__editopportunity_jspx.java:923)
         at jsp_servlet.__editopportunity_jspx._jspService(__editopportunity_jspx.java:452)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I tried to update bindings with data level binding as
    <af:region value="#{data.view_MenuPageDef.menutaskflow1.regionModel}" id="r1"/>
    <af:region value="#{data.view_MenuPageDef.dynamicRegion4.regionModel}" id="r2"/>
    but it is rendering empty page with another exception..
    Please help
    Regards,
    Meera

    Hi,
    Check
    Runtime errors with ADF Dynamic region
    java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
    Problem with bounded task flow: binding lost?

  • ADF:Dynamic Region Refreshing

    Hi,
    My JDeveloper version is 11.1.1.5
    I am facing one problem.
    I have one table to which I have Save and Remove buttons.
    To the Save button, I have one action which programmatically inserts the row into the table. And Remove button removes the row present from the table programmatically.
    The Problem I am facing is, whenever I save or remove I need to reload the page to see the row inserted or deleted. It is not happening automatically...
    Could anyone please tell me how to reload a dynamic region which reflects DB table modification onto the Dynamic Region?
    Many thanks in advance

    Hi Guys,
    Here I will try to put my scenario...
    There is one table called APPLICATION which displays all the data using ViewObject1. To this table I am adding and saving and deleting a new row.
    ViewObject1 Query :
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    And there is one more viewObject which refers the same table which also displays the same columns with the data which is mentioned in below viewobject query.
    ViewObject2 Query:
    SELECT Application.BUSINESS_UNIT,
    Application.DESCRIPTION,
    Application.ID,
    Application.NAME
    FROM APPLICATION Application
    WHERE ID not in (select ID_application from project_application)
    So
    Whenever I am saving/removing a row, the table with ViewObject1 is being reflected with the saved row... but not the table with ViewObject2. So can you please advise me how to reflect the saved row in ViewObject2 also..
    ViewObject1 and ViewObject2 are referring to the same table(APPLICATION) in the DB with different queries...
    Many Thanks in Advance,
    Edited by: 977652 on Jan 22, 2013 4:42 AM

  • Show a page inside a region.

    Hi,
    I want to display a page inside a region on another page.
    Is this possible?
    I am using Application Express 4.0.1.00.03
    If I need to use Ajax, that would actually be better as I can then control refreshing myself.
    Regards
    Michael

    Hi,
    If I have two pages, P1 and P2, I can replace the region on P1 with the region from P2 using Ajax.
    The problem is that the page now doesn't work as P1 didn't have an interractive report on it but now does.
    I think that it will always try to get the report for my current page when Go is clicked anyway.
    If I had a form region, the fields would have the wrong names when submitted as they would seem to be coming from the wrong page.
    I think I am just going to have to try and debug my Iframe issues.
    Regards
    Michael

  • Performance issue for Report Regions

    We have an app which has as it's "Home Page" a portal-style page. The "portlets" are separate regions. Some of these regions are HTML forms, but most are report regions, invariably with PL/SQL returning the SQL query.
    On our dev box this portal renders fine, in no more than 5 seconds (acceptable). On the production box a couple of the portlets go crazy, usually taking between 1-2 minutes each. I know this because I added the #TIMING# string to each region footer. The portal page has a META tag to refresh every 120 seconds.
    The first thing I did to debug was to take the PL/SQL function body returning the SQL query, replace all the variables (which are just local vars, app items and page items) with hardcoded values, strip all quotes and run the "cleaned up" SQL query in SQLPlus. It executes very fast.
    So my conclusion is that the problem lies with the application server (which is Oracle iAS). Is this a logical conclusion? What should my next move be to get to the bottom of this?
    Even without the problem portlets the portal refresh speed varies widely, between <1 sec and >10 sec.
    The application also has other pages displaying the portal regions individually. These pages (including those with the "problem portlet" queries) render ok (ie, order of 5 seconds or less). This tells me that there is an issue with having a bunch of query-based regions on the same page.
    My guess is that I might need to examine the logs and/or httpd/modplsql settings of the app server. Number of simultaneous connections?
    What would happen if hundreds of users used this app concurrently, navigated to the portal page and left it like that to auto-refresh every 2 minutes? Are such pages a no-no in HTMLDB?

    Some more information:
    When I run the page in debug mode, I see the following timings for one of the problem portlets:
    11.53: show report
    11.54: determine column headings
    11.54: parse query
    60.95: binding: ":F118_BUNDLE"="F118_BUNDLE" value="1"
    60.95: binding: ":P52_STMETRICS_PRODBRANCH"="P52_STMETRICS_PRODBRANCH" value="RDBMS_MAIN"
    60.95: binding: ":P52_STMETRICS_PLATFORM"="P52_STMETRICS_PLATFORM" value="LINUX"
    61.35: print column headings
    61.35: rows loop: 15 row(s)
    [report is printed here]
    61.49: FORMITEM: P52_STMETRICS_PLATFORM HIDDEN
    61.54: FORMITEM: P52_STMETRICS_PRODBRANCH HIDDEN
    This tells me that the bulk of the time (50 seconds in this case) is eaten up in parsing the query. What is this symptomatic of?
    Another problem I've just noticed. It takes about 5 seconds to open up a region for editing (Region Definition) in HTMLDB. When I click "Apply Changes" (even without editing anything) it is taking on the order of minutes for the changes to be applied to the page. Our app server was bounced just before I noticed this.
    These are the params in our DAD:
    <Location /pls/toolsdb>
    SetHandler pls_handler
    Order deny,allow
    PlsqlDatabaseConnectString ...
    PlsqlDatabasePassword ...
    PlsqlDatabaseUsername ...
    PlsqlDefaultPage ...
    PlsqlDocumentPath docs
    </Location>

Maybe you are looking for

  • XLS upload via HSODBC. Unable to upload numeric (float) fields

    hi, I wrote a program unit with Oracle Forms Builder 10g to upload and read an Excel sheet. I created a HSODBC Data link to my DB, and used Excel 2003 to edit the XLS file to upload, and WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS(client_dir_file,'\\server\di

  • ASM Disk preparation for Datafiles and FRA in Oracle 10g RAC Inst

    Dear Friends, Please clarify wheteher the below method is correct to confiure ASM disks for Datafiles and FRA Partitions provided by IT team for OCR and Voting Disk /dev/sda1 - 150 GB (For +DATA) /dev/sda2 - 100 GB (For +FRA) OS     : RHEL 5.6 (64 Bi

  • What heatsink do I need? DV7t-6100 quad

    Hi all,  I've spent hours on the phone with HP techsupport and parts departments trying to find out the partnumber for my heatsink. The fan is having problems and it's not software or dust buildup related so I figure the heatsink is a good place to s

  • Watching iTunes movie on iPhone.

    I have several movies (mp4) in my iTunes library on my iMac.  Can I select and watch them on my iPhone5 over my home network?

  • Migrating to Mac Pro from Windows intensive GIS modelling only in WinXP..

    Hi all, I have some cash for a new workstation and have been pondering moving to a Mac as I am frustrated with Windows for som many reasons. I am a scientist who does a lot of modelling, luckily software such as R is available on Mac so I am happy wi