Forum Stats

  • 3,826,733 Users
  • 2,260,699 Discussions


Using ui:composition while creating task-flows in JDev12c not rendering the page.

When task-flows is created with jsf2.0 in Jdeveloper 12c it failed to render the ui.

For Example , A JSFF page with following code snippet, on render it shows blank page.

<?xml version='1.0' encoding='UTF-8'?>

<ui:composition xmlns:ui="" xmlns:af="">

 <af:outputText value="This is a test taskflow which does NOT work in OIM 12c" id="ot1"/>


Whereas a JSF page created with below code snippet renders fine and display output text.

<?xml version='1.0' encoding='UTF-8'?>

<jsp:root xmlns:jsp="" version="2.1"




    <af:outputText value="This is a test taskflow which works in OIM 12c" id="ot1"/>


is there any thing missing or this is a wrong usage for ui:composition?

Thanks in advance,




  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,458 Red Diamond

    User, tell us your exact JDev version, please!

    There is a difference how you create a taskflow in the different versions and how pages and fragments are used.


    this is the default selection. Now if you create a page inside this taskflow

    you see the 'Facelets' is selected. Only if you have facelets selected, you use the ui:component in a fragment

    and the new fragment shows

    If you select

    you get

    The essential info is that you can't mix JSP XML with Facelets!

    If you created the page using JSP MYL you have to use fragments using JSP XML. If you create a page with Facelets, you have to use fragments built with Facelets.

    Mixing JSP XML and Facelets will result in empty pages or regions.


  • LALIT GUPTA-Oracle
    LALIT GUPTA-Oracle Member Posts: 3 Employee

    Following is the Information about JDeveloper version,

    Studio Edition Version

    Build JDEVADF_PT.

    Java(TM) Platform 1.8.0_151

    Oracle IDE