Forum Stats

  • 3,875,882 Users
  • 2,266,982 Discussions


Issue with binding components from page fragments into managed bean when rendered as region

santiago_nc Member Posts: 91
edited Jun 9, 2014 4:26AM in JDeveloper and ADF

I have detected an issue when I binding a component into a managed bean from a page fragment which is a View of a TaskFlow exposed to JSF as a Region.

This issue happened when I exposed same TaskFlow as region two or more instances in the same JSF. The component which is binding only rendered in last Region.

Jdeveloper 12c ( ADF12c.

This is the code:

Page Fragment:

<?xml version='1.0' encoding='UTF-8'?>
<ui:composition xmlns:ui="" xmlns:af="">
  <af:panelGroupLayout id="pgl1">
    <af:inputText label="Label 1" id="it1" binding="#{bindingComponentBean.inputText}"/>
    <af:button text="button 1" id="b1"/>

Managed Bean(in Request Scope)

package com.edisa.test.errors.view.backing;


public class BindingComponentBean {
    private RichInputText inputText;

    public BindingComponentBean() {

    public void setInputText(RichInputText inputText) {
        this.inputText = inputText;

    public RichInputText getInputText() {
        return inputText;


<?xml version="1.0" encoding="UTF-8" ?>
<adfc-config xmlns="" version="1.2">
  <task-flow-definition id="TestTaskFlow">
    <managed-bean id="__1">
    <view id="test_fragment">

JSF Page

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html>
<f:view xmlns:f="" xmlns:af="">
    <af:document title="index.jsf" id="d1">
        <af:form id="f1">
            <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
                <f:facet name="center">
                    <af:panelGridLayout id="pgl1" inlineStyle="border: 1px solid #eee;">
                        <af:gridRow marginTop="5px" height="auto" marginBottom="5px" id="gr1">
                            <af:gridCell marginStart="5px" width="50%" id="gc1" inlineStyle="border: 1px solid #eee;"
                                <af:panelBox text="Region 1" id="pb1">
                                    <f:facet name="toolbar"/>
                                    <af:region value="#{bindings.TestTaskFlow2.regionModel}" id="r2"/>
                            <af:gridCell marginStart="5px" width="50%" marginEnd="5px" id="gc2"
                                         inlineStyle="border: 1px solid #eee;" halign="stretch">
                                <af:panelBox text="Region 2" id="pb2">
                                    <f:facet name="toolbar"/>
                                    <af:region value="#{bindings.TestTaskFlow1.regionModel}" id="r1"/>
                <f:facet name="header"/>
                <f:facet name="end"/>
                <f:facet name="start"/>
                <f:facet name="branding"/>
                <f:facet name="copyright"/>
                <f:facet name="status"/>

Best Answer


This discussion has been closed.