Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 545 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 440 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
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="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:outputText value="This is a test taskflow which does NOT work in OIM 12c" id="ot1"/>
</ui:composition>
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="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"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<af:outputText value="This is a test taskflow which works in OIM 12c" id="ot1"/>
</jsp:root>
is there any thing missing or this is a wrong usage for ui:composition?
Thanks in advance,
Lalit
Answers
-
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.
in 12.2.1.4
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.
Timo
-
Following is the Information about JDeveloper version,
Studio Edition Version 12.2.1.4.0
Build JDEVADF_PT.12.2.1.4.0_GENERIC_190911.2248.S
Java(TM) Platform 1.8.0_151
Oracle IDE 12.2.1.4.42.190911.2248