ScrollBar Behaviour of ADF Taskflows rendered as Inline Popup

Hi All,
I am using Jdeveloper 11.1.1.5.
I have created a bounded Taskflow and then i have used two other taskflow in my current taskflow as Inline Popup.Functionality wise everything works fine but if my given taskflow size i.e the window width and height parameters are small then the page content then automatically the Scroll bar comes into the Taskflow at runtime.
It is good to have a scroll bar automatically but it doesn't work in a correct manner. When my page render , the scroll bar is situated at the edges of the taskflow .Now if i go down , automatically scroll happens and comes to the default position.
This makes users bit in a hazy situation. I don't want the scrollbar in the ADF Taskflow which rendered as Inline Popup.I want the scrollBar inside thr page which can help users to do scroll in a proper way.
Is there any way to achieve this ?
Regards,
Shah

Hi All,
Any suggestions please on this.
Regards,
Shah

Similar Messages

  • ADF taskflow rendering problem during run time

    Hi
    I have my webcenter portal application created with login.jspx page
    I have dragged and dropped my bounded taskflow(login-taskflow.xml) into my page as region
    I can able to see my default page fragment content  at design time. But it is displaying empty page at in run time. Region contents are not getting displayed
    Login-taskflow.xml contains two page fragments login.jsff,firstTimeHere.jsff
    Code of Login.jspx:
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
       <f:loadBundle basename="oracle.webcenter.portalframework.sitestructure.resource.PortalAppPageResource"
                    var="portalResource"/>            
      <f:view>
          <af:document title="#{portalResource['login_title']}" id="d1">
           <af:form id="f1">
         <af:panelStretchLayout id="psl1" bottomHeight="0px">
              <f:facet name="center">
              <af:panelStretchLayout id="psl2">
                   <f:facet name="center">
                    <af:panelGroupLayout id="pgl1" halign="center">           
               <af:region value="#{bindings.Logintaskflow1.regionModel}" id="r1"/>
              </af:panelGroupLayout></f:facet></af:panelStretchLayout></f:facet></af:panelStretchLayout>
          </af:form> </af:document>
              </f:view></jsp:root>
    I want to confirm is it because of surrounded tag elements of <af:region>.
    Help me in this.

    loginPageDef.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.55.96" id="loginPageDef"
                    Package="oracle.webcenter.portalapp.pages">
      <parameters>
        <parameter id="page_info"
                   value="title=login;desc=;keywords=;createdBy=weblogic;createDate=2014-12-22T15:54:32;lastUpdatedBy=weblogic;lastUpdateDate=2014-12-22T15:54:32;permissionClass=oracle.webcenter.security.auth.HierarchicalResourcePermission;target=serviceID=oracle.webcenter.page,scopeID=s8bba98ff_4cbb_40b8_beee_296c916a23ed,resourceID=/oracle/webcenter/portalapp/pages/login.jspx;excluded=false;style="/>
        <parameter id="page_title" value="login"/>
      </parameters>
      <executables>
        <variableIterator id="variables"/>
        <page viewId="${preferenceBean.defaultPageTemplate}"
              id="pageTemplateBinding" Refresh="ifNeeded"/>
        <taskFlow id="Logintaskflow1"
                  taskFlowId="/WEB-INF/Login-taskflow.xml#Login-taskflow"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
      </executables>
      <bindings/>
      <permission permissionClass="oracle.webcenter.security.auth.HierarchicalResourcePermission"
                  target="serviceID=oracle.webcenter.page,scopeID=s8bba98ff_4cbb_40b8_beee_296c916a23ed,resourceID=/oracle/webcenter/portalapp/pages/login.jspx"
                  xmlns="http://xmlns.oracle.com/adf/security">
        <privilege-map operation="create" privilege="create"/>
        <privilege-map operation="delete" privilege="delete"/>
        <privilege-map operation="edit" privilege="update"/>
        <privilege-map operation="personalize" privilege="personalize"/>
        <privilege-map operation="view" privilege="view"/>
      </permission>
    </pageDefinition>
    But the same code is working in Fusion web application project.

  • ADFc: No view port found when using both Browser dialog and TF inline-popup

    Hi,
    Using JDev 11.1.1.2.
    We have a table with data and two commandlinks. One navigates to a task-flow-call configured to "run as dialog" in a modal inline-popup. This opens a modal inline-popup that can be used to modify the data.
    The second command link navigates to view (using the dialog: syntax) that opens a second browser window, displaying a jspx that retrieves an image from a servlet.
    Both dialogs can be opened and closed multiple times if I use only one of them in a session, but once I have opened the browser dialog popup, opening the inline-popup gives an exception (see below).
    The inline-popup actually shows, but instead of the taskflow inside it it shows "The website cannot display the page".
    From debugging the source code, I see that the StateInstanceIdFromRequest (ControllerState:288) when opening the inline-popup is the ctrl-state from the main browser window address bar, r01nnp3js_9.
    Then when the taskflow inside the inline-popup is opened, the StateInstanceIdFromRequest is r01nnp3js_13. If I open and close the inline-popup multiple times, this instanceid stays the same.
    Until I open the browser dialog window with the second commandlink, the StateInstanceIdFromRequest for the view inside this dialog window is r01nnp3js_31, matching the ctrl-state from the dialog window address bar.
    After closing the browser dialog window and clicking the first commandlink, the inline-popup shows but the StateInstanceIdFromRequest for the taskflow inside it is no longer r01nnp3js_13, but r01nnp3js_31!!
    This is the InstanceID from the browser window that was closed!! This is incorrect and I think that the wrong StateInstance is looked up (ControllerState:304).
    This results in an NPE (ControllerState:330) because the CurrentViewPort (looked up from mAllViewPorts with the wrong currentViewPortContextId) is null.
    This is the stacktrace:<ControllerState><getViewPort> ADFc: No view port found with ID 'r01nnp3js_32'.
    <ControllerState><getViewPort> ADFc: No view port found with ID 'r01nnp3js_32'.
    08-jun 10:53:16 DEBUG     2/avravr001 (MnSessionContextFilter) ----- REQUEST START ----
    08-jun 10:54:31 DEBUG     2/avravr001 (MnSessionContextFilter) ----- UNCAUGHT UNCHECKED EXCEPTION DURING REQUEST: NullPointerException, null ----
    08-jun 10:54:31 DEBUG     2/avravr001 (MnSessionContextFilter) ----- REQUEST END ----
    <8-jun-2010 10:54:31 uur CEST> <Error> <HTTP> <BEA-101017> <[ServletContext@12329770[app:KlantbeeldPME module:KlantbeeldPME path:/KlantbeeldPME spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f0f81e[
    GET /KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true&_afrLoop=2956086037750&_afrWindowMode=0&_afrWindowId=_adfvdlg HTTP/1.1
    Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Referer: http://127.0.0.1:7101/KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true
    Accept-Language: nl
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: JSESSIONID=H5k3MTDDTCpbCqjPhf1pWyJ2tsl3JBC3PTDXpQVzh8Fx74BJdLk6!1966224151
    ]] Root cause of ServletException.
    java.lang.NullPointerException
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:330)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:101)
         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)
         Truncated. see log file for complete stacktrace
    >
    <8-jun-2010 10:54:31 uur CEST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 8-jun-2010 10:54:31 uur CEST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 8-jun-2010 10:54:31 uur CEST SERVER = DefaultServer MESSAGE = [ServletContext@12329770[app:KlantbeeldPME module:KlantbeeldPME path:/KlantbeeldPME spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@f0f81e[
    GET /KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true&_afrLoop=2956086037750&_afrWindowMode=0&_afrWindowId=_adfvdlg HTTP/1.1
    Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Referer: http://127.0.0.1:7101/KlantbeeldPME/faces/adf.dialog-request?_adf.ctrl-state=yg04i5vly_47&_rtrnId=1275987194538&__ADFvDlg__=true
    Accept-Language: nl
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: JSESSIONID=H5k3MTDDTCpbCqjPhf1pWyJ2tsl3JBC3PTDXpQVzh8Fx74BJdLk6!1966224151
    ]] Root cause of ServletException.
    java.lang.NullPointerException
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:330)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:101)
         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)What are my options here? How can I influence the ctrl-state of an inline-popup? Can a browser dialog window be disposed somehow and would that matter?
    oracle.adfinternal.controller.state.ControllerState is an adfinternal class, what is the best way to hook into this and fix it?
    Thanks and regards,
    Gerben

    Thanks Frank. I'm not sure how to do that, but I'll create a SR on the SID of my customer and refer to this thread.
    regards,
    Gerben

  • Help need on Validations in inline-popup task flow

    Hi,
    I create a adf application, which refer ready only table and in toolbar, there are some button, which used to insert and edit records. For insert and edit i used a edit.jspx page which come as a inline poup in taskflow. In inline popup i used a button called submit, which used for two purposes.
    1) To validate two fields(ex:- effectiveto should be greather than effectivefrom)
    2) To close inline popup.
    i have done the validaitons using a managedbean and facesconfig.xml validators. My problem is can i do this both requirements by pressing only submitt button, i mean if validation are passed then automatically close the popup.
    Really appreciate if anyone can help me on this issue.
    Yaham.

    Hi,
    use the button "action" or "action listener" property to close the popup. Validation is processed after the apply request phase in the JSF lifecycle and thus comes before actions to be executed, which will be in invoke application phase.
    Frank

  • ADF taskflow and runtime Customizations

    Hi,
    I have a taskflow that contains panel customizable, which is deployed as adf library to my webcenter portal application.
    When I open resorces catalog in composer mode at runtime I am able to add an instance of the taskflow to the page then add content into the customizable area.
    When I add another instance of the taskflow to a page anywhere in the portal it picks up the runtime changes i made to the first instance.
    Is there a way to stop this behaviour and allow multiple instances of a taskflow to run independently.
    My Taskflow:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <cust:panelCustomizable id ="pc1" xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
    layout="scroll" showEditAction="true"
    showSplitAction="true"
    rendered="#{Content.display}">
    <af:outputText id="ot1" value="EditId"
    binding="#{Content.ID}"
    rendered="#{securityContext.userInRole['Administrator']}"
    />
    </cust:panelCustomizable>
    </jsp:root>
    So the user can manipulate what goes into the content area at runtime.
    Regards

    Hi,
    To debug it on production, can you check on the hot-deployment area of Spaces apps to validate the shared library reference is updated in weblogic.xml is picked up:
    WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0/<depl_prefix>/war/WEB-INF/weblogic.xml
    - Substitute respective depl_prefix with latest hot deployment folder created inside WebCenter_Domain_Home/servers/WC_Spaces/tmp/_WL_user/webcenter_11.1.1.4.0 directory for your instance.
    Cross verify the shared library reference for the ADF taskflow is reflected in the weblogic.xml for the Spaces server to reflect it.
    I hope it helps
    Thanks,
    Pramod

  • 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

  • How to get BPM Payload attribute value in ADF TaskFlow

    Hi,
               Activities which I did : I have created ADF Project. Then I created ADF TaskFlow through 'ADF TaskFlow Based on Human Task' option by locating BPM task. So now TaskFlow is been generated and also respective dataControl value also generated. In TaskFlow I created new .jspx file. I am going to design this jspx page by drag and drop from VO instances from dataControl. So for this jspx page, at runtime value will be populated from DB Table.
                      My Requirement :  When the Flow initiated, there will be Parameter value passed to the TaskFlow through Payload which is available in DataControl. So now I based on the Payload parameter value I need to filter DBTable and show the respective value in jspx page which I created in TaskFlow. So getting Payload value and applying filter on VO based on Payload parameter value has to be done before rendering Page.
    I tried to achieve this schenario as like below :
           - Assume like there is attribute called 'transactionId', for which value will be passed to the TaskFlow through DataControl. I created VO based on EO and appended where clause as : "VO.Trans_Id = : bindVar". Created bindVariable called 'bindVar'. In jspx page I just Drag and Dropped VO instance as form. And also I drag and Dropped 'transactionId' as outputText from Payload. And also I created ExecuteWithParams in Binding section of PageDef and mapped that one with invokeAction item in executable section. So now both payload Iterator and invokeAction  will be created in PageDef. I kept Iterator as in the order of : PayloadIterator at first and InvokeAction second one, So that at runtime it will execute in that order. And also I given "refresh" property to payloadIterator and invokeAction to 'renderModel' and I mapped PayloadIterator id to  refreshAfter property of InvokeAction iterator. Now at runtime, So at runtime updated/Newvalue will be retrived to Payload attribute by executing payloaditerator. So now for 'transactionId' value vill be retrieved. Next invokeAction will take value from newly retrieved 'transactionId' as input and execute query. So now VO will be filtered and need to be shown. But instead of that getting error saying like 'No outcome metadata specified for method call activity 'null'.'
    Is this way is correct? If yes, then What mistake which I have done?
    Is any other way to acieve this schenario?
    Do the needful.
    Thanks with Regards,
    PraveenKumar.N

    Guessing you might have looked at this at some point, but you might want to consider using the setCurrentRowWithKeyValue method to do this.
    Here's a blog post that I wrote a while back that goes through step-by-step what I think you're trying to accomplish:  Using a BPM Process Variable on an ADF form to Retrieve Database Information | AVIO Consulting
    Hope this helps,
    Dan

  • Issue with nested inline popup taskflow while try to return back to parent.

    Hi Adf Experts,
    I have been facing one issue. Would you please give me how can I solve this issue which address my scenario. I greatly appreciate your help.
    My Scenario:
    I have ViewA which opens inline popup page ViewB. On ViewB also have another inline PopUp page ViewC (i.e. nested inline popup). On ViewB, there is back button which taskFlow return call and navigate back to ViewA. I need to implement same Back trigger event from ViewC (Back Button)to ViewA. For this, I am using ReturnListener on ViewB button which opens ViewC inline page. On returnListener, I have used ViewB back button ActionEvent queue. like:
         RichCommandButton buttonBack;
         public void onReturn( ReturnEvent returnEvent )
              ActionEvent ae = new ActionEvent(buttonBack);
              buttonBack.queueEvent( ae );
    Output Scenario:
    While running from ViewB, it fires same Back Button action from ViewC back button. No issue at all.
    But when I run from ViewA upto ViewC page and on fire back button, I have been facing issue like below.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    java.lang.NullPointerException
         at oracle.adfinternal.controller.application.AdfcDirtyPageHandler.getUncommittedDataWarning(AdfcDirtyPageHandler.java:38)
         at oracle.adfinternal.view.faces.context.DirtyPageContextImpl$1.invokeContextCallback(DirtyPageContextImpl.java:74)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #3
    java.lang.NullPointerException
         at oracle.adfinternal.controller.application.AdfcDirtyPageHandler.getUncommittedDataWarning(AdfcDirtyPageHandler.java:38)
         at oracle.adfinternal.view.faces.context.DirtyPageContextImpl$1.invokeContextCallback(DirtyPageContextImpl.java:74)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.context.DirtyPageContextImpl.initDirtyPageContext(DirtyPageContextImpl.java:58)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.beforePhase(RichPhaseListener.java:252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:278)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         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)
    ...........

    Hi,
    I have a similar issue.
    I have a page (search page) from where i open another dynamic tab(UI dynamic tab shell pattern).
    In this second tab, I open a new jspx using "dialog:open" in my taskflow (of the second tab).
    Now when I navigate to my first tab with advanced search and try executing my search, a managed bean method is called where I have a line of code as follows:
    DCIteratorBinding statusIter = (DCIteratorBinding)getBindings().get("myIterator");
    At this line the statusIter comes as "null" and hence my search fails with the following exception:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         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:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         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:136)
         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:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException
         at com.guycarp.soa.mf.ui.bean.MessageTrackingListBean.createAndExecuteMessageTrackingSearchCriteria(MessageTrackingListBean.java:228)
         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 com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 50 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #3
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         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:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    Is there any specific setting which should be done in a taskflow or a page which opens another page using dialog:openwindow?? And why does this effect any other taskflow?
    Any pointers to resolve this are appreciated.
    Thanks in Advance!
    -Swapna

  • 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

  • ContentPresenter ADF Taskflow - Avoid re-write of content URL

    Hello,
    I see content presenter ADF taskflow has a feature that re-writes content URL. In my case, i show a HTML content item in content presenter which contains a download link to a DOC file present in UCM (as below). On render, internally content presenter re-writes the URL as below.
    Experts: I want to know if there is any way to override this feature of content presenter.
    1) Its not just ".doc" extensions, any link starting with "/cs" is re-written by content presenter
    ContentPresenter - Avoid re-write of content URL
    Original HTML from UCM:
    Please <a href="/cs/groups/asset/documents/contenttype1/~asded/ad1.doc"> click here </a> </p>
    Rendered as below by Contentpresenter:
    Please <a href="/appcontent/faces/oracle/webcenter/sitestructure/render.jspx?datasource=UCM%23dDocName%DOC_CONTENTID"> click here </a> </p>
    Appreciate help.
    PS: This Taskflow was OOTB built for WebCenter and may be should be part of that forum, but given frequency of responses, I have add here.

    Hi.
    As you said, Content Presenter has a urlRewriterClass in the service definition of type oracle.webcenter.content
    My recommendation is to open an Oracle-SR to ask Oracle for the best approach or what to do with it.
    A solution can be overwrite the Java Class of the rewriter just to avoid the transformation of the URL. It isn't recommendable.
    I hope it helps.
    Regards.

  • New ADF Taskflow transaction acquires a new JDBC connection?

    Hi,
    I would like to know more about ADF Taskflow transaction in relation to JDBC Connection.
    tf1 ----(contains)---- page1 and call to tf2
    tf2 ----(contains)---- page2
    page1 - search objects
    page2 - edit objects
    I have two pages part of two taskflows, first taskflow does not create any transaction but the page1 in tf1 shows a searh screen for objects. I want to use transaction behavior of ADF TF for tf2 which is called in tf1.
    My tf2 contains a page for edit objects, if i set New transaction as TF transaction behavior for tf2.
    Does it really acquire a new JDBC connection?
    I really appreciate if someone can help me with this.
    Thanks,
    Sunil.

    "Is there any way to achieve 1 user ---> 1 connection ?"
    I don't claim to be an expert on answering this as there's still a lot of things I need to investigate, and other's in the forum may chime in with more informed answers, but my understanding is you need to:
    a) Use a single root AM
    b) Configure your BTFs to use "shared data control scope" and the same AM
    c) All of your BTFs should use "Use existing transaction if possible"
    Because of "c", the very first BTF called, will not have a transaction to borrow, so it will establish a new transaction and therefore a new connection.
    An alternative is, and I'm on shaky grounds here so please check this for yourself, but you could set all your BTFs to "use no transaction", which implies I believe they switch back to the model used in JDev 10g, where it's purely your AMs that determine connections/transactions.
    As for saying 250 connections sounds very high, that's really up to you. If you build an application that you need to support a user with multiple transactions, it's your requirement that causes this. IMHO Oracle has given you the flexibility to build your application anyway you want, so it's up to you to decide if you want multiple concurrent transactions per user or not.
    Finally regards the behaviour observed in WLS, note that the AM pooling options can influence the behvaiour of connections, so it's hard to say what you're seeing is correct, it depends. A suggestion is to install Oracle's Fusion Middleware Control application and use that for monitoring statistics; the FMW Control has smarts built it to help you observe the AM pooling and connection pooling. Andrejus Baranovskis has a few blog posts describing how he used this to track the pooling options.
    CM.

  • Not able to get the value in ADF taskflow on load

    Hi,
    I have created an ADF task flow. I have created a ViewObject in this ADF taskflow and I am setting the value of this ViewObject using the java API.
    The issue is that i need to show the data when this ADF task flow executes first time.
    Currently I am getting the blank table in jspx page when ADF task flow is run. Now when I click on a button then I can see the required data in the table.
    Please help me to solve this issue.

    Thanks for the reply.
    I have tried placing the code to get the set the data in table and display the same from table in bean constructor, but I am getting table value as null.
    Looks like it is not able initialize the table until the jsff page gets loaded.
    Does jsff page gets loaded after bean constructor method gets called ?

  • Custom ADF Taskflow to be displayed as part of Human Task notification

    Hi all,
    I am trying to display a custom ADF taskflow as part of notification of a Human Task. I see multiple ways of implementing it and need guidance on how to go about this.
    As a first step, I created a taskflow based on the human workflow task. This is WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml. Then I see 2 options -
    Option 1 - Use setTaskDisplayUrl while creating the task
    oracle.bpel.services.workflow.task.model.Task task = objectFactory.createTask();
    String AppUrl = oracle.topologyManager.client.deployedInfo.EndPointProvider.getExternalEndpoint("xyzCommon");
    String taskflowUrl = AppUrl + "/faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml";
    task.setTaskDisplayUrl(taskflowUrl);
    Option 2 - Define the taskflow in the Enterprise Manager - Add or remove the URI for the user defined task details application.
    Setup the Application Name=worklist, Host Name, HTTS Port, URL=/xyzCommon//faces/adf.task-flow?_id=myTaskflow&_document=WEB-INF/oracle/apps/xyzcommon/activities/publicUi/worklist/flow/myTaskflow.xml
    Questions -
    1. Are both the above options required to get my notification correct or is just one of them enough? If one of them is enough, which is better to use?
    2. Is creating the taskflow from the human workflow task the only way to customize my notification to show a taskflow?
    Thanks,
    Srini

    Learnt that I need to follow this link and no explicit setting is required in code.

  • Easy way to evaluate a complex return type in adf taskflow

    Hi,
    I use a method call in adf taskflow where I call a bpel ws . This bpel has a complex return type. I want to evaluate in the taskflow router if STATUS==true . Can this be done with pageflowscope (in the method call , I have a return value) or do I need a methodIterator / accessorIterator in the pagedef.
    thanks edwin
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.47.96"
    id="process_Result" Package="nl.ordina.order.view.CreditCheck"
    BeanClass="nl.ordina.order.view.CreditCheck.process_Result"
    isJavaBased="false">
    <Attribute Name="STATUS" IsUpdateable="0" Type="java.lang.Boolean"/>
    <Attribute Name="LIMIT" IsUpdateable="0" Type="java.math.BigDecimal"/>
    <Attribute Name="REASON" IsUpdateable="0" Type="java.lang.String"/>
    </JavaBean>
    Here is the methodaction in the pagedef
    <methodAction id="process" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="process" IsViewObjectMethod="false"
    DataControl="CreditCheck" InstanceName="CreditCheck"
    ReturnName="CreditCheck.methodResults.process_CreditCheck_process_result">

    nice try,
    Unfortunately your method is easily circumvented by either 1.) disabling javascript in the browser preferences or 2.) viewing the source code for the page and clearly seeing the required password or 3.) simply bookmarking and visiting protectpage.html
    It may take you 5 mins. to password protect your iweb site by using the method you've described, but it would take a visitor less than a minute to bypass the password protection. You need server-side scripting like php to enable real password protection so that information is processed on the server before the page is loaded.

  • Javascripts and ADF Taskflows

    Hello All,
    I am using JDeveloper 11.1.1.5 (on Fedora 64-bit).
    This one has been driving me nuts for a while. I have uploaded a simple testcase here - http://dox.bijesh.info/SimpleJS.zip.
    In this particular testcase, I have an ADF taskflow composed of 2 page fragments. This taskflow is embedded as a region in a JSF page. Both the page fragments include some javascript embedded via af:resource and invoked through a clientListener on a button within each. Now, the JS on any page other than the "default activity" page does not get fired on the button action. It is as if the javascript did not get loaded at all. In fact when I examine this in Chrome, the error console shows an error as soon as I navigate to the second page fragment - "Uncaught ReferenceError: jspage2 is not defined".
    I have tried using trh:script and that had the same problem. This happens with referenced JS files (through the source attribute) too.
    My original use-case is to build a reusable Maps component which involves quite a bit of Javascript. Being a reusable library, I wouldn't ideally have control of where my taskflow will be embedded. And therefore embedding the JS in the initial pages is not a viable solution.
    All suggestions are welcome.
    Best Regards,
    Bijesh

    Hi Frank,
    First thanks for your answer.
    I moved my script this way:
    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core" xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
        <af:decorativeBox id="db2" theme="light" binding="#{backingBeanScope.beanDvtMapas.db2}" clientComponent="true">
            <f:facet name="center">
                <dvt:map startingX="-47.76" startingY="-18.84" mapZoom="2"
                         mapServerConfigId="mapConfig" baseMapName="CTBC_IREDES.MAPA_TASKFLOW"
                         inlineStyle="width:100%; height:450px;" id="m2"
                         srid="8292" unit="METERS" copyrightText="Todos os direitos são reservados à ALGAR TELECOM"
                         binding="#{backingBeanScope.beanDvtMapas.m2}">
                    <f:facet name="rtPopup"/>
                    <f:facet name="popup"/>
                </dvt:map>
            </f:facet>
            <f:facet name="top">
                <af:group id="grp" binding="#{backingBeanScope.beanDvtMapas.grp}">
                    <dvt:mapToolbar mapId="m2" id="mt2" showViewMenu="false"
                                    binding="#{backingBeanScope.beanDvtMapas.mt2}" showDistanceTools="false"
                                    showSelectThemeDialog="false" showSelectThemeMenuItem="false"
                                    showSelectionTools="false"/>
                    <af:commandButton text="escondido" id="cb1"
                                      binding="#{backingBeanScope.beanDvtMapas.cb1}" visible="false" clientComponent="true">
                        <af:serverListener type="clickMap"
                                           method="#{backingBeanScope.beanDvtMapas.recebeIpid}"/>
                    </af:commandButton>
                    <af:resource type="javascript" source="../js/mapUtil.js"/>
                    <af:resource type="javascript">
                         var temas = new Array();
                         temas[0] = 'PCM_DISTRIBUICAO';
                         temas[1] = 'CAIXA_TERMINAL';
                         var map = AdfPage.PAGE.findComponent( 'r1:0:m2' );
                        alert(map); //undefined
                        showMapWithThemes('m2', temas);
                    </af:resource>
                </af:group>
            </f:facet>
        </af:decorativeBox>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:beanDvtMapas-->
    </ui:composition>My script was loaded but it didn't find the components in the page fragments, what can I do to solve this question?
    Do you have a idea?
    Today I try to search the components this way:
    AdfPage.PAGE.findComponent( REGION_ID + 0 + COMPONENT_ID)[]s,
    Renan

Maybe you are looking for

  • Printer Unable to connect on Windows 8.1 64 bit based Lenovo Laptop.

    We have HP LaserJet 3030 all in one printer installed on Windows XP Professional. We are using LAN network to connect the printer on network. But our Printer Unable to connect on Windows 8.1 64 bit based Lenovo Laptop. Also check for windows update f

  • Canon Digital Rebel XTi RAW support?

    I just purchased a Canon Digital Rebel XTi and cannot get RAW files to import into iPhoto. I even tried the Image Capture trick (downloading to disk and then importing) to no avail. The file format is listed as CR2, which is supposed to be supported.

  • IPhoto, Upgrades, and Yosemite

    I have iPhoto  9.5.1 .  I can upgrade it through the App Store, assuming the upgrade is iPhoto and NOT Photo for Yosemite (I don't have Yosemite - was concerned about the issues I read about).  BUT I have additional  iPhoto libraries on two external

  • Imap portlet problem

    Hi, I have installed 9i AS 1.0.2.1 on NT and pdkmay.zip I am trying to use the imap portlet to check mail.I add the portlet I am able to see it. When I customize the portlet information and add information like server info, mailuser name etc. I am no

  • My iphonte will not activate and i have plugged it into the computer and it still doesnt work

    someone help?