Refresh of a bound taskflow in a popup results in an error.

I have a bounded taskflow in a popup which needs to be refreshed every time the parameter templateName is updated.
<taskFlow id="list_wkbk_workflow1" taskFlowId="/WEB-INF/list_wkbk_workflow.xml#list_wkbk_workflow" Refresh="ifNeeded"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="templateName" value="#{ListWbkController.templateName}"
xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
</parameters>
</taskFlow>
I get this error each time the region is refreshed.
java.lang.IllegalStateException: Unable to queue marking of region as dirty because of a problem (see included cause).null
at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:320)
at oracle.adf.view.rich.model.RegionModel.markRegionDirty(RegionModel.java:221)
at oracle.adf.controller.internal.binding.TaskFlowRegionModel.dirtyRegion(TaskFlowRegionModel.java:436)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:91)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2913)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2651)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:218)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:313)
... 47 more
Caused by: java.lang.IllegalArgumentException: ADF_FACES-60041:Phase RENDER_RESPONSE 6 has already started or passed; at least at phase RENDER_RESPONSE 6.
at oracle.adfinternal.view.faces.context.RichPhaseListener._queueTaskForPhase(RichPhaseListener.java:175)
at oracle.adfinternal.view.faces.context.RichPhaseListener.queueTaskForBeforePhase(RichPhaseListener.java:144)
... 52 more
I did not see this error with an earlier version, I see it with the Build JDEVADF_MAIN_GENERIC_081202.1750.*5232* build. Any help is appreciated.
Thanks,
Suneetha

Hi,
The D810 requires Camera Raw 8.6 or later - the latest version that is compatible with Photoshop Elements 12 is Camera Raw 8.5 as far as I can see.
You need to either buy a new version of Photoshop Elements or use the free Adobe DNG converter.
DNG  Converter 8.8
Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5888
Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5887
Useful Tutorial
http://www.youtube.com/watch?v=0bqGovpuihw
Brian

Similar Messages

  • Error 500--Internal Server Error while opening a taskflow  in inline popup

    Hi,
    I am getting "Error 500--Internal Server Error" while opening a bounded taskflow as a popup from another bounded taskflow containing page fragments. The popup taskflow contains jspx pages. I even removed the jspx pages from the popup taskflow to check if the error is resulting from the bindings on the pages but still I get the same error. The entire stack trace of the error in the popup dialog is :
    Error 500--Internal Server Error
    oracle.adf.controller.ControllerException: ADFC-04008: The BindingContext on the session is null.
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.util.model.AdfmUtil.getBindingContext(AdfmUtil.java:47)
         at oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:125)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1006)
         at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:159)
         at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:900)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:355)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:105)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:112)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         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)
    Any help is greatly appreciated.
    Thanks,
    KK

    Hi Frank,
    Thanks for the reply. I am using it as an inline popup. I am trying to create command links dynamically in an iterator. When a link is clicked a popup window opens. The text of the link is passed to the popup window by creating a variable in the session scope ( I even tried request scope) by an action listener in the backing bean.
    I tried to create another simple application with a static command button which passes its text to popup window through a session scope variable. It worked fine. I am not sure why the same procedure is not working in my original application. Can you give me a hint what could possibly go wrong according the exception stack trace ?
    Thanks,
    KK

  • Taskflow as inline popup causes issues while returning..

    Hi,
    I am using 11gr1p1. I have an ADF application where I have a bounded taskflow I call as inline popup. And in the popup I return from the taskflow ..
    Everything works fine when I launch my app within JDeveloper or when I launch it directly.
    It fails when I call the ADF application from a different web page by opening it in a new window. In this case when I click the button in the inline popup to return from the taskflow I got an error in the IE's log as below..
    Line :1
    Char:86
    Error : Access is denied.
    Any help will be great, we spent quite a time to make this work ...
    Test page to launch the ADF app
    <html>
    <head>
    </head>
    <body>
    <div >
    <p ><a href="http://msoyerxp:7101/PopupTest-ViewController-context-root/faces/adf.task-flow?adf.tfId=tf-main&amp;adf.tfDoc=/WEB-INF/tf-main.xml" target="_blank" > Test </a></p>
    </div>
    </body>
    </html>Main taskflow
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="tf-main">
        <default-activity id="__1">MainPage</default-activity>
        <view id="MainPage">
          <page>/MainPage.jspx</page>
          <redirect/>
        </view>
        <task-flow-call id="tf-popup">
          <task-flow-reference>
            <document>/WEB-INF/tf-popup.xml</document>
            <id>tf-popup</id>
          </task-flow-reference>
          <run-as-dialog>
            <display-type id="__7">
              <inline-popup/>
            </display-type>
          </run-as-dialog>
        </task-flow-call>
        <control-flow-rule id="__2">
          <from-activity-id id="__3">MainPage</from-activity-id>
          <control-flow-case id="__5">
            <from-outcome id="__6">Popup</from-outcome>
            <to-activity-id id="__4">tf-popup</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <visibility id="__8"/>
      </task-flow-definition>
    </adfc-config>Task flow that I call as inline popup
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="tf-popup">
        <default-activity id="__1">PopUpPage</default-activity>
        <view id="PopUpPage">
          <page>/PopUpPage.jspx</page>
          <redirect/>
        </view>
        <task-flow-return id="taskFlowReturn1">
          <outcome id="__17">
            <name>taskFlowReturn1</name>
          </outcome>
        </task-flow-return>
        <control-flow-rule id="__20">
          <from-activity-id id="__21">PopUpPage</from-activity-id>
          <control-flow-case id="__22">
            <from-outcome id="__24">Return</from-outcome>
            <to-activity-id id="__23">taskFlowReturn1</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <visibility id="__8"/>
      </task-flow-definition>
    </adfc-config>Main Page
    <f:view>
        <af:document id="d1">
          <af:form id="f1" targetFrame="_self">
            <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
              <f:facet name="first">
                <af:panelFormLayout id="pfl1">
                  <f:facet name="footer"/>
                  <af:commandButton text="Open Popup" id="cb1" action="Popup" useWindow="true"
                                    windowEmbedStyle="inlineDocument" windowHeight="300"
                                    windowWidth="400"/>
                </af:panelFormLayout>
              </f:facet>
              <f:facet name="second">
                <!-- id="af_one_column_header_stretched_with_splitter"   -->
              </f:facet>
            </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>Popup Page
    <f:view>
        <af:document id="d1">
          <af:form id="f1">
              <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
                <f:facet name="first">
                  <af:commandButton text="Return1" id="cb1" action="Return" partialSubmit="true"/>
                </f:facet>
                <f:facet name="second"/>
              </af:panelSplitter>
          </af:form>
        </af:document>
      </f:view>

    That is the problem actually. When I run the link directly it works fine. But I need to launch the ADF application from a non-ADF app which is not hosted on WLS.
    The scenario above was just to simplify the problem...
    Is there any security settings etc that may cause this ?
    Thanks

  • Declarative component stops working after taskflow-call-in-popup

    Hi!
    JDev 11.1.1.3.0
    I need a component, much like the commandToolbarButton, but I have the requirement that the user should still be able to select from the popup even if the button is disabled.
    So I created a declarative component, combining two buttons and a popup with a menu in a panelGroupLayout. The one button, the mainButton, actually executes the action, the other (with an icon only) opens a menu in a popup.
    The user selects an item from the popup, the component then PPRs the main button in code to display the user's choice in the main buttons text.
        <af:panelGroupLayout layout="horizontal" id="${component.id}_layout">
          <af:commandToolbarButton id="mainButton" text="#{component.mainButtonText}"
                                   clientComponent="true" disabled="#{!component.enabled}"
                                   partialSubmit="true"
                                   actionListener="#{component.mainButtonPressed}"/>
          <af:commandToolbarButton id="menuButton" icon="/images/arrowDownComboBox.png"
                                   partialSubmit="true" disabled="#{!component.enabled}">
            <af:showPopupBehavior alignId="mainButton" align="afterStart" popupId="commandPopup"/>
          </af:commandToolbarButton>
          <af:facetRef facetName="extensionButton"/>
          <af:popup id="commandPopup" contentDelivery="lazyUncached" childCreation="immediate"
                    clientComponent="true">
            <af:menu id="commandMenu" clientComponent="true" binding="#{component.commandMenu}"/>
          </af:popup>
        </af:panelGroupLayout>That works fine ... until the user opens a taskflow in a popup.
    I have a bounded taskflow, jspx-based, opened by a button with an action that navigates to a taskflow-call activity in a modal dialog. The user opens the taskflow, does what needs to be done, then closes the dialog.
    Still fine.
    But, after the dialog has closed, when the user selects an item from the popup menu of my declarative component, I suddenly get an NPE:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <<RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.NullPointerException: UIComponent is null
         at org.apache.myfaces.trinidad.component.UIXComponent.addPartialTarget(UIXComponent.java:498)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTarget(RequestContextImpl.java:513)
         at com.ge.med.web.components.button.CommandComboButton.refreshMainButton(CommandComboButton.java:213)
         at com.ge.med.web.components.button.CommandComboButton.setSelectedCommand(CommandComboButton.java:177)
         at com.ge.med.web.components.button.CommandComboButton.commandItemPressed(CommandComboButton.java:243)
         at com.ge.med.web.components.button.CommandComboButton.processAction(CommandComboButton.java:129)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)To track the problem down, I have pointed the binding attribute of the declarative component to a property in a session-scoped bean, to see what the component looks like that is set, what the children and grand children are, and who the parent is.
    This prints:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Setter called: DemoComboButtonComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@1762a87, id=demoAdd]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Parent: RichPanelGroupLayout[UIXFacesBeanImpl, id=cbll1]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Children: [RichPanelGroupLayout[UIXFacesBeanImpl, id=demoAdd_layout]]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <Grand kids: [RichCommandToolbarButton[UIXFacesBeanImpl, id=mainButton], RichCommandToolbarButton[UIXFacesBeanImpl, id=menuButton], RichPopup[UIXFacesBeanImpl, id=commandPopup]]> That's fine. But when I add the same debug code to my setSelectedCommand() method (which is called when the user selects an item from the popup's menu), I get:
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <I am: DemoComboButtonComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@ba2b1c, id=demoAdd]>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <My Parent: null>
    <26.04.2011 19:07 Uhr MESZ> <Notice> <Stdout> <BEA-000000> <My Children: []> The empty children property explains the NPE. This NPE only happens when the user selects an item from the popup after the dialog has closed.
    Debugging showed that the new DemoComboButtonComponent is created during the restoration of (tree) state after the closing of the modal dialog. But why has it no parent? And where are the kids?
    Could the binding of the declaratice component to a session-scoped bean be the problem? Somehow prevent the state mechanism from re-building the UI component tree correctly?
    I am at the end of my wits.
    Any help is appreciated!
    Sascha

    Hi Frank,
    no, not yet. I had the feeling that it's me who is doing something wrong. Declarative components are pretty common, right? So are taskflow calls in dialogs. Someone should have noticed if there's a bug in the framework, right?!
    But I changed the scope of the bean (to backing scope and request scope) that the declarative component is bound to and I still get the error.
    I will try to create a simpler test case, and if I can reproduce with that, then I will file a bug, if there's no one that can explain the phenomenon.
    Sascha

  • How to reinitilize an bounded taskflow with multiple jsff's

    Hi,
    I am having a bounded taskflow which is having two jsff's. On my first jsff i am having an command link on click of which i am navigating to my next jsff, i have added this task flow in my screen in a panel tabbed having 4 tabs .Now i open my first tab in which my taskflow is present and navigate to my second jsff on the button click and then when i change my tab and come back to my 1st tab i want the first jsff to be opened but it shows the second jsff page. How do i reinitilize my taskflow so that i get the first jsff of my taskflow every time i open the tab containing my taskflow.
    Regards,
    Vipin

    1. Bind region to a bean (RichRegion) and generate getter and setter
    2. In the DisclosureListener add a bean method and in this method get the region above and do refresh
    public void disLstrnr(DisclosureEvent disclosureEvent) {
    getRegion().refresh(FacesContext.getCurrentInstance());
    Amit

  • Opening a bounded taskflow in a new browser window.

    Hello,
    I have links in my application that open the application in a new browser window.
    window.open(/MFRAME/faces/adf.task-flow?adf.tfId=moduleDataMan&adf.tfDoc=/WEB-INF/flows/moduleDataMan/moduleDataMan.xml, "w"+new Date().getTime());
    When I open the link in the new window all beans become with null values.
    It used to work before a big list of bug fixes. But somehow this broke. Any ideas what can be the issue. No errors in the log when I open a new window. The old window is working without problems. Only one of the bounded taskflows is working after open in a new window.
    Any ideas.
    Jdeveloper version 11.1.2.3.0

    <SCRIPT language="JAVASCRIPT">But this is a Java forum, not a Javascript forum.

  • Jdev 12.1.2.0.0: Bounded taskflow not listed in Regions in Components pallette

    Using jdev versino 12.1.2.0.0. Created a project (Provider.jpr) with a bounded task flow. Created file system. Added this project's jar as ADF library to another consuming project (Consumer.jpr).Now when I open a jspx within Consumer, and open Components pallette, > select Provider.jar from dropdown, in the Regions section, the bounded taskflow is not listed.
    However, when adfc-config is opened, the bounded taskflow shows up in Components palette when the jar is selected. Is this a bug or is there a change in behavior from the previous versions?

    Hi,
    Is it that technology support in ADF is Jdev-dependent. I mean when we say Jdev 12C do we mean it carries ADF-enhancements? Is there any clear and concise documentation of the changes from 11g to 12c.
    Yes it is as each JDeveloper release is an evolution in technology. JDeveloper 12c and 11g R2 both support JavaServer Faces 2 which actually introduced Facelets. So its not necessarily a new feature enforced by JDeveloper but the current standard of JSF. Furthermore the JSF standard will continue with Facelets so that it makes sense to adopt Facelets for new application developments (or in 12c to migrate existing JSPX projects to facelets, which is supported declaratively)
    Frank

  • Bounded Taskflow Exception Handler not working with Page Fragements

    I have one bounded - taskflow task-flow-definition
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition">
        <default-activity>view1</default-activity>
        <managed-bean>
          <managed-bean-name>backing_main</managed-bean-name>
          <managed-bean-class>view.backing.Main</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>backing_view1</managed-bean-name>
          <managed-bean-class>view.backing.View1</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <managed-bean>
          <managed-bean-name>backing_view2</managed-bean-name>
          <managed-bean-class>view.backing.View2</managed-bean-class>
          <managed-bean-scope>pageFlow</managed-bean-scope>
        </managed-bean>
        <exception-handler>view2</exception-handler>
        <view id="view1">
          <page>/view1.jsff</page>
        </view>
        <view id="view2">
          <page>/view2.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>view1.jsff contains one command button, which calls one ActionListener
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:commandButton text="commandButton 1" actionListener="#{pageFlowScope.backing_view1.callMyFunction}"
                        binding="#{pageFlowScope.backing_view1.commandButton1}"
                        id="commandButton1"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_view1-->
    </jsp:root>view1.java callMyFunction throws an Exception
        public void callMyFunction(ActionEvent event) throws Exception{
            throw new Exception();
        }view2.jsff is an exception handler
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:activeOutputText value="Exception Occured"
                           binding="#{pageFlowScope.backing_view2.activeOutputText1}"
                           id="activeOutputText1"
                           inlineStyle="font-size:xx-large; color:red;"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_view2-->
    </jsp:root>above taskflow is dragged-drop as a Region in one file main.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <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">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document binding="#{pageFlowScope.backing_main.document1}"
                     id="document1">
          <af:form binding="#{pageFlowScope.backing_main.form1}" id="form1">
            <af:region value="#{bindings.taskflowdefinition1.regionModel}"
                       id="taskf1"
                       binding="#{pageFlowScope.backing_main.taskf1}"/>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_main-->
    </jsp:root>*pressing a commandButton on view1.jsff throws an Exception as expected but does not go to exceptionHandler [view2.jsff]*
    However, this does work with Bounded Task-Flow without page fragments , view1.jspx contains one button, calling one method which throws an Exception,
    view2.jspx is an Exception Handler, and in this case it redirects to the view2.jspx [error page]
    any ideas?
    thanks

    Hi,
    Pretty much. However, you got the event part wrong, which is mostly my fault here. First, let put down some general JSF facts about event handling.
    1. http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIComponent.html#queueEvent(javax.faces.event.FacesEvent)
    2. So, basically, queuing an event on a component means queuing it on its parent until you reach the UIViewRoot that will really actually queue it. That strategy allows iterating components to intercept event queued on their children to record the row index as well so that the data model can be synchronized correctly during the broadcast phase (see http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIData.html#queueEvent(javax.faces.event.FacesEvent) and http://java.sun.com/javaee/5/docs/api/javax/faces/component/UIData.html#broadcast(javax.faces.event.FacesEvent))
    3. Exceptions that aren't handled by the exception handler are thrown during broadcast or various process* methods.
    So, the catch component must leverage these facts to intercept events queued on its children (by overriding queueEvent method) wrapping the original event in a custom on that flag the catch component itself as the source of the event. The result will be that the broadcast method of the catch component will be called to handle the event. The broadcast method must then unwrap the event (to get the original event), gets the original source, then call originalSource.broadcast(originalEvent) within a try-catch block.
    Does it make any more sense put that way? Note that it's an obscure part of JSF so I cannot make it incredibly simple either.
    Regards,
    ~ Simon

  • Using wildcard in return activity in bounded taskflow

    This is my situation:
    I have a page to which the user may only navigate through a router activity, and I want the user to be authenticated too. So I thought I'd set the router activity (and a filter) and the page inside a bounded taskflow.
    But now I have a problem exiting the bounded taskflow. I don't want to specify all the possible outcomes and create different return activities. I have tabs on each page and I want the user to be able to click a tab and go to that page. But when I set a wildcard the navigation doesn't work.
    What does work is this:
        <control-flow-rule id="__22">
          <from-activity-id id="__23">rr_start</from-activity-id>
          <control-flow-case id="__25">
            <from-outcome id="__28">toAvIndex</from-outcome>
            <to-activity-id id="__24">returnFromStartFlow</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <task-flow-return id="returnFromStartFlow">
          <outcome id="__21">
            <name>toAvIndex</name>
          </outcome>
        </task-flow-return>But this allows me only to navigate to AvIndex and I have 4 more pages I want to navigate to.
    What I would like to have is this:
        <control-flow-rule id="__22">
          <from-activity-id id="__23">rr_start</from-activity-id>
          <control-flow-case id="__25">
            <from-outcome id="__28">*</from-outcome>
            <to-activity-id id="__24">returnFromStartFlow</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <task-flow-return id="returnFromStartFlow">
          <outcome id="__21">
            <name>*</name>
          </outcome>
        </task-flow-return>and let the unbounded taskflow check the outcome and do the navigation. Could this be possible?

    Wendy,
    have you considered to use a taskflow template for the navigation and use this template for your taskflows?
    Only other thing which come to mind is to set a parameter from inside your flow and check this parameter in a method in the parent flow to decide where to go.
    Timo

  • How can we use Bounded Taskflow in another project.

    Greetings!
    Suppose we have 2 projects: projectA and projectB.
    In projectB we have 4 bounded taskflows: T1, T2, T3, T4.
    In projectA we have a view with a dynamic region, text input for digits and a command button.
    How can we fill our dynamic region with taskflows from projectB, by typing a number of it and pressing a button.
    Thank you.

    Hi,
    Yes, I know.
    However, I'm under the impression that this is not the preferred method. All the documentation describe the ADF library method and I cannot find any description about putting them in a separate project.
    All said, it seems to kind of work, using the 'jar dependencies', except for taskflows with a nested taskflow from another project. An I still need to import them as adf library.
    We'd like to develop our taskflows separately using a short development lifecycle. Putting each of them in a separate application and publish and import them in the main application seems to be too complicated and takes to much time, everytime.
    Am I correct that the shortest development lifecycle is to have all the taskflows in our webapplication, and have full debug and hot-swap functionality?
    Ciao
    Aino

  • Bounded Taskflows with Fragments And Return Activity

    Hi,
    I have Bounded Taskflow that requires-transaction and based on fragments, which means I should commit or rollback at the end of the taskflow. Since the documentation clearly states that you shouldn't add return activities to Bounded taskflows with fragments, I could call this taskflow from another taskflow and add it to the page as a region. Is it a best practice?
    Best Regards,
    Salim

    Hi,
    in the usecase you describe - yes
    Frank

  • I have a problem with a chart refreshing after its bound data provider changes.

    I have a problem with a chart refreshing after its bound data
    provider changes. After the subsetHighLowData.refresh() is called I
    would expect the chart to redraw, but it still looks the same. I
    even inspected the debugger to see if the slice had taken place and
    it had.
    Any ideas coding friends?

    "nikos101" <[email protected]> wrote in
    message
    news:gib6aa$prr$[email protected]..
    >I have a problem with a chart refreshing after its bound
    data provider
    >changes.
    > After the subsetHighLowData.refresh() is called I would
    expect the chart
    > to
    > redraw, but it still looks the same. I even inspected
    the debugger to see
    > if
    > the slice had taken place and it had.
    >
    > Any ideas coding friends?
    >
    > subsetHighLowData.source =
    >
    highLowData.source.slice(slider.values[0],slider.values[1]);
    Just use the ArrayCollection's removeItemAt, and it should
    handle the event
    dispatching for you.
    HTH;
    Amy

  • Security problem? Bounded taskflow and sessionid in loopback url

    Hi,
    We just had a security evaluation of our public site. We use ADF in several places on the site (through iframes).
    The applications are made up of bounded taskflows. The request Url reads like:
    http://127.0.0.1:7101/test/faces/adf.task-flow?adf.tfId=task-flow-definition&adf.tfDoc=/WEB-INF/task-flow-definition.xml
    and it returns :
    http://127.0.0.1:7101/test/faces/adf.task-flow;jsessionid=R9YWRvkLJyD6lYC79DyTmTl6fxj177x1ZflDcJy4mrlcYmDVSmn0!-1545839156?adf.tfId=task-flow-definition&adf.tfDoc=/WEB-INF/task-flow-definition.xml&_afrLoop=97476727347664&_afrWindowMode=0&_afrWindowId=null
    According to the security evaluation the ;jsessionid=xxx in the header is a security problem, you could in principle copy the url and send it to a different computer and continue the session from there!
    The jsessionid is put there by the loop back script.
    Is there any way of making the loop back script not put the jsessionid in the url?
    Is it a security problem?
    regards
    Johnny

    Hi, thank you for the opinion. I am not talking about hijacking my own session id. But "malware" or a spy in som way could "sniff" the url and send it off to another computer!
    Look at this url, it explains it even better :
    http://fralef.org/tomcat-disable-jsessionid-in-url.html
    Again it is not my opinion but that of a security firm.
    Cookies are not disabled on my computer ( and our security firms), the case is real and how bounded taskflows work.
    Here is the code from the loop back:
    var sess = ";jsessionid=TdJhRvVGHnYZtTfzsMBpmDcSnLVHW0SzgBWl0gQm2tPQ45lwsq1W!-1545839156";
    if (sess.length > 0)
    href += sess;
    After the redirect the cookies "takes" over and the jsession id is not shown again.
    But it is still shown initially.
    And we do use https on our site, my code was just an illustration.
    Johnny
    Edited by: user11345344 on Feb 28, 2013 8:44 PM

  • Taskflow in a popup

    I open a taskflow in a popup by specifying "run as dialog". The taskflow contains a .jspx page, which displays in the popup. On the .jspx, there is a LOV field and a button at the bottom. My questions are as follows:
    1. When user clicks "search..." link of the LOV field, it opens a search window. But the search window is limited inside the original popup. If the original popup is small while the search window is big, it looks ugly. Is there anyway not to limit the search window inside the original popup?
    2. This question is related to the first one. If I open second popup (the second popup is a regular popup coded as <af:popup> inside the .jspx page) from the original popup using "show Popup Behavior" operation, the second popup is also limited inside the original popup. Is there anyway not to limit the second popup inside the original popup?
    3. No matter how I layout the button at the bottom of the popup, it always has space between the button and the bottom edge of the popup. I can not position the button the same location as the default button on a regular dialog popup. (The default button is at very bottom of the popup window). Is there a way to achieve it?
    Any feedback is greatly appreciated.
    My JDev is 11.1.1.6
    Edited by: user508065 on Sep 20, 2012 11:10 AM

    3. No matter how I layout the button at the bottom of the popup, it always has space between the button and the bottom edge of the popup. I can not position the button the same location as the default button on a regular dialog popup. (The default button is at very bottom of the popup window). Is there a way to achieve it? Try putting the custom button inside the button bar facet in af:dialog.
    <af:popup id="p1">
    <af:dialog id="d2" title="Sample Popup with custom buttons"
    type="none">
    *<f:facet name="buttonBar">*
    *<af:commandButton text="Custom Submit" id="cb2"/>*
    *</f:facet>*
    </af:dialog>
    </af:popup>
    Thanks,
    Navaneeth

  • ADF UI Shell Pattern- How to pass parameter to the called bounded taskflow?

    The sample Launcher class of the ADF UI Shell template has the following code:
        private void _launchActivity(String title, String taskflowId, boolean newTab)
          try
            if (newTab)
              TabContext.getCurrentInstance().addTab(
                title,
                taskflowId);
            else
              TabContext.getCurrentInstance().addOrSelectTab(
                title,
                taskflowId);
          catch (TabContext.TabOverflowException toe)
            // causes a dialog to be displayed to the user saying that there are
            // too many tabs open - the new tab will not be opened...
            toe.handleDefault();
        }How do I pass a parameter to the bounded taskflow that will be launched?
    For example:
    1) I have a list of employees displayed on a tab.
    2) When I select a record and click an edit button inside the tab, A separate tab should open with the corresponding employee to be edited.
    How then could I pass the employee id to the edit-employee-task-flow?
    I can't think on how/what would a "calling taskflow" come into this picture?
    help!
    pino
    Edited by: pino on 16-Dec-2009 05:57
    Edited by: pino on 16-Dec-2009 09:59

    Hi Arunkumar,
    Thanks for the info. I was actually using EJB DataControls, and something similar to what you have suggested can also be done programmatically, but I wanted to follow the one promoted in the Fusion Developers' Guide to take advantage of the "ADF task flow framework" (like pass-by-value, pageflowScope, etc.) especially that we were having problems when we will just follow the procedures that was presented in the tutorials(I mean that- not all the procedures in the tutorials will work on an application based on the UI Shell pattern which do have multiple active taskflows.).
    For instance, you have an active List of employees in one tab, and two other tabs that try to edit employee records. If these employee list and employee edit forms are based on a single iterator binding, then what would happen to the information in the two edit forms on each separate tabs if you selected another row on the employee list tab? -- In our case, the edit tabs' values synchronized to the new selected row in the list tab.
    There are sure many work-arounds for these, but I am looking for a cleaner, clearer, or best way to handle this scenario.
    regards,
    pino

Maybe you are looking for

  • New Home Movies from iTunes not showing up on Apple TV

    I edit a lot of home movies in Final Cut. When I am done I use "Compressor" to convert the uncompressed movie files to an Apple TV format. The problem I am having now is that after I import them into iTunes they aren't showing up on either of my two

  • New Ipod Nano Wrong adres

    Hello. I'm a boy from the Netherland and I've a problem I did request a new Ipod from APPLE Ipod NANO 1 Gen. I received a box and something to send it with UPS. Then i have a problem. THe name of the adres is an ANOTHER person and not my Adres. What

  • No internet for WRT54G ver. 5

    lately, I've had to connect straight to my computer from my modem and my family hasn't gotten any internet from me. Things I have tried, unplugging, and plugging in router AND modem. I've tried restarting my computer aswell. Yesterday I got a xbox360

  • Firewall sync between datacentres

    Chaps, I have two data centres in HA mode - one active and one standby - if the active was to go offline due to a failure we would like the standby DC to take over as the active DC for the period of failure. Now to do this we need to keep everything

  • Information on who has updated a row in a table

    i need to check who has updated a row in my schema, including its username, time log on and ip address - most important is it possible for me to track ? in oracle ?