Validation, Task Flow, Servlet, Pop-up, and a Managed Bean

Hi,
We're trying to display a PDF in a pop-up by calling a Servlet within a JSF page by using a task flow in JDeveloper 11g R2.
The relevant JSF snippet:
<af:inlineFrame id="if1" shortDesc="Report" source="/pdfservlet" styleClass="AFStretchWidth"></af:inlineFrame>The /pdfservlet points to a Servlet with a doGet method as follows:
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
  response.reset();
  OutputStream out = response.getOutputStream();
  FacesContext context = this.getFacesContext(request, response);
  OracleReportBean bean =
    context.getApplication().evaluateExpressionGet(context, "#{reportBean}", OracleReportBean.class);
  bean.run(context, out);
  removeFacesContext();
  out.close();
}The Servlet attempts to get the FacesContext, but we've encountered the following exception:
Caused By: javax.faces.FacesException: Cant instantiate class: oracle.adfinternal.view.faces.component.AdfViewRoot.We removed the following lines from the getFacesContext() method:
UIViewRoot view = facesContext.getApplication().getViewHandler().createView(facesContext, "");
facesContext.setViewRoot(view);This avoids the exception above, however... We're trying to get the parameters from the form that was submitted. Here is an example element from the form:
<h:inputHidden value="MyMedicationList_Report" id="system_REPORT_RESOURCE"/>When the Servlet calls the Managed Bean to retrieve the value, it uses:
Map<String, String[]> requestParameters = getRequestParameters();
Parameters p = getParameters();
for( String key : requestParameters.keySet() ) {
  for( String value : requestParameters.get( key ) ) {
    int i = key.indexOf( ':' );
    if( i >= 0 ) {
      key = key.substring( i + 1 );
    p.put( key, value );
}Where getRequestParameters() attempts to get the external context to retrieve the request parameter values map:
return getExternalContext().getRequestParameterValuesMap();The map comes up empty.
I've tried following http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf by setting the web.xml to:
  <!-- JspFilter must be configured before adfBindings. -->
  <filter-mapping>
    <filter-name>JpsFilter</filter-name>
    <servlet-name>PDFServlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>PDFServlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>And set the data bindings to:
  <pageMap>
    <page path="/pdfservlet" usageId="ca_bcpra_promis_reporting_view_PDFServletPageDef"/>
  </pageMap>
  <pageDefinitionUsages>
    <page id="ca_bcpra_promis_reporting_view_PDFServletPageDef" path="ca.bcpra.promis.reporting.view.PDFServletPageDef"/>
  </pageDefinitionUsages>The Servlet executes, calls the instantiated managed bean, but cannot read the request parameters.
The button used to launch the task flow in a dialog is:
<af:commandButton text="Run Report" id="submitReport" useWindow="true"
                  windowEmbedStyle="inlineDocument" windowModalityType="applicationModal" windowHeight="500"
                  windowWidth="700" action="runReport"/>By using a task flow, the user inputs are validated before the pop-up is opened. We want to keep that behaviour. The PDF opens and then returns with a NullPointerException:
http://pastebin.com/raw.php?i=PaM64jL4
The Servlet, through the managed bean, makes a request to the report server to pass parameters and generate a PDF. The PDF is streamed back to the browser via the Servlet.
What other approaches can we take to:
1. Send user and system parameters.
2. Generate a PDF on a remote server.
3. Stream the PDF back to the user in a pop-up.
Thank you.

It is not a static PDF. The PDF is generated, dynamically, on the report server using the parameters from multiple forms on the page.
We've leveraged the HttpSession getSessionMap() object for now. When combined with a Method Task Flow, we can transfer the data (and FacesContext) to the report Servlet. For example, the following code exposes objects that the Servlet needs through the session:
  public void initReport(String reportName) {
    FacesContext context = FacesContext.getCurrentInstance();
    ExternalContext ec = context.getExternalContext();
    OracleReportBean bean =
      context.getApplication().evaluateExpressionGet(context, "#{reportBean}", OracleReportBean.class);
    bean.setFacesContext(context);
    ec.getSessionMap().put("reportBean", bean);
    ec.getSessionMap().put(Parameters.PARAM_REPORT_RESOURCE, reportName);
  }This means the Servlet can use the object:
  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.reset();
    // Find the bean from the session.
    OracleReportBean bean = (OracleReportBean)request.getSession().getAttribute("reportBean");
    OutputStream out = response.getOutputStream();
    bean.run(out);
    out.close();
  }This allows the bean to generate reports.

Similar Messages

  • Reset JSF session and the managed beans with sesison scope

    Hi,
    this is a very general question and maybe stupid for most of you. I have my jsf/facelets web application and i use inside of this application some managed beans, which are session beans. I want to know how is it possible to reset this beans. I'm asking this question beacuse i have this kind of problem: i built my web application which has a login form and i use the browser to test it. When i browse to the login page and I login with my credentials i get my customized home page. Then i open another istance of the browser and i browse to the login page again but this time i login as a different user. The result home page is the same as i got before with my login credentials, so the session is always the same. Instead i want the session and all its objects to be resetted for the new user! Do youn know which is the solution?

    The fact is that i want to have two sessions in parallel, so using the same browser and opening two tabs, i want to browse to the login page and access as two totaly different users and using in parallel the application without the problem of one user's action affecting the other user beacuse of session sharing. So I want to force the application to create two different session for the two users logins, because as i told you before as it is now, they are sharing the same sesison. And i think that if i at the login time I iterate thorugh the session and delete all the objects i will be able to have only one session per time. Isn't it?

  • Selected node in a tree table (via Data Controls and not managed bean)

    I am facing some problems in getting the selected row in a tree table.I have used data controls for creating the tree on the page.
    I have 3 POJO's,ex; Class AB which has a list of Class CD.And Class CD has a list of class EF. (Used for the tree table)
    Now i have a java class, called MyDelegate.java which has a list of AB.I generated data controls off this MyDelegate class and have dropped the ABlist as a tree table (also displaying CD and EF in the tree table).
    It displays fine with nodes of AB,CD (child of AB)and EF(child of CD)
    The tree table is not bound to any managed bean.
    For performing actions on the tree, i create a method - "doSomething() in the delegate class",generate data controls and drop it as a button.
    Inside doSomething(), i need acess to the selected node in the tree (it can be a node of type AB or CD or EF).
    The problem: I always get access to the node of type AB, and not the child nodes no matter what i click in the tree table.
    doSomething(){
    DCBindingContainer dcBindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding dcTreeIteratorBinding = dcBindingContainer.findIteratorBinding("lstABIterator");
    RowSetIterator rowTreeSetIterator = dcTreeIteratorBinding.getRowSetIterator();
    DCDataRow rowTree = (DCDataRow)rowTreeSetIterator.getCurrentRow();
    if (rowTree.getDataProvider() instanceof AB) {
              //do something
              AB selectedAB = (AB)row.getDataProvider();
    } else if (rowTree.getDataProvider() instanceof CD){
              //do something
    } else if (rowTree.getDataProvider() instanceof EF) {
              // do something
    How do i access the "selected child node of the tree table" here in the delegate class method? Pls help.

    Hi Frank,
    Thanks for the response. In my case, i dont have a managed bean, so i am slightly unsure how to do it.
    There is a mention "Note that another way to access the treeTable component at runtime is to search for it in JavaServer Faces UIViewRoot. This latter option allows you to write more generic code and does not require to create a page dependency to a managed bean"
    How do i use this adf view root (without a managed bean) to get hold of the selected row in the tree table. Pls help.
    Thanks.

  • Reuse Task flows without Page fragment

    Hello,
    I ve seen some examples with task flows being resued inside regions and using page fragments.
    However , my requirement is little different and would like some inputs on this.
    I have an authentication module to be used in different ADF applications.
    I have a login page(not a page fragment) and a router and task flow return activity in the resuable bounded task flow.
    We are having a managed bean to check authentication and we have a page flow scope variable which marks success or failure and hands it over to router which inturn routes to task flow return if successful, else routs it back to login page if failure.
    When i use this BTF in a consuming task flow(BTF) and add the module as an ADF library, everything is fine except it is not lauching a welcome page upon success and just stays on the same login page.
    I have the ADF security on with the redirect page given upon successful authentication as the welcome page.
    The welcome page is in the consuming application and not part of the authentication module itself.
    In the consuming task flow, i have a control case from the Authentication task flow call activity to the welcome page and the control case rightly given success as outcome automatically bcos of task flow return in the consumed task flow.
    Any input to launch the welcome page upon successful authentication is greatly appreciated.

    Hi,
    you cannot authenticate users in a bounded task flow and expect to redirect you successfully. The redirect only happens if authentication is handled by the ADF Security authentication servlet redirecting the call. So your bounde task flow needs to return an outcome and your consuming application should have a wild card navigation case defined that then redirects to the welcome page
    Frank

  • ADF Bounded Task Flow

    I have created a bounded task flow which has the following activities: Method Call (default activity and it calls a custom method in a request scoped backing bean), a controlFlow to a jsf page, a controlFlow to a Task Flow Return.
    Here is the xml code for the Bounded Task Flow:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="fromviewprojlist-task-flow">
    <default-activity>retrieveProjInfo</default-activity>
    <managed-bean id="__5">
    <managed-bean-name>backing_ViewProjList</managed-bean-name>
    <managed-bean-class>com.dairynet.pts.controller.backing_ViewProjList</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <method-call id="retrieveProjInfo">
    <method>#{backing_ViewProjList.retrieveSingleProjData}</method>
    <outcome>
    <fixed-outcome>toSummary</fixed-outcome>
    </outcome>
    </method-call>
    <view id="summary">
    <page>/projectRequest/projSummary.jsf</page>
    </view>
    <task-flow-return id="tfrViewProjList">
    <outcome>
    <name>tfrViewProjList</name>
    </outcome>
    </task-flow-return>
    <control-flow-rule id="__1">
    <from-activity-id>retrieveProjInfo</from-activity-id>
    <control-flow-case id="__2">
    <from-outcome>toSummary</from-outcome>
    <to-activity-id>summary</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__3">
    <from-activity-id>summary</from-activity-id>
    <control-flow-case id="__4">
    <from-outcome>toViewProjList</from-outcome>
    <to-activity-id>tfrViewProjList</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    I am calling this bounded task flow from a commandLink that is in an ADF table (partial code of the jsf page that has the commandLink):
    <af:table value="#{bindings.VProjectlistQryVO1.collectionModel}" var="row"
    rows="#{bindings.VProjectlistQryVO1.rangeSize}"
    emptyText="#{bindings.VProjectlistQryVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.VProjectlistQryVO1.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.VProjectlistQryVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.VProjectlistQryVO1.collectionModel.makeCurrent}"
    id="resId1" width="100%">
    <af:column sortProperty="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.name}"
    filterable="true" sortable="true" width="169"
    headerText="#{bindings.VProjectlistQryVO1.hints.ProjShortDesc.label}"
    id="resId1c1">
    <af:commandLink action="fromviewprojlist-task-flow" id="cl1"
    text="#{row.ProjShortDesc}"/>
    Here is my code in the adfc-config.xml file related to the page calling the bounded task flow and the bounded task flow:
    <control-flow-rule id="__7">
    <from-activity-id>masterList</from-activity-id>
    <control-flow-case id="__5">
    <from-outcome>fromviewprojlist-task-flow</from-outcome>
    <to-activity-id>fromviewprojlist-task-flow</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__6">
    <from-activity-id>fromviewprojlist-task-flow</from-activity-id>
    <control-flow-case id="__9">
    <from-outcome>tfrViewProjList</from-outcome>
    <to-activity-id>masterList</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    When I click the commandLink where the action is the bounded task flow (fromviewprojlist-task-flow), it does not go into the method I am specifying in the Method Call activitiy (the default activity) within the task flow. It does not error out, but it does not go anywhere. My objective is to go to the custom backing bean method so I can get some value of the row in the table I clicked on, then use this value to successfully load the projSummary.jsf page
    I am new to this, and I can't figure out what I'm missing. I appreciate any ideas you may have to help me resolve this.
    Thanks!

    I did as you suggested, but I see nothing in the console that indicates it's trying to run the bounded task flow. It's like it ignores it. No error, just redisplays the page I'm calling the bounded task flow from.
    Previously, in another application, I created a bounded task flow with the default activity which was a Method Call activity, but I dragged and dropped a createInsert operation onto the Method Call activity from the Data Control. This worked fine (for creating an inputForm).
    With this bounded task flow that is giving me problems, I'm not referencing the Data Control at all, I'm just referencing the method in the request-scoped backing bean. Is there something I don't have "wired up" correctly so that it's not even finding the bounded task flow the action attribute of my commandLink is referencing?
    I'm not referencing the model (or an application module) at all, but should this matter? It seems like it should just find my backing bean method, run it, and carry on!

  • How to create ADF region without Task Flow

    I want to divide my page into different regions, but I don't want to have any bounded task flow under each region. I want to include Page Fragment inside the Region.
    I find the example of creating Region using some page flow, would you please help me, how to create Region that contains only page fragment, actually the problem I am facing, I don't know what I will provide in value attribute in Region tag, that is expecting some Region Model.

    Hello, RajeshBiswas.
    A solution could be to generate 'MultiTaskFlow' for indeterminate number of regions or multiple regions on the same page.
    It would be necessary to create a single file to define all participating 'TaskFlows' on page:
    1. Select 'new -> ADF Task Flow (JSF/Facelets)'
    2. May include all 'jsff' files as:
    <task-flow-definition id="genericTaskFlow1">
        <default-activity>case1</default-activity>
        <view id="case1">
          <page>/pages/case1.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
      <task-flow-definition id="genericTaskFlow2">
        <default-activity>case2</default-activity>
        <view id="case2">
          <page>/pages/case2.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    It should create a Managed Bean to implement the List of Task Flow Bindings:
    1. Create a new Class with de following code:
        private List<TaskFlowBindingAttributes> mTaskFlowBindingAttrs = new ArrayList<TaskFlowBindingAttributes>();
        public MultiRegionBean()
            TaskFlowBindingAttributes tfAttr = new TaskFlowBindingAttributes();
            tfAttr.setId("region1");
            tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/.../ADFTaskFlow.xml", "genericTaskFlow1"));
            mTaskFlowBindingAttrs.add(tfAttr);
            tfAttr = new TaskFlowBindingAttributes();
            tfAttr.setId("region2");
            tfAttr.setTaskFlowId(new TaskFlowId("/WEB-INF/.../ADFTaskFlow.xml", "genericTaskFlow2"));
            mTaskFlowBindingAttrs.add(tfAttr);
        public List<TaskFlowBindingAttributes> getTaskFlowList()
            return mTaskFlowBindingAttrs;
    2. Define this new class into the 'adf-config.xml' file as Managed Bean with 'pageFlow' scope.
      <managed-bean id="__1">
        <managed-bean-name>managedBeanName</managed-bean-name>
        <managed-bean-class>className</managed-bean-class>
        <managed-bean-scope>pageFlow</managed-bean-scope>
      </managed-bean>
    At the page definition, add a MultiTaskFlow inside <executables> tag:
        <multiTaskFlow id="multiTaskFlow1" taskFlowList="#{pageFlowScope.multiRegionBean.taskFlowList}"
    On the page, insert regions in the desired locations. For example:
        <af:group id="g2">
            <af:panelAccordion id="pa1" inlineStyle="width:50%; height:400px;">
                    <af:showDetailItem text="showDetailItem 1" id="sdi1">
                    <af:region id="r1" value="#{bindings.multiTaskFlow1.taskFlowBindingList[0].regionModel}" >
                    </af:region>
                    </af:showDetailItem>
            </af:panelAccordion>
            <af:panelAccordion id="pa2" inlineStyle="width:50%;">
                    <af:showDetailItem text="showDetailItem 1" id="sdi2">
                    <af:region id="r2" value="#{bindings.multiTaskFlow1.taskFlowBindingList[1].regionModel}" >
                    </af:region>
                    </af:showDetailItem>
            </af:panelAccordion>
        </af:group>
    Reference: 21.10 Configuring a Page To Render an Unknown Number of Regions

  • Composite Application with a Task Flow and form created manually

    Hi,
    I'm using Oracle SOA Suite 11G and i'm trying to create a task form for a human task without using the auto generate wizards and i'm having trouble getting the form to show in BPM worklist.
    I have followed instructions in the developers guide to create the form against the human task including the following
    27 Designing Task Forms for Human Tasks
    27.4.3 How To Create a Task Form Using the Complete Task with Payload Drop Handler
    27.8 Deploying a Composite Application with a Task Flow
    After i deploy and test, the task appears and works correctly in BPM worklist, but the form does not show. This is when i have the task form within a composite application or in a separate project. When i generate the form automatically using the wizards, this all works fine.
    Updated: Noticed that when i create the task form manually and deploy it does not create entries as per instructions
    20.3 Managing the URI of the Human Task Service Component Task Details Application
    I have the details in hwtaskflow.xml, but for some reason, they are not automatically created... It is annoying to have this created each time...
    Am i missing something? I don't see any errors in BPM worklist or on the server. Any advice would be appreciated.
    Thanks
    Edited by: user5535771 on Mar 12, 2010 5:01 PM

    Hi Duncan,
    Thanks for your reply.
    The later option of not using Query_Only would involve massive custmizations, as there are so many forms apart from the absence forms.
    There is just one taskflow that contains the person, assignment, Absence and SIT screen, how can we do like an standalone absence screen does not have tehe query only as Yes.
    Please let me know in case you dint get me i will mention my development steps in points.
    Many Thanks,
    Vineet

  • Problems with breadcrumbs in TP4 be bounded and unbounded Task-Flows

    Project scope
      JDev 11g TP4
      jspx - template
      jsff - breadcrumbs
      jspx - forms (using the template)
      bound and unbound task-flow
    .) all forms (and template) are in the unbound task-flow (adfc-confi.xml)
    .) one form can be called with an parameter from another form - problem solved with an bound task-flow (task-flow-definition.xml) - it works very good
    With "Create ADF Menu" (on adfc-confi.xml) the JDev create
      root_menu.xml
      <control-flow-rule> entries in adf-config.xml
      <managed-bean> entrie in adf-config.xml
    The code from the breadcrumbs.jsff looks like
      <af:breadCrumbs value="#{root_menu}" var="rootMenuNode"
                      id="BreadCrumbs">
        <f:facet name="nodeStamp">
          <af:commandNavigationItem text="#{rootMenuNode.label}"
                                    action="#{rootMenuNode.doAction}"
                                    icon="#{rootMenuNode.icon}"
                                    destination="#{rootMenuNode.destination}"
                                    rendered="#{rootMenuNode.rendered}"/>
        </f:facet>
      </af:breadCrumbs>
    I have now two problems:
    1.) by navigation between the pages(in the definition of the unbound task-flow (adfc-confi.xml)) the breadcrumb displayed only the current page but not the history way.
    2.) after call the form with an parameter (need bound task-flow (task-folw-definition.xml)) all breadcrumb informations are cleared - nothing is displayed
    can anybody help?

    Hi,
    the generated menu model only works for unbound flows. You can call a bound flow from such a menu, but this doesn't show breadcrumbs within the bound taskflow. For this you need to specify that the bound taskflow creates a breadcrumb model and then it will only show what is within. Have a look at the taskflow section in the developer guide.
    Frank

  • CreateInsert Not Working on Child Task Flow

    JDev version :: 11.1.2.3
    I have a parent Task Flow 'A1' which uses Data Control 'D1'
    Another Task Flow 'A2' which uses Data Control 'D2'
    I navigate from Task Flow A1 to A2 and does createInsert for a VO named 'X' and then Loads
    the page. The Page does not opens in a CreateInsert Mode.
    However If i run the Task flow A2 directly , it does open in CreateInsert Mode.
    Can anyone tell me what can be the issue ?
    Regards,
    Nikhil Misra

    Hi,
    from my understanding of your post which you have been made. i did that same it's working.
    with your requirement, i did that same.
    things which i used.
    1. one jspx page named simple.jspx.
    2. 3 Bounded TF named it as (common-taskflow,task-flow,task-flow1).
    3. 2 jsff(view,view1).
    4. one backing bean.
    5. two datacontrol
    here i posted the code.
    sample.jspx this will consume your common-taskflow as static region
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.commontaskflowdefinition1.regionModel}"
                       id="r1"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    commontask-flow.xml code
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="commontask-flow-definition">
        <default-activity id="__1">task-flow-definition</default-activity>
        <task-flow-call id="task-flow-definition">
          <task-flow-reference>
            <document>/WEB-INF/task-flow-definition.xml</document>
            <id>task-flow-definition</id>
          </task-flow-reference>
        </task-flow-call>
        <task-flow-call id="task-flow-definition1">
          <task-flow-reference>
            <document>/WEB-INF/task-flow-definition1.xml</document>
            <id>task-flow-definition1</id>
          </task-flow-reference>
        </task-flow-call>
        <method-call id="CreateInsert">
          <method>#{bindings.CreateInsert.execute}</method>
          <outcome id="__2">
            <fixed-outcome>CreateInsert</fixed-outcome>
          </outcome>
        </method-call>
        <control-flow-rule id="__3">
          <from-activity-id id="__4">task-flow-definition</from-activity-id>
          <control-flow-case id="__6">
            <from-outcome id="__12">goto</from-outcome>
            <to-activity-id id="__5">CreateInsert</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__7">
          <from-activity-id id="__8">CreateInsert</from-activity-id>
          <control-flow-case id="__10">
            <from-outcome id="__11">CreateInsert</from-outcome>
            <to-activity-id id="__9">task-flow-definition1</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    picture will be like this
    task-flow-definition(default activity) >> goto (control flow case) >> create insert method >> CreateInsert(control flow case) >> task-flow-definition1 .
    create insert for task-flow-defintion1(folds of view1.jsff. this view1.jsff folds of emp table). while invoking TF create insert works.
    task-flow-definition.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition">
        <default-activity id="__1">view</default-activity>
        <managed-bean id="__4">
          <managed-bean-name id="__2">MBean</managed-bean-name>
          <managed-bean-class id="__5">MBean</managed-bean-class>
          <managed-bean-scope id="__3">backingBean</managed-bean-scope>
        </managed-bean>
        <view id="view">
          <page>/view.jsff</page>
          <redirect/>
        </view>
        <task-flow-return id="goto">
          <outcome id="__10">
            <name>goto</name>
          </outcome>
        </task-flow-return>
        <control-flow-rule id="__11">
          <from-activity-id id="__12">view</from-activity-id>
          <control-flow-case id="__13">
            <to-activity-id id="__14">goto</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    picture will be like this
    view(default activity) >> *  (control flow case) >> task-flow-return(named it as goto).
    view.jsff code
    <?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:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:inputText value="#{bindings.EmployeeId.inputValue}"
                      label="#{bindings.EmployeeId.hints.label}"
                      required="#{bindings.EmployeeId.hints.mandatory}"
                      columns="#{bindings.EmployeeId.hints.displayWidth}"
                      maximumLength="#{bindings.EmployeeId.hints.precision}"
                      shortDesc="#{bindings.EmployeeId.hints.tooltip}" id="it7">
          <f:validator binding="#{bindings.EmployeeId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.EmployeeId.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.FirstName.inputValue}"
                      label="#{bindings.FirstName.hints.label}"
                      required="#{bindings.FirstName.hints.mandatory}"
                      columns="#{bindings.FirstName.hints.displayWidth}"
                      maximumLength="#{bindings.FirstName.hints.precision}"
                      shortDesc="#{bindings.FirstName.hints.tooltip}" id="it9">
          <f:validator binding="#{bindings.FirstName.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.LastName.inputValue}"
                      label="#{bindings.LastName.hints.label}"
                      required="#{bindings.LastName.hints.mandatory}"
                      columns="#{bindings.LastName.hints.displayWidth}"
                      maximumLength="#{bindings.LastName.hints.precision}"
                      shortDesc="#{bindings.LastName.hints.tooltip}" id="it10">
          <f:validator binding="#{bindings.LastName.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Email.inputValue}"
                      label="#{bindings.Email.hints.label}"
                      required="#{bindings.Email.hints.mandatory}"
                      columns="#{bindings.Email.hints.displayWidth}"
                      maximumLength="#{bindings.Email.hints.precision}"
                      shortDesc="#{bindings.Email.hints.tooltip}" id="it2">
          <f:validator binding="#{bindings.Email.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.PhoneNumber.inputValue}"
                      label="#{bindings.PhoneNumber.hints.label}"
                      required="#{bindings.PhoneNumber.hints.mandatory}"
                      columns="#{bindings.PhoneNumber.hints.displayWidth}"
                      maximumLength="#{bindings.PhoneNumber.hints.precision}"
                      shortDesc="#{bindings.PhoneNumber.hints.tooltip}" id="it5">
          <f:validator binding="#{bindings.PhoneNumber.validator}"/>
        </af:inputText>
        <af:inputDate value="#{bindings.HireDate.inputValue}"
                      label="#{bindings.HireDate.hints.label}"
                      required="#{bindings.HireDate.hints.mandatory}"
                      shortDesc="#{bindings.HireDate.hints.tooltip}" id="id1">
          <f:validator binding="#{bindings.HireDate.validator}"/>
          <af:convertDateTime pattern="#{bindings.HireDate.format}"/>
        </af:inputDate>
        <af:inputText value="#{bindings.JobId.inputValue}"
                      label="#{bindings.JobId.hints.label}"
                      required="#{bindings.JobId.hints.mandatory}"
                      columns="#{bindings.JobId.hints.displayWidth}"
                      maximumLength="#{bindings.JobId.hints.precision}"
                      shortDesc="#{bindings.JobId.hints.tooltip}" id="it4">
          <f:validator binding="#{bindings.JobId.validator}"/>
        </af:inputText>
        <af:inputText value="#{bindings.Salary.inputValue}"
                      label="#{bindings.Salary.hints.label}"
                      required="#{bindings.Salary.hints.mandatory}"
                      columns="#{bindings.Salary.hints.displayWidth}"
                      maximumLength="#{bindings.Salary.hints.precision}"
                      shortDesc="#{bindings.Salary.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.Salary.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.Salary.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.CommissionPct.inputValue}"
                      label="#{bindings.CommissionPct.hints.label}"
                      required="#{bindings.CommissionPct.hints.mandatory}"
                      columns="#{bindings.CommissionPct.hints.displayWidth}"
                      maximumLength="#{bindings.CommissionPct.hints.precision}"
                      shortDesc="#{bindings.CommissionPct.hints.tooltip}" id="it6">
          <f:validator binding="#{bindings.CommissionPct.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.CommissionPct.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.ManagerId.inputValue}"
                      label="#{bindings.ManagerId.hints.label}"
                      required="#{bindings.ManagerId.hints.mandatory}"
                      columns="#{bindings.ManagerId.hints.displayWidth}"
                      maximumLength="#{bindings.ManagerId.hints.precision}"
                      shortDesc="#{bindings.ManagerId.hints.tooltip}" id="it3">
          <f:validator binding="#{bindings.ManagerId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.ManagerId.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.DepartmentId.inputValue}"
                      label="#{bindings.DepartmentId.hints.label}"
                      required="#{bindings.DepartmentId.hints.mandatory}"
                      columns="#{bindings.DepartmentId.hints.displayWidth}"
                      maximumLength="#{bindings.DepartmentId.hints.precision}"
                      shortDesc="#{bindings.DepartmentId.hints.tooltip}" id="it8">
          <f:validator binding="#{bindings.DepartmentId.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.DepartmentId.format}"/>
        </af:inputText>
        <f:facet name="footer">
          <af:panelGroupLayout layout="vertical" id="pgl2">
            <af:panelGroupLayout layout="horizontal" id="pgl1">
              <af:commandButton actionListener="#{bindings.First.execute}"
                                text="First" disabled="#{!bindings.First.enabled}"
                                partialSubmit="true" id="cb4"/>
              <af:commandButton actionListener="#{bindings.Previous.execute}"
                                text="Previous"
                                disabled="#{!bindings.Previous.enabled}"
                                partialSubmit="true" id="cb3"/>
              <af:commandButton actionListener="#{bindings.Next.execute}"
                                text="Next" disabled="#{!bindings.Next.enabled}"
                                partialSubmit="true" id="cb2"/>
              <af:commandButton actionListener="#{bindings.Last.execute}"
                                text="Last" disabled="#{!bindings.Last.enabled}"
                                partialSubmit="true" id="cb5"/>
            </af:panelGroupLayout>
            <af:commandButton text="Submit" id="cb1"/>
          </af:panelGroupLayout>
        </f:facet>
      </af:panelFormLayout>
      <af:commandButton text="go to another TF" id="cb6"
                        action="#{backingBeanScope.MBean.do_success}"/> // check here
      <!--oracle-jdev-comment:preferred-managed-bean-name:MBean-->
    </jsp:root>
    this view.jsff folds of employee table nothing with that button is the matter it will peform the navigation
    Bean code
    public class MBean {
        public MBean() {
        public String do_success() {
            // Add event code here...
            return "goto";
    task-flow-definition1.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="task-flow-definition1">
        <default-activity id="__1">view1</default-activity>
        <view id="view1">
          <page>/view1.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    view1.jsff code
    <?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:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:inputText value="#{bindings.Empid.inputValue}"
                      label="#{bindings.Empid.hints.label}"
                      required="#{bindings.Empid.hints.mandatory}"
                      columns="#{bindings.Empid.hints.displayWidth}"
                      maximumLength="#{bindings.Empid.hints.precision}"
                      shortDesc="#{bindings.Empid.hints.tooltip}" id="it2">
          <f:validator binding="#{bindings.Empid.validator}"/>
          <af:convertNumber groupingUsed="false"
                            pattern="#{bindings.Empid.format}"/>
        </af:inputText>
        <af:inputText value="#{bindings.RowID.inputValue}"
                      label="#{bindings.RowID.hints.label}"
                      required="#{bindings.RowID.hints.mandatory}"
                      columns="#{bindings.RowID.hints.displayWidth}"
                      maximumLength="#{bindings.RowID.hints.precision}"
                      shortDesc="#{bindings.RowID.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.RowID.validator}"/>
        </af:inputText>
        <f:facet name="footer">
          <af:panelGroupLayout layout="vertical" id="pgl2">
            <af:panelGroupLayout layout="horizontal" id="pgl1">
              <af:commandButton actionListener="#{bindings.First.execute}"
                                text="First" disabled="#{!bindings.First.enabled}"
                                partialSubmit="true" id="cb1"/>
              <af:commandButton actionListener="#{bindings.Previous.execute}"
                                text="Previous"
                                disabled="#{!bindings.Previous.enabled}"
                                partialSubmit="true" id="cb5"/>
              <af:commandButton actionListener="#{bindings.Next.execute}"
                                text="Next" disabled="#{!bindings.Next.enabled}"
                                partialSubmit="true" id="cb3"/>
              <af:commandButton actionListener="#{bindings.Last.execute}"
                                text="Last" disabled="#{!bindings.Last.enabled}"
                                partialSubmit="true" id="cb2"/>
            </af:panelGroupLayout>
            <af:commandButton text="Submit" id="cb4"/>
          </af:panelGroupLayout>
        </f:facet>
      </af:panelFormLayout>
    </jsp:root>
    this  view1.jsff folds just emp table as af:form. nothing in this.
    logic flows into common taskflow.
    if i misunderstood your requirement please correct me.
    Thanks

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • The subtle use of task flow "No Controller Transaction" behavior

    I'm trying to tease out some subtle points about the Task Flow transactional behavior option "<No Controller Transaction>".
    OTN members familiar with task flows in JDev 11g and on wards would know that task flows support options for transactions and data control scope. Some scenarios based on these options:
    a) When we pick options such as "Use Existing Transaction" and shared data control scope, the called Bounded Task Flow (BTF) will join the Data Control Frame of its caller. A commit by the child does essentially nothing, a rollback of the child rolls any data changes back to when the child BTF was called (i.e. an implicit save point), while a commit of the parent commits any changes in both the child and parent, and a rollback of a parent loses changes to the child and parent.
    A key point to realize about this scenario is the shared data control scope gives both the caller and called BTF the possibility to share a db connection from the connection pool. However this is dependent on the configuration of the underlying services layer. If ADF BC Application Modules (AMs) are used, and they use separate JNDI datasources this wont happen.
    b) When we pick options such as "Always Begin New Transaction" and isolated data control scope, the called BTF essentially has its own Data Control Frame separate to that of the caller. A commit or rollback in either the parent/caller or child/called BTF are essentially isolated, or in other words separate transactions.
    Similar to the last point but the exact opposite, regardless how the underlying business services are configured, even if ADF BC AMs are used with the same JNDI data source, essentially separate database connections will be taken out assisting the isolated transactional behavior with the database.
    This brings me back to my question, of the subtle behavior of the <No Controller Transaction> option. Section 16.4.1 of the Fusion Guide (http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_parameters.htm#CIHIDJBJ) says that when this option is set that "A new data control frame is created without an open transaction." So you could argue this mode is the same as isolated data control scope, and by implication, separate connections will be taken out by the caller/called BTF. Is this correct?
    Doesn't this in turn have implications about database read consistency? If we have one BTF participating in a transaction with the database, reading then writing data, and a separate BTF with the <No Controller Transaction> option set, it's possible it wont see the data of the first BTF unless committed before the No Controller Transaction BTF is called and queries it's own dataset correct?
    An alternative question which takes a different point of view, is why would you ever want this option, don't the other options cover all the scenarios you could possibly want to use a BTF?
    Finally as a separate question based around the same option, presumably an attempt to commit/rollback the Data Control Frame of the associated No Controller Transaction BTF will fail. However what happens if the said BTF attempts to call the Data Control's (not the Data Control Frame's) commit & rollback options? Presumably this will succeed?
    Your thoughts and assistance appreciated.
    Regards,
    CM.

    For other readers this reply is a continuation of this thread and another thread: Re: Clarification?: Frank & Lynn's book - task flow "shared" data control scope
    Hi Frank
    Thanks for your reply. Okay I get the idea that were setting the ADFc options here, that can be overridden by the implementation of data control, and in my specific case that's the ADF BC AM implementation. I've always known that, but the issue became complicated because it didn't make sense what "No Controller Transaction" actually did and when you should use it, and in turn data control frames and their implementation aren't well documented.
    I think a key point from your summation is that "No Controller Transaction" in context of ADF BC, with either data control scope option selected, is effectively (as far as we can tell) already covered by the other options. So if our understanding is correct, the recommendation for ADF BC programmers is I think, don't use this option as future programmers/maintainers wont understand the subtlety.
    However as you say for users of other data controls, such as those using web services, then it makes sense and possibly should be the only option?
    Also regarding your code harvest pg 14 entry on task flow transactions: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
    ....and the following quote in context of setting the transaction option to Begin New Transaction:
    >
    When a bounded task flow creates a new transaction, does it also mean it creates a new database connection? No.
    >
    ....I think you need to be a little more careful in this answer, as again it depends on the underlying data control implementation as you point out in this thread. In considering ADF BC, this is correct if you assume only one root AM. However if the BTFs have separate root AMs, this should result in 2 connections and transactions..... well at least I assume it does, though I wonder what will happen if both AMs share the same JNDI data source.... is the framework smart enough to join the connections/transactions in this case?
    Also in one of your other code harvests (apologies I can't find which one at the moment) you point out sharing data control scopes is only possible if the BTF data controls have the same name. In context of an ADF BC application, with only one root AM used by multiple BTFs, this of course would be the case. Yet, the obvious implication to your summary of transaction outcomes in this thread, if the developers for whatever reason change the DC name across DataBindings.cpx files sourced from ADF Libraries containing the BTFs, then no, it wont.
    Overall the number of variables in this gets really complicated, creating multiple dimensions to the matrix.
    Going to your last point, how can the documentation be improved? I think as you say the documentation is right in context of the options for ADFc, but, as the same documentation is included in the Fusion Dev Guide which assumes ADF BC is being used, then it isn't clear enough and can be misleading. It would seem to me, that depending on the underlying data control technology used, then there needs to be documentation that talks about the effect of ADFc task flow behavior options in the context of each technology. And God knows how you describe a scenario where BTFs use DCs that span technologies.
    From context of ADF BC, one thing that I've found hard in analyzing all of this is there doesn't seem to be an easy way from the middletier to check how many connections are being taken out from a data source. The FMW Control unfortunately when sampling db connections taken out from a JNDI data source pool, doesn't sample quickly enough to see how many were consumed. Are you aware of some easy method to check the number of the db connections opened/closed?
    Finally in considering an Unbounded Task Flow as separate to BTFs, do you have any conclusions about how it participates in the transactions? From what I can determine the UTF lies in it's own data control frame, and is effectively isolated from the BTF transactions, unless, the BTF calls commit/rollback at the ADF BC data control level (as separate to commit/rollback at the data control frame level), and the data control is used both by the UTF and BTF.
    As always thanks for your time and assistance.
    CM.

  • Question of displaying Task Flow Region in Master-Details pattern

    We have a master-details page. There is a region on the details pane along with other widgets and the content of that details pane including the region depends on the row selection on the master table list.
    The first time page loads with no row selection on master table so this details pane displays nothing. When I select one row on the master table and the details pane and its region can display data of the row in master table properly.
    After several selection, I navigate to another page and then go back to this master-details page again, it automatically selects the row which was selected last time. And in the details pane, the region whose content was created basing a task flow call cannot display corresponding data of the default selected row while other widgets in the details pane can display corresponding data properly.
    The reason of having this problem is the region's parameter is generated before the selected row is determined. When the task flow call in page definition is parsed, the parameter of this task flow call is created before component binding of the master table. It means when the task flow call is parsed and generating the parameter, the ADF page believes there is no row selection of the master table because the component binding is null at that time.
    So my question is how to make the this task flow call for that region create the task flow call parameter after the component binding of the master table? Or is there any way to force a refresh of the region/task-flow-call after the render of response? Or is there anyway to disable this "auto-select" on the master table after navigating to other page?
    (My jdev version is JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1 )
    Edited by: user790224 on Sep 6, 2012 4:16 PM

    The reason we are using master-details patter here is it is designed in that way and the region is displaying the data of a selected row there.
    There is no master-details relationship on model layer. But the content of the region is from the result of several other Java API calls which call the task-flow from an external component.

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow....
    My situation is as follows:
    In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to ADMhome while another control flow goes from the wildcard to task-flow-call.
    I have a bounded task-flow "adm-task-flow" with two view actitivies: AdmListView and AdmPageView with AdmListView as the default activity. A Control flow goes from the AdmListView to AdmPageView, all pointing the page fragments
    I created another page ADMregion which is a  (jsf) where I dragged the adm-task-flow onto.
    When I ran the application, the home page displayed properly but when I clicked on a command button to invoke the "adm-task-flow", the application will not responded.
    When I looked at the log message, It gave this message:
    <TaskFlowCallXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <TaskFlowCallXmlImpl> <parse> ADFc: Failed to parse element 'task-flow-reference'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['task-flow-call', ' admTaskFlow '].

    Thanks for this clarifications...
    I created a view activity in the adfc-config-xml and called the page (ADMregion) where the task flow was embedded. It worked well..
    Another clarification I want is this, when do I use a task flow call to call a task flow?  My thinking and my understanding was that when you create a task flow, you use a task flow call to invoke the task flow.
    Pls another aspect I want you to guide me is on calling a java class from jsf and jsff pages. Being new in these technologies, I have having some difficulties navigating and putting all of them together. My problem is this:
    I created a java class under the view package of Application Sources in the View Controller of my Application. The java class returns a value. I designed a jsff form with input fields and and command buttons. I want when I clicked on a command button to take a parameter from the input field and pass it to the java class, the after processing, the java class returns a value which I will place inside one of the input fields in my jsff form.

  • ADF task flow return redirect to page?

    Hello, I am using JDeveloper 11.1.2.3.0
    I have build a task flow (bounded task flow) in my application and I want to redirect on task flow return, to another page from the application. This page is not part of the flow. From what I am reading till now everything I found is to call another task flow on return, but I do not need this. I just need to redirect to a specific page. Can anyone help on this?
    Thank you

    Thanks but is there no possibility at all to navigate to another page within the aplication (not of the same task flow)? I was thinking something like FacesContext.getCurrentInstance().getExternalContext().redirect("Page1") on action method on a button of the page; But I am getting an error saying that can not find the Page1.

  • ADF Task Flow: Using Task Flow Call as Application Entry Point

    In our product we have a task flow structure very similar to the Fusion Order Demo application, but we are having serious trouble reproducing the documented functionality of ADF Task Flows.
    Specifically, we cannot use a task flow call as an entry point for our application, which is very important for us to achieve.
    The [Developer s Guide|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows.htm#ADFFD1634] states about the [demo application|http://www.oracle.com/technology/products/jdev/samples/fod/index.html] :
    "A Fusion web application always contains an ADF unbounded task flow, which contains the entry point or points to the application. Figure 14-3 displays the diagram for the unbounded task flow from the Fusion Order Demo Application. This task flow contains the Home, *MyOrders*, *checkout*, registerUser, and updateUserInfo *view activities, which are all entry points to the application*."
    "The checkout-task-flow activity in Figure 14-3 is a call to an ADF bounded task flow."
    When we run the Fusion Demo Application, we are only able to use home, updateUserInfo and register as entry points.
    We cannot enter the application through any of the task flow call activities (MyOrders and checkout) as the documentation suggests.
    What are the reasons for this and how do we fix it, so we can use task flow call activities as application entry points?
    Thanks.
    Edited by: Rune Glerup on Oct 9, 2009 2:51 AM
    The forum did not display the link to "Developer's Guide" because the link contained the single quote char '. Single quote char removed.

    Is what you mention here the case in the Fusion Order Demo application?
    If the task flow call activities cannot be used as entry points, why is it stated in the documentation?
    How do we solve this, so that the task flow call activities (including parameter bindings) can be used as entry points, like the documentation suggests?

Maybe you are looking for

  • Changing database location per Table at runtime is extremely slow in viewer

    We are using the Crystal Reports 2008sp2 Viewer in windows forms .NET application to display various reports based on a Pervasive database.  The C# code dynamically changes the database table locations at run time.  The location needs to be set for e

  • Get current swf path

    I'm developing an extension use Extension Builder for Photoshop CS5. I have to use an executable file in my extension. In general, if you use the Adobe Extension Manager to install the extension, the extension's swf file will put to USERPATH\AppData\

  • Unable to Set Master Slide Properties

    I'm not sure how this happened, because I could do this in the past, but for some reason I cannot set properties for the master slides in my project. I am using Captivate 7 32-bit, and when I click on a master slide I get the "Master Slide View" mess

  • Unable to establish network endpoint connectivity from an executable using localhost - error: -314350

    Hi, We have two executables, one a sender and another a receiver. The receiver initiates a connection using the IP address of the sender's computer. They use the network endpoint connectivity mechanism to establish connection and transfer data. Every

  • Trouble connecting to oki printer

    New 13" macbook pro not connecting to OKI data printer.  I tried downloading the drivers and still unable to print. Thoughts anyone?