Call task flow action from dialog

I want to call an action from task flow when i press OK on my dialog
it was work when i was calling it after i press on button,

if i drag task flow in page and add button in this page I can select one of the actions in task flow in the property inspector panel, ACTION filed of this button
so when i click on this button the browser will to to the destination of the action
how can i do that if i have dialog instead of button
and sorry for my bad english

Similar Messages

  • Calling task flows return activity from Jspx page.

    Hi ,
    Using JDev11.1.1.6
    I have created template for home page, drag and dropped the task flow(Main Task flow) as region.
    Main task flow contains other 2 taskflows with control flows and other 2 taskflows contains Task flow return activity to navigate back to Main task flow.
    I need to call task flow return activity from jspx page.
    How it can be acheived? can you please suggest me.
    Thanks and Regards,
    Raj Gopal K

    Hi,
    My use case is to close the child task flow and navigate back to main task flow. This should be done through homePage.jspx(whch contains main task flow).
    What i have done:
    Having page template which has logout and home page links. Use this template to create homePage.jspx, Next drag the main task flow to create a region inside the homePage.jspx.
    Thanks,
    Rajgopal K

  • What is the best way to call a pageflow action from JavaScript?

    What is the best way to call a pageflow action from JavaScript?
    Thanks,
    John

    John,
    How would I do this from a grid??? Unfortunately there are no JavaScript attributes
    on any of the grid tags that I can see.
    Thanks,
    John
    "John H" <[email protected]> wrote:
    >
    Thanks John!
    "John Rohrlich" <[email protected]> wrote:
    John,
    If you want to put up a confirm dialog before calling an action from
    an
    anchor it is done as follows.
    Here is an example from code of mine that deletes a customer order,if
    the
    user confirms the delete. I pass the order id as a parameter.
    - john
    Here is the JavaScript -
    function confirmDelete() {
    if(confirm('Continue with order delete?'))
    return true;
    else
    return false;
    Here is a sample anchor tag -
    <netui:anchor action="requestToDeleteOrder" onClick="return
    confirmDelete(); return false;">
    Delete
    <netui:parameter name="orderId" value="{container.item.orderId}"/>
    </netui:anchor>
    "John H" <[email protected]> wrote in message
    news:402138f5$[email protected]..
    Thanks for the replies. I figured it was going to require buildingmy own
    url
    to call the action. I had hoped there was an easier way to do it.Rich,
    the
    reason I want to do this is because I want to call the JavaScript
    function
    confirm()
    when a user clicks on a link (in a repeater/grid) to drop a record,I only
    want
    to call the drop action if the user confirms the drop. Maybe thereis a
    better
    way to do what I am trying to do??? I really appreciate any help
    you
    guys
    can
    give me on this, I am pretty new to this sort of stuff.
    Thanks,
    John
    "Rich Kucera" <[email protected]> wrote:
    "John H" <[email protected]> wrote:
    What is the best way to call a pageflow action from JavaScript?
    Thanks,
    JohnTry figuring out the URL to the pageflow action, create a hidden
    form
    in the
    page, then use JS to submit the form. Why would you want to though,
    isn't
    the server going to want to send you to the next page?

  • Task Flow Run as Dialog problem - Jdev 11.1.2.4.

    We're using Jdeveloper and ADF 11.1.2.4 and have problems running task flow as dialogs(inline popup) but just on Internet Explorer(ver 8,9,10). First time when we call task flow it opens popup but dispaly error Page not found. But task flow is regulary displayed at second call, and evry other call(click on a button). And on all other browsers (Chrome, FireFox) is working normally, aswell as on 11.1.2.1 version.
    I assume that problem is that for the first time BTF is not activated, but have no idea how to solve it.
    I have found at Known Issues for 11.1.2.4 version that:
    Popup components with the childCreation attribute set to "deferred" often render blank with the first invocation. This issue arises if you use the popup component with a region and use the setPropertyListener tag to establish the activation of the region. The setPropertyListener tag with a popupFetch type will not be invoked for the initial fetch establishing the initial content delivery. This is because the markup that defines the setPropertyListener tag is defined within the popup's body. With the option to defer creating the children, the body is not processed until the first fetch for content. The popup fetch event listener (setPropertyListener) is processed in the Apply Request Values phase prior to when it is created in the Render Response phase. The workaround is to use the "popupFetchListener" method expression (PopupFetchEvent server-side event) to establish state that would have been established using the setPropertyListener.
    But still have no idea how it is connected to Run As Dialog feature of Task Flows.
    Please, help us to solve this beacuse our users mostly use IE.
    Thank you,
    Patrik

    No, there is no workaround for this.  You can open a SR and let Oracle work on this. We can't do anything about it.
    Why can't you install jdk 1.6?
    You can have more then one jdk installed on your pc.
    You can use in jdk which comes with the installation package,
    Timo

  • ADF11 - Task-Flow Run as Dialog Window Size

    Hello
    I've an unbounded task flow that calls a bounded task flow.
    The task flow call is marked run-as-dialog
    The button in the unbounded task flow that calls the bounded task flow has useWindow=True
    When running the application and clicking the button the task-flow is executed in a modal browser window,
    however the size of the modal browser window is way too small for the window contents.
    Is there a way to control the size of the browser window opened when running a task-flow as a dialog.
    Regards
    Paul

    Hi Frank
    Do you know of a good optician, I think I need some glasses :-)
    The hight and width proprieties of the command button did the trick.
    Kind Regards
    Paul

  • How to call multiple strus actions froma single jsp

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

    how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
    Thanks in advance

  • Call SAP GUI actions from Web UI

    We have upgraded our CRM system from 4.0 to 7.0. In CRM 4.0 we have some complex actions used in service order. We would really like to be able to reuse those SAP GUI actions from Web UI service order since it would require a lot of work to rewrite them in BSP.. Is it possible to call a SAP GUI action from Web UI? How do we do this?
    Regards Andreas
    Edited by: Andreas on Jan 17, 2011 1:58 PM

    That was very helpful information. I can now see the available actions. The problem now is that one of the SAP GUI actions is using dialog program technique, like CALL SCREEN 9001... Is there a way to handle this also from Web UI or is it impossible?
    Thanks and regards
    Andreas

  • How to call a struts action from a JSF page

    I am working on a small POC that has to do with struts-faces. I need to know how to call a struts ".do" action from a JSF page..
    Sameer Jaffer

    is it not possible to call a action from the faces submit button and/or the navigation?
    This a simple POC using struts-faces exmaples.
    Here is my struts-config and faces-config file.
    <struts-config>
    <data-sources/>
    <form-beans>
      <form-bean name="GetNameForm" type="demo.GetNameForm"/>
    </form-beans>
    <global-exceptions/>
    <global-forwards>
      <forward name="getName" path="/pages/inputname.jsp"/>
    </global-forwards>
    <action-mappings>
      <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
       <forward name="sayhello" path="/pages/greeting.jsp"/>
      </action>
    </action-mappings>
    <controller>
        <set-property property="inputForward" value="true"/>
        <set-property property="processorClass"
                value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    </struts-config>faces-config
    <faces-config>
    <managed-bean>
      <managed-bean-name>calculate</managed-bean-name>
      <managed-bean-class>com.jsftest.Calculate</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>GetNameForm</managed-bean-name>
      <managed-bean-class>demo.GetNameForm</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
      <from-view-id>/calculate.jsp</from-view-id>
      <navigation-case>
       <from-outcome>success</from-outcome>
       <to-view-id>/success.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
       <from-outcome>failure</from-outcome>
       <to-view-id>/failure.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    <navigation-rule>
      <from-view-id>/inputNameJSF.jsp</from-view-id>
      <navigation-case>
       <to-view-id>/pages/greeting.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    </faces-config>in my inputNameJSF.jsp (faces page)
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Say Hello!!</title>
    </head>
    <body>
    Input Name
    <f:view>
         <h:form >
              <h:inputText value="#{GetNameForm.name}" id = "name" />
              <br>
              <h:commandButton id="submit"  action="/greeting.do" value="   Say Hello!   " />
         </h:form>
    </f:view>
    </body>
    </html>I want to be able to call the struts action invoking the Action method in the that returns the name
    package demo;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class GreetingAction extends org.apache.struts.action.Action {
        // Global Forwards
        public static final String GLOBAL_FORWARD_getName = "getName";
        // Local Forwards
        private static final String FORWARD_sayhello = "sayhello";
        public GreetingAction() {
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            String name = ((demo.GetNameForm)form).getName();
            String greeting = "Hello, "+name+"!";
            request.setAttribute("greeting", greeting);
            return mapping.findForward(FORWARD_sayhello);
    }Edited by: sijaffer on Aug 11, 2009 12:03 PM

  • Calling process flow / mapping from comand line on client machine?

    Looking to call a process flow / mapping from a commad line on the client machine. Online research has found some attempts at it, but nothing solid. I'd like to test this functionality so that I can eventually build these calls into a wrapper used by an enterprise scheduler.
    Thanks

    what oleg2 is writins is oke but I think
    it is easier to write you one wrap around this sql-call, because then you have to parse some parameters and do other additional stuff
    PROCEDURE "P_EXECUTE_WORKFLOW"("P_WORKSPACE" IN VARCHAR2, "P_LOCATION_NAME" IN VARCHAR2, "P_WORKFLOW_NAME" IN VARCHAR2, "P_CUSTOM_PARAMS" IN VARCHAR2 DEFAULT '","', "P_SYSTEM_PARAMS" IN VARCHAR2 DEFAULT '","') ;

  • Function to call Process-flows/mapping from SQL

    Hi All,
    Can any one of you send me the function to call process-flows/mappings (eg: I have 10 mapping/Process-flows). It is an urgent requirement pending in my final testing.
    Plz help me in this regard.
    Regards

    Hi
    All information that you need, you can find in $ORACLE_HOME/owb/rtp/sql/. BAsically all executions in owb is called through wb_rt_api_exec package.
    for example:
    declare
         variable exec_return_code number;
         procesflow varchar2(255);
    plsqlname varchar2(255);
    begin
    -- Initialize Return Code
    exec_return_code := owbrt_sys.wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    procesflow:='WF_X1';
    plsqlname:='MP_X1'
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('OWF_LCTN','PROCESS',procesflow, ' ' );
    if exec_return_code = 1 then
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('STAGE_LCTN','PLSQL',plsqlname, ' ' );
    end if;
    end;
    Regards

  • Calling other pageflow action from header

    hi
    I want to call an action from header bt it throws global app exception and if i give .jsp path in href then the headers nad footers are not coing
    plz help me out

    you can use <netui:anchor> tag in your header jsp to call an action that is defined in Main Controler.jpf
    Since header is not part of any portlet, any actions that you want to call from header should be defined in Controler.jpf file which is under your WebApp.
    But when you do this, you might loose portal context. so you can only use this solution to implement 'logout' or similar functionality where you dont care about portal context after the call.
    Another solution is to mimic the url that portal generates when we call a pageflow action. this is not a clean solution but it works and you won't loose portal context.
    -Subba

  • SavePointException occurring when closing task flow ran as dialog

    Hi,
    JDeveloper: 11.1.1.5
    Whenever I close a task flow that is run as a dialog, either using the 'X' button at the top, or by executing a return activity, I am getting the following exception. Before when I attempted to close the dialog, I would get a warning about unsaved changes, but I wouldn't get any exceptions. Any idea what is going on?
    <ControllerState> <deliverWindowCloseEvent> ADFc: Exception thrown by window close listener.
    oracle.adfinternal.controller.savepoint.SavePointException: ADFC-08011: The JNDI connection name is not specified in configuration file adf-config.xml.
         at oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:54)
         at oracle.adfinternal.controller.savepoint.SavePointUtil.createAndLogSavePointException(SavePointUtil.java:38)
         at oracle.adfinternal.controller.savepoint.SavePointDBConnectionFactory.getConnection(SavePointDBConnectionFactory.java:104)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.getConnection(SavePointDBPersistManager.java:188)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.createAndExecuteStatement(SavePointDBPersistManager.java:709)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.createTable(SavePointDBPersistManager.java:173)
         at oracle.adfinternal.controller.savepoint.SavePointDBPersistManager.insertSavePoint(SavePointDBPersistManager.java:205)
         at oracle.adfinternal.controller.savepoint.DBSavePointManagerImpl.storeSavePoint(DBSavePointManagerImpl.java:126)
         at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.storeSavePoint(SavePointManagerImpl.java:263)
         at oracle.adfinternal.controller.savepoint.SavePointManagerImpl.createAndStoreSavePoint(SavePointManagerImpl.java:228)
         at oracle.adfinternal.controller.savepoint.SavePointCreateListener.windowClosed(SavePointCreateListener.java:53)
         at oracle.adfinternal.controller.state.ControllerState.deliverWindowCloseEvent(ControllerState.java:1920)
         at oracle.adfinternal.controller.state.ControllerState.windowClosed(ControllerState.java:1931)
         at oracle.adfinternal.controller.application.WindowIdProviderImpl.windowClosed(WindowIdProviderImpl.java:221)
         at oracle.adfinternal.view.faces.context.RichPhaseListener._handleWindowClosed(RichPhaseListener.java:579)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:288)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:399)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 912202 on Sep 20, 2012 12:44 AM

    Hi Frank
    Do you know of a good optician, I think I need some glasses :-)
    The hight and width proprieties of the command button did the trick.
    Kind Regards
    Paul

  • Calling A Report Program From DIALOG Program ?

    Hi helping Minds ,
    My requirement is like....
    I have a screen, where Datas Are displayed after all the calculation in TABLECONTROL .
    The user wants a button REPORT on the same Screen ,
    By clicking the REPORT button, it will call a SELECTION SCREEN to enter tthe input to dispaly the report list.
    After entering the data in selection screen , it will display the LIST output ,
    So my doubt is I have all the Data in * DIALOG SCREEN* ,which i have  stored in INTERNAL TABLE .
    and when i will dispaly the output i have to dispaly all those data which are in those INTERNAL TABLE. so how to transfer those INTERNAL TABLE data of Dialog Screen to REPORT , so that i can Dispaly them in LIST OUTPUT in report .
    Pls suggest me ?

    Hi,
    If i am not wrong.....you have the data to be displayed as a report in an internal table......when report button is pressed you want to display one selection screen .....and depending on the selection screen input search you want ti segregate the data of this internal table ...and show as list display.......
    if that is the case .....store the internal table data globally .....and ...when that button is clicked call the selection screen by usong POPUP_GET_VALUES.. with the requred fields or call your own screen  with the layout designed .......and get the search criteria data and sort the internal table according the search adn display in ALV ......for ALV creation in module pool see the link below ...
    [alv in module pool]
    Thanks,
    Shailaja Ainala.

  • Call a user action from a plugin

    Hello
    Is it possible to call an action made by a user, if yes how I can retrieve it (by its name ?) and is it possible to set some arguments of the action ?
    Thanks

    here it is a sample of how PlayActionEvent method could be used:
    ASErr
    AIArtHandleModifier::Rasterize()
              AIErr result = kNoErr;
              AIActionParamValueRef valueParameterBlock = NULL;
              ActionDialogStatus dialogStatus = kDialogOff; 
      try
                        result = sAIActionManager->AINewActionParamValue(&valueParameterBlock);
                        aisdk::check_ai_error(result);
                        if (valueParameterBlock)
                                  //set valueParameterBlock values (params) before calling
                                  //PlayActionEvent method.
                                  //It's up to you to set it
                                  result = sAIActionManager->PlayActionEvent("ai_plugin_rasterize", dialogStatus, valueParameterBlock);
                                  aisdk::check_ai_error(result);
                                  result = sAIActionManager->AIDeleteActionParamValue(valueParameterBlock);
                                  aisdk::check_ai_error(result);
              catch(ai::Error& ex)
               //Do something with this!!!
      return result;
    Regards,
    Thomas.

  • Bounded Task Flow as Dialog - 404 Not Found

    I am attempting to call a bounded task flow as an inline dialog from a view activity in my unbounded task flow. When the bounded task flow is invoked, I am presented with a dialog which contains a "404 Not Found" error. I thought that I had this right based on what I read in the developers guide:
    1. In my unbounded task flow, create a task-flow-call activity
    a. Set the "Run As Dialog" behavior to "true"
    b. Set the "Display type" to "inline-popup"
    2. Add a named control flow which associates a view activity to the task-flow-call activity.
    3. In the related view activity page, add a command control with the "action" set to the name of the control flow, and "useWindow" set to "true".
    4. In my bounded task flow, add a view activity which points to the JSF document (jsfx) that I want to display in the dialog.
    5. I add a task flow return activity to my bounded task flow, and a control flow that associates the view activity with the return activity.
    6. In my page fragment, I add a cancel button which invokes the control flow from the view activity to the return activity.
    Run
    When I click on the command button which invokes the bounded task flow as an inline pop-up, and I see an inline pop-up which contains the 404 page not found error.
    I must be missing something fundamental here. I've scanned all the doc and the forum, but I don't see it. Will someone please point it out to me?
    Cheers
    Edited by: gratuitious on Mar 24, 2011 5:03 PM
    Edited by: gratuitious on Mar 24, 2011 5:07 PM

    I appreciate the response, but I am actually building an ADF application that I am running in the JDeveloper embedded WebLogic Server. These instructions are for deploying a task form composite app to a standalone WLS.
    I'm just trying to run a bounded task flow in a dialog as described here: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/taskflows_dialogs.htm#BABBAFJB
    However, I get the 404 Not Found error when I invoke the bounded task flow from a command control. The dialog appears, but the default page of my bounded task flow is not in it.
    Seems like this has to be a simple problem to fix. Anyone?
    Thanks

Maybe you are looking for