How to invoke task flow navigation after closing inline popup?

Using JDev 11.1.1.3; I have a commandButton that currently executes task flow navigation when pressed. I need however to invoke an inline popup from the button press before executing (conditionally) the task flow navigation. The Action setting on the button then needs to be removed, but it's not clear where to reinstate it. I have the button executing some managed bean code, which conditionally invokes the inline popup, and when the popup (contains af:dialog) is closed, I have some more managed bean code that determines whether the task flow navigation should occur or not. What I need to know is how to fire off the Action from the managed bean. Any suggestions?
Thanks,

1. To add to Timo's solution:
you can call those code from DialogListener like:
public void dLstnr(DialogEvent dle){
if("ok".equalsIgnoreCase(dle.getOutcome().toString())){
FacesContext context = FacesContext.getCurrentInstance();
NavigationHandler nh = context.getApplication().getNavigationHandler();
System.out.println("1");
nh.handleNavigation(context, "", "go");
2. As another solution:'
you can have custom buttons and on one of then (say OK or Yes) you can call bean method like this as Action:
public String actionMethod(){
// DO YOUR LOGIC
return "NEXT_TARGET";
for Other button (say Cancel, NO) just close the popup.
Amit

Similar Messages

  • Invoke task flow from backing bean?

    Hi,
    Is there a way to invoke task flow from a backing bean? If yes, how?
    Thanks in advance

    Thanks Frank. I am not an expert with ADF so please bear with me if my questions doesn't make sense. Basically what I am trying to achieve is this.
    I have a taskflow and I am currently in a ui page which displays a page fragment inside this task flow. In this page, on click of a button, I need to call another task flow and show it in a adf popup. Is this the case referred in the pdf document that you pointed out?
    Thanks

  • When I use dynamic link how do I continue using it after closing and reopening a project?

    Hi
    Im very new to AF
    I cant seem to find the answer to this in any tutorials.
    When I using dynamic link, how do I continue using it after closing and reopening a perm pro project?
    Thanks
    Philip

    Hi Kevin
    Thank you very much for such a quick reply.
    I actually figured it out. As usual it was fairly obvious solution.
    I opened both project at the same time.
    Thanks again and sorry for waisting your time.
    R
    Philip

  • How to Direct control to application's window after closing the popup?

    Hi,
    I am using 10.1.3. In my application I am unable to direct control to application's window after closing the popup, if I open any other window at the same time.
    For more info see the below step:-
    -> Open any popup in my application.
    -> Open any new window (lets say Google.com).
    -> Now restore popup on Google window.
    -> Now close popup
              - control goes to Google window but not the parent application window.
    How to direct control to the parent window?
    Can anybody help me regarding this?
    Thanx...Abhijit

    Hi Abhijit,
    You can do this using Javascript alone. Below are the two sample files I created.
    main.html_
    <html>
    <head>
      <title>Testing popup</title>
      <script type="text/javascript">
      function openPopup() {
        window.open("popup.html");
      </script>
    </head>
    <body>
      <a hr_ef="javascript:openPopup()">Open popup</a>
      <input id="something" name="something" type="text" value="something">
    </body>
    </html>
    Note: hr_ef should be href. The code tags are messing with the link.
    popup.html_
    <html>
    <head>
      <title>This is the popup window</title>
      <script type="text/javascript">
      function goToMain() {
        window.opener.something.focus();
      </script>
    </head>
    <body onunload="goToMain()">
      This is the popup window. Close this window to return to main window.
    </body>
    </html>The idea is to call a javascript function in the popup window that tries to focus on an object (eg. InputText) in the main html.
    Although, one point to take note is the naming of html objects by by these ADF UI Components. If you named your form id as "*form1*" and input text id as "*something*", your input text id will end up as "*form1:something*".
    Therefore, you will have to tweak the code above to the following:
    <script type="text/javascript">
    function goToMain() {
      window.opener.form1['form1:something'].focus();
    </script>Regards,
    Chan Kelwin

  • Refresh the table after closing the Popup iView

    Hi all,
    I have list of survey in my table. In that table i have toolbar button(DELETE) for deleting the survey. While deleting the survey it asks the confirmation. If we click Ok it delete the selected survey and close the popup also. what I want is I should refresh the table after closing the Popup.How can i achieve this?
    Help me in this regard.
    Thanks & Regards,
    Hemalatha J

    Hi Hema,
    Check this link.
    Visual Composer - You can do anything....
    In this blog, they are used 'Refresh' Button and a Hidden 'Plain text' message to solve this problem. If you are satisfy with this you can take this solution.
    Or you can try to trigger the 'Submit' action of 'Input form' once again from the 'Popup window' when the 'Delete' button is clicked.
    Hope it helps...
    Regards
    Basheer
    Edited by: Basheer on Dec 23, 2008 8:03 PM

  • ADF mobile: how to link task flow to a list view item

    Hi
    I am trying to build a mobile app in adf and i created a popup on the left button on the header. this popup has a list view showing few options.
    now the requirement is to click on the option and navigate to that feature (which is created as a task flow).
    so, i am not sure how do like the task flow to the link in the listView of the popup. Please advise

    Well, if that list contains all features, you can use the 'features' from the ApplicationFeatures DC (they contain the ID, name, ... so you can use #{row.id} instead of hardcoding it).
    If that list does only contain a few features, you can make your own list.
    In your own backing bean or data control, you can get all the features by using:
            ApplicationFeatures af = new ApplicationFeatures();
            af.getFeatures();And filter them.
    An example that I made/use myself:
    It uses an commandLink to navigate because I need to be able to 'disable' (= not clickable) some features (it has the same look as an ListView).
    So iff just use the getFeatures(), you can use the ListView for navigation.
    <amx:iterator var="row" value="#{bindings.features.collectionModel}" id="i1">   
            <amx:tableLayout width="100%" id="tl2" inlineStyle="background-color:White;">
              <amx:rowLayout id="rl2">
                <amx:cellFormat width="50px" height="50px" halign="center" id="cf4" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:image source="#{row.icon}" id="i2" inlineStyle="width:40px;"/>
                </amx:cellFormat>
                <amx:cellFormat width="100%"  height="43px" id="cf3" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:commandLink text="#{row.name}" id="cl1" inlineStyle="color:Black; font-weight:bolder; font-size:110%;"
                                   disabled="#{!row.enable}">
                    <amx:setPropertyListener from="#{row.id}" to="#{pageFlowScope.feature}" />
                    <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                  </amx:commandLink>
                </amx:cellFormat>
              </amx:rowLayout>
            </amx:tableLayout>
          </amx:iterator>This my own data control :
    public class MenuDC {
        private ExtendedFeatureInformation[] features;
        private String message;
        public MenuDC() {
        public ExtendedFeatureInformation[] getFeatures()
            ApplicationFeatures af = new ApplicationFeatures();
            this.fillExtendedFeatureList(af.getFeatures());
            return features;
        private void fillExtendedFeatureList(FeatureInformation[] realFeatures)
            message = "";
            ModelController.getSingletonModelController().refreshMinorTables();
            features = new ExtendedFeatureInformation[realFeatures.length];
            for(int i = 0; i < realFeatures.length; i++) 
                boolean enable = true;
                FeatureInformation fi = realFeatures;
    if(fi.getId().equals("be.kpd.newDayReport"))
    if(ModelController.getSingletonModelController().getVarFormLocalDB(HardcodedVarCodes.LAST_SYNC).equals(""))
    enable = false;
    if(fi.getId().equals("be.kpd.overviewDayReport"))
    if(ModelController.getSingletonModelController().getRegisDFromLastSevenDays().size() == 0)
    enable = false;
    if(!enable)
    message = "SYNC_NEEDED";
    ExtendedFeatureInformation efi = new ExtendedFeatureInformation(fi.getId(),fi.getName(),fi.getIcon(),fi.getImage(),enable);
    features[i] = efi;
    public String getMessage() {
    return message;
    I made my own POJO which implements the FeatureInformation interface,
    because I needed an extra boolean attribute for disabling some features.
    public class ExtendedFeatureInformation implements FeatureInformation {
        private String id,name,icon,image;
        private boolean enable;
        public ExtendedFeatureInformation() {
            super();
        public ExtendedFeatureInformation(String id, String name, String icon, String image, boolean enable) {
            super();
            this.id = id;
            this.name = name;
            this.icon = icon;
            this.image = image;
            this.enable = enable;
        public String getId() {
            return id;
        public String getName() {
            return name;
        public String getIcon() {
            return icon;
        public String getImage() {
            return image;
        public boolean isEnable() {
            return enable;

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • ADF Mobile : task-flow navigation takes at least 500 milliseconds

    hi
    While navigating the CompGallery sample application [1] I noticed that navigation between (what looks like) simple pages/views was rather slow.
    Surely, this can be caused by different things (possibly the device, the app implementation, the framework, ...).
    To review this, I tried to build a simple example application using JDeveloper 11.1.2.3.0
    at http://www.consideringred.com/files/oracle/2012/NavigationTimeMApp-v0.01.zip
    and as APK at http://www.consideringred.com/files/oracle/2012/navigationtimemapp-v0.01.apk
    It has a bounded task-flow with two views that allow to navigate to each other.
    see the screenshot at http://www.consideringred.com/files/oracle/img/2012/navigationtimemapp-20121025.png
    It has a simple TimerBean that allows to get an idea about how much time navigation requires:
    public class TimerBean
         protected long fStartTimerMillis = 0;
         public void startTimer(ActionEvent pActionEvent)
              fStartTimerMillis = System.currentTimeMillis();
         public String getTimerInfo()
              if (fStartTimerMillis == 0)
                   return "no timer info yet";
              long vMillisAgo = System.currentTimeMillis() - fStartTimerMillis;
              return "timer started " + vMillisAgo + " milliseconds ago";
    }It allows for the following scenario (sc1):
    - (sc1-a) start the app
    - (sc1-b) click the "do goSecondView using a_TimerBean" button, which will navigate to "secondView" showing something like "timer started 621 milliseconds ago"
    - (sc1-c) click the "do goFirstView using a_TimerBean" button, which will navigate to "firstView" showing something like "timer started 537 milliseconds ago"
    - (sc1-d) if you care to stop the app, try a "Force stop" on the "App info" via "Apps" in the Android settings
    On my HTC Sensation Z710e I always get at least 500 milliseconds for each navigation.
    questions:
    - (q1) Anyone who wants to try scenario (sc1) and share his observed navigation times?
    - (q2) Which navigation times can be expected for simple navigation in ADF Mobile apps (like in scenario (sc1))?
    - [1] http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/demoapps.htm#BACGDHDJ
    many thanks
    Jan Vervecken

    Thanks for your reply Joe Huang.
    Joe Huang wrote:
    ... Did you change CVM logging settings? ...I have not changed any defaults. If I unzip "navigationtimemapp-v0.01.apk", I find:
    - assets\storage\jvm\lib\cvm.properties having things like "java.debug.enabled=false" and "javascript.debug.enabled=false"
    - assets\storage\jvm\lib\logging.properties having only "level=SEVERE" configurations
    If you refer to something else, please specify.
    - Did you deploy the application in release mode vs. debug mode in the deployment profile? You would want to deploy it in release mode.Looks like the default is debug, which I have used for "navigationtimemapp-v0.01.apk".
    So, I configured on the Android Options the Build Mode as "Release" in the modified example application
    at http://www.consideringred.com/files/oracle/2012/NavigationTimeMApp-v0.02.zip
    and as APK at http://www.consideringred.com/files/oracle/2012/navigationtimemapp-v0.02.apk (now only 8 MB instead of 20 MB)
    But, I don't see a big improvement, maybe about 50 milliseconds improvement per navigation (so, about 450 milliseconds instead of about 500 milliseconds).
    ... so page navigation performance (and overall UI performance) is primarily dictated by JS performance by the web engine on the device. ...How can I determine (in the app) which "JavaScript / web engine" a device uses?
    At the end of the day, the actual performance of your application will be largely dictated by how you access data and the complexity of your screen. ...Sure, but I explicitly avoided those aspects here to have some kind of "base line" behaviour before introducing other complexities (that can slow things down).
    regards
    Jan

  • Error in invoking task query service-after customising Worklist application

    hi' I am getting error after trying to customize the Worklist application.
    IWorkflowServiceClient wfSvcClient =WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT);
    IWorkflowContext wfCtx = wfSvcClient.getTaskQueryService().authenticate(userid, password, realm_name, null);
    In the above code 2nd line gives error:
    log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    log4j:WARN Please initialize the log4j system properly.
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
    <::>      at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 11 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 6 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 6 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> WorkflowService:: VerificationService.VerificationService: Session Timeout set to default due to error: Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    ITaskQueryService
    <::> ORABPEL-30509
    <::>
    <::> Error in invoking task query service.
    <::> A client side error occured in invoking the task query service.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:176)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:43)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    <::>      at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
    <::>      ... 4 more
    <2009-11-16 11:36:55,661> <ERROR> <oracle.bpel.services.workflow> <::> Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30509
    <::>
    <::> Error in invoking task query service.
    <::> A client side error occured in invoking the task query service.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:176)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:43)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    <::>      at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
    <::>      ... 4 more
    <2009-11-16 11:36:55,661> <ERROR> <oracle.bpel.services.workflow> <::> Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)
    Error in invoking task query service.
    A client side error occured in invoking the task query service.
    Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)after taskquery
    Edited by: Yatan on Nov 16, 2009 12:22 PM

    I am not getting where to keep this .xml file so it is able to read this.
    please advice.
    thanks
    Yatan

  • The bounded task flow disappear after exiting

    HI ALL
    i have a simple bounded task flow with fragment with behavior (always begin new transaction)
    this task flow have 2 pages to show emp and update emp then return with commit value
    i drop it on a page registered in asfc-config.xml as a region
    when i run the page the flow start when it exit it is disappear
    best regards

    thank you very much Frank for your reply and umesh too
    relay i tried to resolved but i still can't .
    its very simple bounded task flow and i am still learning ADF .
    as i said up its consist from
    1-view1:listEmp table of employees
    2- control flow case : edit
    3-view2: editEmp form to edit employee
    4- task flow return : commit to commit transaction
    5- task flow return : rollback to rollback the transaction
    if i drop it into adfc-config and add another view with control flow case to call it , this case is working and after i press commit or rollback the main page displayed again
    but if i drop it inside a page as a region it working but after i press commit or rollback the region disappeared and the page become empty
    best regards

  • Button Actions are not working -invoking task flow from other project regio

    Hi
    I have a project using a mani.jspx file having a regions and the region is updated with different views based on a router condition in my bounded task flow. Everything working fine with in the project. I have a seperate project in my application having an index.jspx and region in it. I created the ADF lib jar file of the first project and imported to this project. I could invoke the task flow in the first project to the region in the index.jspx file in the seconed project.But none of the action managed bean method attached to the buttons in this view are working.The methods are not getting called on clicking on button and no error in the backend console of Integrated weblogic server.Any body can help what could be the issue ?
    Thanks
    Suneesh

    The issue that is happening when I refreshed the region with task flow from the project I imported.If I load the taskflow from the imported project on first time rendering all my managed bean actions are executing but if I load a different flow initially and change the taskflow Id imported from other project none of the managed actions are working.
    Thanks
    Suneesh

  • How to Invoke tasks created in FrameMaker Publishing Server from the Windows command line

    Hi All ,
    i would like to know how can we Invoke tasks and schedules created in FrameMaker Publishing Server from the Windows command line.
    we used publishing server mainly to convert Frame maker files into PDF and that should be do progarmatically without manual intervention on Demand.
    so could you please let us know how can i invoke rthe task creted to convert FM file to PDF in FrameMaker Publishing Server from the Windows command line.
    please let me know the command to execute .
    thank you and waiting for valuable response.
    best regards
    Ramesh babu

    Please see http://blogs.adobe.com/techcomm/2011/03/adobe-framemaker-server-10-and-its-command-line-ca pability.html for the same.
    Harish Dhawan

  • Bounded Task Flow Navigation Issue

    Hi,
    I'm using Studio Edition Version 11.1.2.3.0.
    I have a main page with a panel splitter. The right side has a dynamic region and the left side contains links to launch a bounded task flow in the dynamic region.
    One of my task flows is a search form and has a call to another bounded task flow when I click on a command link in the table.
    My issue is if I want to return to search form, clicking on the dynamic task flow link doesn't render the search page.
    I have a bean for my dynamic task flow and the taskFlowId variable shows the url of my search page, but the navigation does not happen.
    Is there something that needs to be reset for this to work?

    Hi Frank,
    Sorry about being vague.
    I've compiled a little project using the hr sample db that duplicates my issue.
    Let me know if you have issues downloading it.
    I can provide the project via email if needed.
    Change your db connection to whatever you've defined for the hr db. I have mine running on a slave machine.
    If you click on "Search", search for an employee and then load the employee details by clicking on the employee id link in the table, the region navigates to the employee details page.
    However, if you click on "Search" again, the region does not navigate to the search page, it stays on the employee details page.
    I'm hoping it's just a setting in the properties for the task flow or the page fragment, but I can pen some code if needed.
    [Test Project Folder|https://docs.google.com/folder/d/0B5sTioNqfODuNWpfd3l3cEZfNU0/edit]

  • Task Flow Call - after-listener

    Hello,
    What is the method signature required to use before and after-listener on task flow calls?
    Thanks,
    ~ Simon

    Any public no argument method will do.
    -Marta

  • How to use task flow's transaction options with session's user data

    Hi.
    I have custom extension of ApplicationModuleImpl class:
    package test.model
    imports...
    public class CustomAppModuleImpl extends ApplicationModuleImpl {
        public static final String SESSION_VAR = "MySessionVar";
        public CustomAppModuleImpl() {
            super();
        @Override
        protected void prepareSession(Session session) {
            super.prepareSession(session);
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
            Hashtable userData = session.getUserData();
            if (userData == null) {
                userData = new Hashtable();
            userData.put(SESSION_VAR, "Useless");
        @Override
        protected void create() {
            super.create();
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
    }Inside userData I store some useful session-based values (here is just an example ;) ).
    Within Model.jpr I defined that every Application Module I create must extends this CustomAppModuleImpl :
       <value n="oracle.jbo.extends.appModule" v="test.model.CustomAppModuleImpl"/>
    ...I have one AM with one view:
    package test.model;
    import oracle.jbo.server.ViewObjectImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Mar 07 20:22:11 CET 2012
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class AppModule1Impl extends CustomAppModuleImpl {
         * This is the default constructor (do not remove).
        public AppModule1Impl() {
         * Container's getter for EmployeesView1.
         * @return EmployeesView1
        public ViewObjectImpl getEmployeesView1() {
            return (ViewObjectImpl)findViewObject("EmployeesView1");
    }Now I have BTF (bounded task flow, with default properties) and I call that task flow on a button press. With default properties ( Transaction: <No Controller Transaction> ) I get preferred values from session's userData within Entity Object.
    Code snippet inside that entity implementation looks like:
            DBTransaction dbt = getDBTransaction();
            System.out.println(getClass().getName() + " entity lives AM: " + dbt.getRootApplicationModule().getClass().getName());
            if (dbt.getSession().getUserData() == null) {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> NULL");
            } else {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> " + dbt.getSession().getUserData().get(CustomAppModuleImpl.SESSION_VAR));
    ...And as I mentioned output is correct:
    test.model.EmployeesImpl entity lives AM: test.model.AppModule1Impl
    MySessionVar -> UselessNow the trickiest part. As soon as I change property of called task flow Transaction to something else that +<No Controller Transaction>+, e.g. Always Begin New Transaction, code snippet from task-flow.xml :
        <transaction>
          <new-transaction/>
        </transaction>
    ..This session stuff begin to act unpredictably. Session's userData is now null. And Output looks like:
    test.model.EmployeesImpl entity lives AM: oracle.jbo.server.ApplicationModuleImpl
    MySessionVar -> NULLWhy in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    10x
    Regards

    Hi,
    Why in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    ADF BC alwyas has a transaction opened even if the ADFc setting is No Transaction. So if you explicitly ask for a new transaction I assume that the ADF BC data control creates a new transaction without re-executing your AM initialization codes. Looks as if it uses an internal AM instance for this just to hold the transaction. However, worth filing this as a bug - assuming you reproduced this with a later version of either JDeveloper 11g R1 or R2
    Frank

Maybe you are looking for

  • Beach Ball When Viewing Video

    Running 5.0.2, I have this scenario constantly since upgrading to Safari 5+ : 1. Safari has been running for several hours and I have 2-3 gigs free RAM according to Memory Stick. 2. I go to apple.com/trailers to view movie trailers 3. I choose a movi

  • How to remove carraige return from the field while loading external table

    I am facing an issue of not getting rid of carraige returns present in the fileds of the source .csv file while loading the records into external table. I had tried using LRTRIM, but it does not help. The error I am getting is: KUP-04021: field forma

  • Program to convert text(Idoc) to XML

    Hi Can some1 give me the name of this program. I know it exists in SAP

  • After database or computer crash

    Hi all Is there another option other than standby database to use ? We want that when the production database crashes or when the production computer crashes , then another database , which has the same logical and physical structures of the first da

  • Macbook pro not authorised for iTunes purchases ??

    Hi, my macbook pro won't transfer my 'House' purchases from iTunes store to my iPad2, It keeps saying its not authorised from this computer which is crazy because it is, and i've also tried de-authorising and re-authorising it many times... still won