This discussion is archived
2 Replies Latest reply: Nov 24, 2012 2:08 PM by user404 RSS

cannot create region from a task flow contaning facelet

adf009 Explorer
Currently Being Moderated
hi am trying to drag and drop my task flow to my jspx page and am geting this error, cannot create region from a task flow contaning facelet fragments in jspx ,am in jdeveloper 11.1.2.1.0,my task flow is
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
  <task-flow-definition id="admintask-flow-definition">
    <default-activity>sms9500</default-activity>
    <view id="sms9500">
      <page>/Fragment/sms9500.jsff</page>
    </view>
    <use-page-fragments/>
  </task-flow-definition>
</adfc-config>
but am able to drag and drop other task flow with facelet to jspx
the jspx page am draging to is
<?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:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
        <af:document title="Admintest" id="d1">
            <af:form id="f1">
            </af:form>
        </af:document>
    </f:view>
</jsp:root>
am i not clear

Edited by: adf0994 on 2012/11/25 12:55 AM
  • 1. Re: cannot create region from a task flow contaning facelet
    user404 Pro
    Currently Being Moderated
    It's very clear again.

    'cannot create region from a task flow contaning facelet fragments'

    This is just very basic ADF / Java.
  • 2. Re: cannot create region from a task flow contaning facelet
    adf009 Explorer
    Currently Being Moderated
    but the other taskflow got facelet but was able to create region,this task flow when i drag it to my jspx page i create region
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller">
      <task-flow-definition id="agrtask-flow-definiton">
        <default-activity>Contract-SMS1405</default-activity>
        <managed-bean id="__1">
          <managed-bean-name>Calculate</managed-bean-name>
          <managed-bean-class>sms1405.sms1405ModuleImpl</managed-bean-class>
          <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <view id="Contract-SMS1405">
          <page>/Fragment/Contract-SMS1405.jsff</page>
        </view>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>
    how can i remove facelet fragments if thats what i need to do to create my region
    Edited by: adf0994 on 2012/11/25 1:15 AM

    Edited by: adf0994 on 2012/11/25 1:25 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points