JSF fragment reusability  - problem or normal behaviour ?

Hi all,
I have one bounded TF (let say TF_A) , consisting of one jsf fragment (let say, fragment A).
From that TF, I am trying to run another TF (in the af:popup, as as static region) , which uses the same fragment A.
But, when popup rises up, I am getting:
oracle.jbo.InvalidOperException: JBO-35110: Nested BindingContainer of this type taskflows.fragment_APageDef is already included in this parent BindingContainer:....So, it is possible to use the same jsf fragment at the same time, in both TF ?
If yes, then how ?
Jdev 11.1.1.6

No, this cannot be done, because my wrong design of jsf fragment.
I added second TF as a region in the af:popup, which is part of fragment
So, in the fragment's pageDef, there is TF binding which references second TF, which, in turn, contains the same fragment as a View activity.
So, the question is - How to design both TF to use same fragment, but to have ability to call second TF in the af:popup ?
The popup cannot be part of jsf fragment, because of TF binding in the pageDef...or can ?!?

Similar Messages

  • Iphone 5 is taking too long to download through EDGE why????????Please help i just wnat to confirm that it is the normal behaviour or it is some kind of problem please help

    iphone 5 16 gn black my iphone is taking too long to download apps from apps to download on my iphone so please help from overcoming this problem
    i just want to know this is the normal behaviour or it is some kind of problem

    You have to turn on 3G/4G/LTE and be in a coverage area for such to happen.
    Or connect to wifi.
    Normal behavior for Edge is very very slow.

  • Partial submit in a jsf fragment is not working

    Hi,
    i have a jsf page that is hosting a jsf fragment (using workflow), inside the jsf fragment i have a button that has partial submit = true, and an output text that has partial triggers pointing to the button.
    the button on the fragment page has a "set action listener" that update a variable in a managed bean.
    the output text on the fragment page is displaying the content of that variable (which the button is updating).
    the problem is that partial submit is not working and whenever the button is clicked and the value of the variable inside the managed bean is changed , it is not reflected in the output text.
    note that if you try to use this example in a normal JSF page it will work, so does anybody knows what is wrong.
    i'm using Jdeveloper 11.1.1.2
    ************************** source code of the jsf fragment page *********************************
    <?xml version='1.0' encoding='windows-1252'?>
    <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:commandButton text="commandButton 1" id="cb1" partialSubmit="true">
    <af:setActionListener from="#{not DepartmentInquiryBean.getterCriteriaPanelDisplayInd}"
    to="#{DepartmentInquiryBean.setterCriteriaPanelDisplayInd}"/>
    </af:commandButton>
    <af:outputText value="#{DepartmentInquiryBean.getterCriteriaPanelDisplayInd}" id="ot1"
    partialTriggers="cb1"/>
    </jsp:root>
    ************************** source code of the managed bean ************************************
    package Merch.Model;
    public class DepartmentInquiry {
    private boolean CriteriaPanelDisplayInd = true;
    public DepartmentInquiry() {
    public void setSetterCriteriaPanelDisplayInd(boolean p_CriteriaPanelDisplayInd) { 
    CriteriaPanelDisplayInd = p_CriteriaPanelDisplayInd;
    public boolean getGetterCriteriaPanelDisplayInd() {
    return CriteriaPanelDisplayInd;
    ********************************************************************************************

    Yes, try appending the region's id to the component inside that region.
    i.e.
    <af:outputText value="#{DepartmentInquiryBean.getterCriteriaPanelDisplayInd}" id="ot1"
    partialTriggers="r1:cb1"/>^ assuming 'r1' is your region's id.
    If your fragment is not inside a region...maybe try doing so.
    Also, see here:
    Referencing a component on a page fragment inside an <af:region>.
    Best of luck.
    Matthew.
    Edited by: Matthew Carrigy on 27/11/2009 10:42

  • [JSF 1.2] problem with c:forEach inside h:panelGrid

    I have a list of beans that I want to display in table of 3 columns, and let the rows increase according to the size of my list.
    The following code works as expected:
    <h:panelGrid columns="3">
         <c:forEach items="#{mylist}" var="row">
              <h:outputText value="#{row.name}" />
         </c:forEach>
    </h:panelGrid>This also works:
    <h:panelGrid columns="3">
         <c:forEach items="#{mylist}" var="row">
              <h:panelGroup>
         Name: <h:outputText value="#{row.name}" />
              </h:panelGroup>
         </c:forEach>
    </h:panelGrid>But when I put two outputText components inside the panelGroup I get duplicate ID in view error.
    Any suggestions?

    I have also seen something similar. Oddly enough, you seem to be able to explicitly specify an id, so something like this usually works:
    <h:panelGrid columns="3">
        <c:forEach items="#{mylist}" var="row" varStatus="rs">
            <h:panelGroup>
                <h:outputText id="alabel_${rs.index}" value="Name:" />
                <h:outputText id="avalue_${rs.index}" value="#{row.name}" />
            </h:panelGroup>
        </c:forEach>
    </h:panelGrid>However, I agree that this should not be needed if everything was working properly.
    Another case I have found that seems to be a bug is a JSF fragment like this:
    <h:form id="testForm">
      <h:panelGrid columns="3" columnClasses="rightColumnHeader, leftColumnHeader">
          <f:facet name="header">
         <h:outputFormat value="#{Bundle.listTest_title}" />
          </f:facet>
          <h:outputText value="Index$" />
          <h:outputText value="Index#" />
          <h:outputText value="Value" />
          <c:forEach items="#{testlist}" var="it" varStatus="is">
         <c:out value="${is.index}." />
         <h:outputText value="#{is.index}." />
         <h:outputText value="#{it}" />
          </c:forEach>
      </h:panelGrid>
    </h:form>Now the c:out tag manages to output is.index, but the h:outputText tag doesn't. Further testing shows that the varStatus variable is not available at all in #{} expressions, but only in ${} expressions, whereas the var variable is available in both. Seems like a bug, but maybe there is some reason for this behaviour??

  • CommandButton doesn't work in JSF fragment?

    Hi all,
    Why commandButton doesn't work in JSF fragment? while I set partialSubmit as true!
    As following:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:h="http://java.sun.com/jsf/html">
    <af:inputText label="Your Name" id="it1"/>
    <af:inputDate label="BirthDate" id="id1"/>
    <af:commandButton partialSubmit="true" text="Calculate Age" id="cb1"/>
    <af:outputText id="ot1"/>
    </jsp:root>
    Thanks in advance :)))

    The full jsff code is:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:h="http://java.sun.com/jsf/html">
    <af:inputText label="Your Name" id="it1" binding="#{fragment_bean.it1}"/>
    <af:inputDate label="BirthDate" id="id1" binding="#{fragment_bean.id1}"/>
    <af:commandButton partialSubmit="true" text="Calculate Age" id="cb1"
    binding="#{fragment_bean.cb1}"
    action="#{fragment_bean.cb1_action}"/>
    <af:outputText id="ot1" partialTriggers="cb1" value="test"
    binding="#{fragment_bean.ot1}"/>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:fragment_bean-->
    </jsp:root>
    Java Bean is generated using "Auto Bind" feature in Jdeveloper 11.1.1.3.0:
    public class fragment_bean {
    private RichOutputText ot1;
    private RichCommandButton cb1;
    private RichInputDate id1;
    private RichInputText it1;
    public fragment_bean() {
    public void setOt1(RichOutputText ot1) {
    this.ot1 = ot1;
    public RichOutputText getOt1() {
    return ot1;
    public void setCb1(RichCommandButton cb1) {
    this.cb1 = cb1;
    public RichCommandButton getCb1() {
    return cb1;
    public void setId1(RichInputDate id1) {
    this.id1 = id1;
    public RichInputDate getId1() {
    return id1;
    public void setIt1(RichInputText it1) {
    this.it1 = it1;
    public RichInputText getIt1() {
    return it1;
    public String cb1_action() {
    // Add event code here...
    System.out.println("Hi test !!!");
    return null;
    }

  • How to Call a method that takes in a parameter from JSF Fragment

    Hi,
    When we want to call the getter method of a backingbean field in a JSF Fragment we merely do a #{bean.fieldName} which will ensure that a getFieldName () will be invoked on the bean....and the value is returned.
    Now Suppose i have a method say
    String method1(String) and i wnt use this method in the JSFF. How woudl i do that because this method is taking a parameter so i cannot do a plain #{bean.fieldName}
    Any ideas
    Thanks
    Karthik

    Hello Karthik,
    You can achieve it using an EL hack. If the managed bean implements map, then an expression like #{bean[myParameter]} will call bean.get(myParameter) and you can then redispatch to your other method.
    Regards,
    ~ Simon

  • Do some processing before loading jsf fragment created using adf task flow

    Hi,
    I am working on JDev11g.
    I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
    I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
    But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
    Is there any method which is called only first time when region is loaded ?
    Or any other solution to achieve this.
    Regards,
    Devang

    Hi,
    don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
    Frank

  • Outline Stroke – normal behaviour?

    Here's a strange anomaly I bumped into.
    I drew a single open path with its ends crossing (see black line on the shot below).
    When I outline the stroke everything runs into one instead of overlapping (see red shape).
    Separate paths produce overlapping objects when outlined, so I would have expected the shape in my example to overlap itself.
    It is as if a Pathfinder Unite has been applied.
    Is this normal behaviour? Has Illie always done it this way?

    Steve,
    Is this normal behaviour? Has Illie always done it this way?
    It is always diffiult to determine whether a behaviour is normal or even rational, but she has always behaved that way.
    I believe she sees a (self overlapping) path as one object and  is unable to decide a split into parts, even though there is an order of Anchor Points; and after all, a self overlapping path may have only one segment so it is not always possible to consider an order of segments.
    Apart from that, a split would lead to separate paths, would it not (with coinciding ends that would be stroked if the paths were to be stroked)?
    And if the order should be shown without splitting the path, would it not require some rather strange solutions, apart from giving her a splitting headache trying to figure them out?

  • Agregation exception not working - bug or normal behaviour

    We want to define a key figure with an  exception agregation to count a number of invoices of a selection.
    We decided to create a specific Key figure with the following properties :
    Type : Integer / Cumulative values
    Exception agregation :  Minimum or Maximum
    Agregation Sum
    It doesn't work as we want and I'm sure I already did it in the pas on another project. Please let me know if it's a bug or a normal behaviour.
    With the following data set :
    Day | Invoice | Invoice Item | KF
    D1  |INV1     | ITM1         | 1
    D1  |INV1     | ITM2         | 1
    D1  |INV1     | ITM3         | 1
    D1  |INV2     | ITM1         | 1-
    D1  |INV2     | ITM2         | 1-
    D1  |INV2     | ITM3         | 1-
    D1  |INV3     | ITM1         | 1
    D1  |INV3     | ITM2         | 1
    D1  |INV4     | ITM1         | 1
    D1  |INV4     | ITM2         | 1
    We expect to have the following aggregation behaviour :
    Without Invoice Item display :
    Day | Invoice |  KF
    D1  |INV1     |  1
    D1  |INV2     |  1-
    D1  |INV3     |  1
    D1  |INV4     |  1
    With neither Invoice nor Invoice Item  :
    Day |  KF
    D1  |  2
    Instead we have :
    Without Invoice Item :
    Day | Invoice |  KF
    D1  |INV1     |  3
    D1  |INV2     |  3-
    D1  |INV3     |  2
    D1  |INV3     |  2
    Day |  KF
    D1  |  4

    Hi,
    App user is string so try
    <script>
    alert("&APP_USER.")
    </script>Regards,
    Jari

  • PartialTrigger point to Component within JSF Fragment

    i like know if it is possible to have component within mainPage.jspx with partialTrigger pointing to component within a JSF Fragment which is included in mainPage.jspx.
    A use case for it could be, for example, i have a tabbed panel with 2 tabs, each tab contains a JSF Fargment per jsp:include, in the first tab there is a table with search result and the second tab should show the detaisl of the selected table item by double-click or context menu of the item.
    Thanks in advanced.

    Hi,
    since you don't mention af:region, I assume you don't use it. In this case, have a look here: http://thepeninsulasedge.com/frank_nimphius/2008/02/14/adf-faces-how-to-issue-a-ppr-event-from-a-fsubview-and-how-to-ppr-of-subviews/
    Frank

  • Problem on Normalized Frequency to original analog frequency

    I'm having a problem regarding normalized frequency.
    The Sine wave .vi, says that the input to the frequency  must be a normalized frequency. What I did is tha I divide my frequency to the number of samples.
    However, when I attached Tone Measurements to output signal of the sine wave, I'm not having a frequency of what i set. 
    In my example my input frequency is 60 Hz however what was detected by the tone measurement was the normalized frequency which is 0.06.
    How do I modify this VI, in order that i will have a frequency in 60 hZ, 

    The problem with trying to calculate a frequency is that you need a time element.  You don't have a time element.  So I'm thinking 1 sample/second is used.
    Try using the Sine Wave.vi (it is in the Signal Processing->Waveform Generation palette).  With that function, you need to supply the sample rate and the actual frequecy that you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Monitoring the jms connection - normal behaviour

    Hi all,
    -> We have a SNMP agent on a managed server and is targeted to the same.
    -> We have not created any gauge monitor,String monitor or counter monitor, its all blank.
    Question:
    Considering the above setup, If there is a new jms connection should SNMP call the jmx to get the reference of the jms connection.??
    Is this the normal behaviour of weblogic with no monitor attributes specified?
    /SR

    Enable the JMX on domain by adding below JVM Options to domain.xml, then from the JDK/bin use JConsole, this very light weight and gives all the info of JVM.
    -Dcom.sun.management.jmxremote - this will allow the IS to use the same MBeanServer as the VM instead of starting a new one
    -Dcom.sun.management.jmxremote.port=18010 - the port the MBeanServer listens on
    -Dcom.sun.management.jmxremote.authenticate=false - no security
    -Dcom.sun.management.jmxremote.ssl=false - no SSL either
    Raghu

  • Scroll bars not appearing in jsf fragment

    Hi,
    In a jsf fragment I have a table in panel stretch layout. Scroll bars dont show up.
    Tried :
    1. wrapping table inside panelcollection.
    code pasted below
    Thanks,
    Nutan
    code:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    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">
    <c:set var="networkintegrityuiBundle"
    value="#{adfBundle['oracle.communications.activation.discovery.configuration.ViewScheduleDetailsBundle']}"/>
    <af:panelStretchLayout id="psl1" topHeight="33" inlineStyle="width:100%;">
    <f:facet name="center">
    <af:table value="#{configViewBean.scheduleList}" var="row"
    rows="#{bindings.schedules.rangeSize}" columnStretching="last"
    emptyText="#{bindings.schedules.viewable ? networkintegrityuiBundle.NO_SCHEDULES : applcoreBundle.TABLE_EMPTY_TEXT_ACCESS_DENIED}"
    fetchSize="#{bindings.schedules.rangeSize}"
    rowBandingInterval="0" id="t2" inlineStyle="height:100%;width:100%">
    <af:column sortProperty="description" sortable="true" align="start"
    headerText="#{networkintegrityuiBundle.DESCRIPTION}"
    id="c8">
    <af:outputText value="#{row.description}" id="ot7"/>
    </af:column>
    <af:column sortProperty="startDate" sortable="true" align="start"
    headerText="#{networkintegrityuiBundle.EFFECTIVE_DATE}"
    id="c10">
    <af:outputText value="#{row.startDate}" id="ot3"/>
    </af:column>
    <af:column sortProperty="startTime" sortable="true" align="start"
    headerText="#{networkintegrityuiBundle.START_TIME}"
    id="c11">
    <af:outputText value="#{row.startTime}" id="ot4"/>
    </af:column>
    <af:column sortProperty="frequency" sortable="true" align="start"
    headerText="#{networkintegrityuiBundle.FREQUENCY}"
    id="c9">
    <af:outputText value="#{row.frequency}" id="ot2"/>
    </af:column>
    <af:column sortProperty="recurrencePattern" sortable="true"
    headerText="#{networkintegrityuiBundle.RECURRENCY_PATTERN}"
    id="c12" align="start">
    <af:outputText value="#{row.recurrencePattern}" id="ot8"/>
    </af:column>
    </af:table>
    </f:facet>
    <f:facet name="top">
    <af:panelGroupLayout layout="default" id="pgl0001" inlineStyle="width:100%;">
    <af:panelHeader text="#{networkintegrityuiBundle.SCAN_SCHEDULES}" size="1"
    id="ph11235" inlineStyle="width:100%;" helpTopicId="ManScanSchedTabHead">
    <f:facet name="info">
    <af:outputLabel value="#{configurationView.serverTime}"
    id="ot99"/>
    </f:facet>
    </af:panelHeader>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </jsp:root>

    This is parent page.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    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"
    xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
    <c:set var="bundle"
    value="#{adfBundle['oracle.communications.activation.discovery.configuration.ConfigurationDetailBundle']}"/>
    <c:set var="srbundle"
    value="#{adfBundle['oracle.communications.activation.integrity.ui.page.ScanRunBundle']}"/>
    <c:set var="common_bundle" value="#{adfBundle['oracle.communications.activation.discovery.configuration.CommonMsgBundle']}"/>
    <af:panelHeader text="#{bundle.PROFILE_DETAIL} #{bindings.name.inputValue}" size="1" id="ph2" helpTopicId="ScanResDispScanConfig"
    shortDesc="#{common_bundle.HELP_ICON_TITLE}">
    <af:panelTabbed id="ptdsf1" styleClass="AFStretchWidth"
    inlineStyle="width:100%;">
    <af:showDetailItem text="#{bundle.STATUS}" disclosed="true"
    binding="#{configurationView.statusDetails}"
    partialTriggers="timer" id="sdh1c234">
    <af:poll id="timer"
    interval="#{pageFlowScope.scanProgressData.pollInterval}"
    pollListener="#{pageFlowScope.scanProgressData.autoRefreshScan}"
    rendered="#{configurationView.configDetailRegion.visible}"/>
    <af:panelHeader text="#{configurationView.scanJobStatus}" id="ph22c1" size="0"
    inlineStyle="margin-left:10px;margin-top:10px;" helpTopicId="ScanResDispScanStatus">
    <f:facet name="toolbar">
    <af:commandButton text="#{bundle.DISPLAY_DISCREPANCIES}"
    disabled="#{!(data.ConfigurationDetailPageDef.discrepancyDetectionEnabled.inputValue)}"
    actionListener="#{configurationView.executeActionOnCommandButton}"
    partialSubmit="true" id="showDiscrepancies"
    visible="#{(data.ConfigurationDetailPageDef.jobStateString.inputValue)!='None' ? (data.ConfigurationDetailPageDef.discrepancyDetectionEnabled.inputValue) :(bindings.runReconciliationAsBoolean.inputValue)}"></af:commandButton>
    </f:facet>
    </af:panelHeader>
    <af:panelGroupLayout id="pgl129" layout="scroll">
    <af:panelGroupLayout rendered="#{(data.ConfigurationDetailPageDef.jobStateString.inputValue)!='None'}"
    id="pgls2" layout="horizontal">
    <af:panelHeader text="#{bundle.SCAN_PROGRESS}" size="1"
    inlineStyle="margin-left:10px;" id="ph117">
    <af:panelGroupLayout layout="horizontal" id="pglax3">
    <af:panelFormLayout rows="4" labelWidth="60"
    id="pfasdl2">
    <af:inputText label="#{bundle.TOTAL_ADDRESSES}"
    value="#{data.ConfigurationDetailPageDef.totalNoOfDiscoveryWorkItems.inputValue}"
    readOnly="true" id="isdt4"/>
    <af:inputText label="#{bundle.IN_PROGRESS}"
    value="#{data.ConfigurationDetailPageDef.noOfInProgressDiscoveryWorkItems.inputValue}"
    readOnly="true" id="itsd5"/>
    <af:inputText label="#{bundle.COMPLETED}" readOnly="true"
    value="#{data.ConfigurationDetailPageDef.noOfCompletedDiscoveryWorkItems.inputValue}"
    id="iscwt6"/>
    <af:inputText label="#{bundle.FAILED}"
    value="#{data.ConfigurationDetailPageDef.noOfFailedDiscoveryWorkItems.inputValue}"
    readOnly="true" id="isdfkt7"/>
    </af:panelFormLayout>
    <af:spacer width="10"/>
    <af:panelFormLayout rows="4" labelWidth="60"
    inlineStyle="height:90px;"
    id="status">
    <af:panelLabelAndMessage label="#{bundle.SCAN_COMPLETION}"
    inlineStyle="margin:20px 0px 0px; vertical-align:middle;"
    id="plamx211"
    labelStyle="vertical-align:top;">
    <dvt:gauge id="DiscoveryStatus" gaugeType="STATUSMETER"
    contentDelivery="immediate"
    inlineStyle="height:32px; width:120px;"
    value="#{pageFlowScope.scanProgressData.scanCompletionPercent}"
    gaugeSetDirection="GSD_DOWN" imageFormat="PNG">
    <dvt:gaugeBackground>
    <dvt:specialEffects fillType="FT_COLOR">
    <dvt:gradientStopStyle/>
    </dvt:specialEffects>
    </dvt:gaugeBackground>
    <dvt:indicatorBar fillColor="#0000ff"/>
    <dvt:gaugePlotArea/>
    <dvt:tickLabel content="TC_NONE"/>
    <dvt:tickMark content="TC_NONE"/>
    <dvt:topLabel position="LP_NONE"/>
    <dvt:bottomLabel position="LP_NONE"/>
    <dvt:metricLabel numberType="NT_PERCENT"
    position="LP_INSIDE_GAUGE">
    <dvt:gaugeFont bold="true" color="#c6c3c6"/>
    </dvt:metricLabel>
    </dvt:gauge>
    </af:panelLabelAndMessage>
    <af:inputText label="#{bundle.START_TIME}"
    value="#{bindings.discoveryStartTimeString.inputValue}"
    readOnly="true" id="isct1"
    inlineStyle="text-align:right;">
    <af:convertDateTime type="both" timeStyle="medium"/>
    </af:inputText>
    <af:inputText label="#{bundle.END_TIME}" readOnly="true"
    value="#{bindings.discoveryEndTimeString.inputValue}"
    id="itsdc2">
    <af:convertDateTime type="both" timeStyle="medium"/>
    </af:inputText>
    <af:inputText label="#{bundle.DURATION}" readOnly="true"
    value="#{bindings.discoveryDuration.inputValue}"
    id="itsdfc3"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:panelHeader>
    <af:panelHeader rendered="#{data.ConfigurationDetailPageDef.discrepancyDetectionEnabled.inputValue}"
    text="#{bundle.DISCREPANCY_DETECTION_PROGRESS}" size="1"
    inlineStyle=" margin-left:10px;" id="psch62">
    <af:panelGroupLayout layout="horizontal" id="pglax31">
    <af:panelFormLayout rows="4" labelWidth="60"
    id="pfasdl21">
    <af:inputText label="#{bundle.TOTAL_RESULTS}"
    value="#{data.ConfigurationDetailPageDef.totalNoOfDiscrepancyWorkItems.inputValue}"
    readOnly="true" id="itsc11"/>
    <af:inputText label="#{bundle.IN_PROGRESS}"
    value="#{data.ConfigurationDetailPageDef.noOfInProgressDiscrepancyWorkItems.inputValue}"
    readOnly="true" id="it1sx2"/>
    <af:inputText label="#{bundle.COMPLETED}" readOnly="true"
    value="#{data.ConfigurationDetailPageDef.noOfCompletedDiscrepancyWorkItems.inputValue}"
    id="it1c3"/>
    <af:inputText label="#{bundle.FAILED}"
    value="#{data.ConfigurationDetailPageDef.noOfFailedDiscrepancyWorkItems.inputValue}"
    readOnly="true" id="itsc14"/>
    </af:panelFormLayout>
    <af:spacer width="10"/>
    <af:panelFormLayout rows="4" labelWidth="60"
    inlineStyle="height:90px;"
    id="status1">
    <af:panelLabelAndMessage label="#{bundle.SCAN_COMPLETION}"
    inlineStyle="margin:10px 0px 0px 42px;"
    labelStyle="vertical-align:top;"
    id="plsdam2">
    <dvt:gauge id="DiscrepencyStatus" gaugeType="STATUSMETER"
    contentDelivery="immediate"
    inlineStyle="height:32px; width:120px;"
    value="#{pageFlowScope.scanProgressData.discrepancyCompletionPercent}"
    gaugeSetDirection="GSD_DOWN" imageFormat="PNG">
    <dvt:gaugeBackground>
    <dvt:specialEffects fillType="FT_COLOR">
    <dvt:gradientStopStyle/>
    </dvt:specialEffects>
    </dvt:gaugeBackground>
    <dvt:indicatorBar fillColor="#0000ff"/>
    <dvt:gaugePlotArea/>
    <dvt:tickLabel content="TC_NONE"/>
    <dvt:tickMark content="TC_NONE"/>
    <dvt:topLabel position="LP_NONE"/>
    <dvt:bottomLabel position="LP_NONE"/>
    <dvt:metricLabel numberType="NT_PERCENT"
    position="LP_INSIDE_GAUGE">
    <dvt:gaugeFont bold="true" color="#c6c3c6"/>
    </dvt:metricLabel>
    </dvt:gauge>
    </af:panelLabelAndMessage>
    <af:inputText label="#{bundle.START_TIME}"
    value="#{bindings.discrepancyStartTimeString.inputValue}"
    readOnly="true" id="isdt8">
    <af:convertDateTime type="both" timeStyle="medium"/>
    </af:inputText>
    <af:inputText label="#{bundle.END_TIME}" readOnly="true"
    value="#{bindings.discrepancyEndTimeString.inputValue}"
    id="itsc9">
    <af:convertDateTime type="both" timeStyle="medium"/>
    </af:inputText>
    <af:inputText label="#{bundle.DURATION}" readOnly="true"
    value="#{bindings.discrepancyDuration.inputValue}"
    id="it1sad0"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:panelHeader>
    <af:panelHeader rendered="#{data.ConfigurationDetailPageDef.discrepancyDetectionEnabled.inputValue}"
    text="#{bundle.DISCREPANCY_COUNTS}" size="1" inlineStyle=" margin-left:10px;"
    id="psch621">
    <af:panelGroupLayout id="pgl11" layout="horizontal">
    <af:spacer width="30" id="sse611199"/>
    <af:image source="/icons/critical_status.png" id="criticalImageId"
    shortDesc="#{bundle.CRITICAL}"
    inlineStyle="vertical-align:middle;"/>
    <af:spacer width="5" id="ssen6111"/>
    <af:outputText value="#{srbundle.CRITICAL}" id="ot3"
    inlineStyle="display:block;text-align:middle;"/>
    <af:inputText value="#{data.ConfigurationDetailPageDef.numberCritical.inputValue}"
    readOnly="true" id="it1lk6"/>
    <af:spacer width="60" id="sse6121"/>
    </af:panelGroupLayout>
    <af:panelGroupLayout id="pgl12" layout="horizontal"
    inlineStyle="margin-top:3px;">
    <af:spacer width="30" id="sse6112"/>
    <af:image source="/icons/major_status.png" id="majorImageId"
    shortDesc="#{bundle.MAJOR}"
    inlineStyle="vertical-align:middle;"/>
    <af:spacer width="5" id="ssen6112"/>
    <af:outputText value="#{srbundle.MAJOR}" id="ot26"
    inlineStyle="display:block;text-align:middle;"/>
    <af:inputText value="#{data.ConfigurationDetailPageDef.numberMajor.inputValue}"
    readOnly="true" id="it1lk7"/>
    <af:spacer width="60" id="sse61211"/>
    </af:panelGroupLayout>
    <af:panelGroupLayout id="pgl113" layout="horizontal"
    inlineStyle="margin-top:3px;">
    <af:spacer width="30" id="sse6113"/>
    <af:image source="/icons/minior_status.png" id="minorImageId"
    shortDesc="#{bundle.MINOR}"
    inlineStyle="vertical-align:middle;"/>
    <af:spacer width="5" id="ssen6113"/>
    <af:outputText value="#{srbundle.MINOR}" id="ot27"
    inlineStyle="display:block;text-align:middle;"/>
    <af:inputText value="#{data.ConfigurationDetailPageDef.numberMinor.inputValue}"
    readOnly="true" id="it1lk63"/>
    <af:spacer width="60" id="sse61212"/>
    </af:panelGroupLayout>
    <af:panelGroupLayout id="pgl114" layout="horizontal"
    inlineStyle="margin-top:3px;">
    <af:spacer width="30" id="sse61114"/>
    <af:image source="/icons/warning_status.png" id="warningImageId"
    shortDesc="#{bundle.WARNING}"
    inlineStyle="vertical-align:middle;"/>
    <af:spacer width="5" id="ssen6114"/>
    <af:outputText value="#{srbundle.WARNING}" id="ot28"
    inlineStyle="display:block;text-align:middle;"/>
    <af:inputText value="#{data.ConfigurationDetailPageDef.numberWarning.inputValue}"
    readOnly="true" id="it1lk64"/>
    <af:spacer width="60" id="sse61213"/>
    </af:panelGroupLayout>
    <af:spacer height="25" id="sse688"/>
    </af:panelHeader>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="sse6"/>
    </af:showDetailItem>
    <af:showDetailItem text="#{bundle.GENERAL}" disclosed="true" id="sdh1222">
    <jsp:include page="/oracle/communications/activation/integrity/ui/page/ConfigDetails.jsff"/>
    </af:showDetailItem>
    <af:showDetailItem text="#{bundle.PLUGIN_PARAMETERS}" disclosed="true"
    id="sdh1c23411">
    <af:panelHeader text="#{bindings.scanProfile.inputValue}" id="ph22c111">
    <af:switcher facetName="#{bindings.scanProfile.inputValue}"
    id="protocolParam" defaultFacet="default"
    binding="#{configurationView.scanProfile}">
    <f:facet name="SNMPDiscoveryScan">
    <af:region value="#{bindings.ViewSNMPParameters1.regionModel}"
    id="ViewSNMPParameters1"/>
    </f:facet>
    <f:facet name="SNMPMIB2Discovery">
    <af:region value="#{bindings.ViewSNMPParameters1.regionModel}"
    id="ViewSNMPParameters2"/>
    </f:facet>
    <f:facet name="SNMPCiscoDiscovery">
    <af:region value="#{bindings.ViewSNMPParameters1.regionModel}"
    id="ViewSNMPParameters3"/>
    </f:facet>
    <f:facet name="MIB2UIMInventoryImport">
    <af:region value="#{bindings.ViewUIMParameters1.regionModel}"
    id="ViewUIMParameters1"/>
    </f:facet> <f:facet name="UIMGatewayDiscovery">
    <af:region value="#{bindings.ViewUIMParameters1.regionModel}"
    id="ViewUIMParameters2"/>
    </f:facet>
    <f:facet name="default">
    <af:outputText value="#{bundle.DEFAULT_VALUE}" id="osct2"/>
    </f:facet>
    </af:switcher>
    </af:panelHeader>
    </af:showDetailItem>
    <af:showDetailItem text="#{bundle.SCOPE}" disclosed="true" id="sdh3s21">
    <af:switcher id="s1" facetName="#{bindings.derivedPluginName.inputValue}"
    defaultFacet="default">
    <f:facet name="default">
    <af:table value="#{bindings.addresses.collectionModel}" var="row"
    rows="#{bindings.addresses.rangeSize}"
    emptyText="#{emptyAddressText}"
    fetchSize="#{bindings.addresses.rangeSize}"
    columnStretching="last" rowBandingInterval="0"
    autoHeightRows="-1" inlineStyle="height:100%;width:99%;"
    binding="#{configurationView.addressTable}" id="tsdc2">
    <af:column sortProperty="address" sortable="true"
    headerText="#{bundle.ADDRESSES}" width="500" id="csfdc2"
    align="start">
    <af:outputText value="#{row.address}" id="otcs33"/>
    </af:column>
    </af:table>
    </f:facet>
    <f:facet name="Assimilation">
    <af:table var="row" rowBandingInterval="0" id="t3"
    columnStretching="last"
    value="#{bindings.assimilationAddresses.collectionModel}"
    binding="#{configurationView.assimilationAddressTable}"
    inlineStyle="width:99%; height:100%;">
    <af:column sortable="true" headerText="#{bundle.SCAN_NAME}" id="c14"
    sortProperty="name" align="start">
    <af:outputText value="#{row.derivedPluginType == null ? bundle.DELETED_PREFIX : ''}#{row.name}"
    id="ot9"/>
    </af:column>
    <af:column sortable="true" headerText="#{bundle.PLUGIN}" id="c15"
    sortProperty="pluginName" align="start">
    <af:outputText value="#{row.pluginName}" id="ot11"/>
    </af:column>
    <af:column sortable="true" headerText="#{bundle.PTYPE}" id="c7"
    sortProperty="derivedPluginType" align="start">
    <af:outputText value="#{row.derivedPluginType}" id="ot10"/>
    </af:column>
    <af:column sortable="true" headerText="#{bundle.DESCRIPTION}"
    id="c13" sortProperty="description" align="start">
    <af:outputText value="#{row.description}" id="ot12"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:switcher>
    </af:showDetailItem>
    <af:showDetailItem text="#{bundle.SCHEDULE}" disclosed="true"
    inlineStyle="width:100%;height:100%;" id="sdi211s">
    <jsp:include page="/oracle/communications/activation/integrity/ui/page/ViewScheduleDetails.jsff"/>
    </af:showDetailItem>
    <af:showDetailItem text="#{bundle.BLACKOUT_WINDOWS}" id="ph1"
    inlineStyle="width:100%;height:100%;">
    <jsp:include page="/oracle/communications/activation/integrity/ui/page/ViewBlackoutWindowDetails.jsff"/>
    </af:showDetailItem>
    </af:panelTabbed>
    </af:panelHeader>
    </jsp:root>

  • Finding a component inside jsf fragment using javascript in adf

    Hello all,
    I am using jdeveloper 11.1.1.5.
    I want to find a component inside my jsf frgament using javascript.
    Like inside jspx page I was able to find the component using
    AdfPage.PAGE.findComponentByAbsoluteId("ID");
    Now my requirement is I have a jsf fragment and I want to find component inside jsf frgament using javascript.
    How can I find the component?
    Please suggest
    Thanks
    Edited by: Navin K on Dec 21, 2011 4:24 PM

    Hi all..
    I am using Jdeveloper 11.1.2.1.0
    The code i used is given below. When i run this i always getting the message (ie region not found) in the else case of java script.
    How can i solve this. How can i take the region r1 in the javascript..
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="Index.jsf" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/AssetTrackingTemplate.jsf" id="pt1">
    <f:facet name="top"/>
    <f:facet name="first">
    <af:panelAccordion id="pa1">
    <af:showDetailItem text="Master Details" id="sdi1">
    <af:spacer width="10" height="10" id="s3"/>
    <af:commandLink text="Home" id="cl8" inlineStyle="font-size:small; font-weight:bold;">
    <af:setActionListener from="/WEB-INF/task-flow-Home.xml#task-flow-Home"
    to="#{pageFlowScope.dynRegionBean.taskFlowId}"/>
    </af:commandLink>
    <af:spacer width="10" height="10" id="s1"/>
    <af:tree value="#{bindings.GenTopMenu1.treeModel}" var="node"
    selectionListener="#{bindings.GenTopMenu1.treeModel.makeCurrent}"
    rowSelection="single" id="t1">
    <f:facet name="nodeStamp">
    <af:group id="g1">
    <af:outputText value="#{node.Description}" id="ot2"
    rendered="#{node.MenuType==1}"/>
    <af:commandLink text="#{node.Description}" id="cl1"
    rendered="#{node.MenuType==2}" partialSubmit="true"
    immediate="false"
    actionListener="#{pageFlowScope.dynRegionBean.launchTaskFlow}">
    <f:attribute name="Definition" value="#{node.Definition}"/>
    </af:commandLink>
    </af:group>
    </f:facet>
    </af:tree>
    </af:showDetailItem>
    </af:panelAccordion>
    </f:facet>
    <f:facet name="middle">
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    </f:facet>
    <f:facet name="end"/>
    <f:facet name="copyright">
    <af:outputText value="All Rights Reserved By Innovation ITC" id="ot1"
    inlineStyle="text-align:center; color:inherit;"/>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript">
    function customHandler(event) {
    var region=AdfPage.PAGE.findComponentByAbsoluteId("r1");
    if(region!=null)
    alert("Region Found");
    var exportCmd = region.findComponent("cb1");
    var actionEvent = new AdfActionEvent(exportCmd);
    actionEvent.forceFullSubmit();
    actionEvent.noResponseExpected();
    actionEvent.queue();
    else {
    alert("Region Not Found")
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    Thanks,
    gtg.
    Edited by: gtg on 08-Feb-2012 00:14

  • Difference between jsf and jsf fragment

    hi all,
    now i am working with layout and menu framework.
    our page have main menu and side menu then in the middle there is main area.
    so far i use dynamic region and jsf fragment for main area.
    because i can only use jsff in dynamic region. So when user click on main menu or side menu, i change dynamically in dynamic region.
    So all of my functional pages become jsff.
    is there any disadvantages for using like this?
    is it anti design patterns?
    With Regards,
    WP

    Hi,
    I am having UI which includes 5 tabs.
    The tabs present separate functionalities and are independent of each other.
    I am not sure, whether to make 5 .jsff fragments and put them into one .jspx or make 5 different .jspx files.
    Please comment on which approach to follow, or any general UI design guidelines to be looked into.
    Thanks !

Maybe you are looking for

  • Maintaining operating concern after adding new value field

    Hello, I added a new value field to our live operating concern,maintained the data structure throguh KEA0(Maintain operating concern).The changes are transported from Development to Quality,Changes were reflected in Q system.After testing in Q system

  • Error message when I try to open itunes library

    Hi guys, I started my laptop today and the update the new Itunes version window appeared. I clicked onto download and install but it kept giving me an error and I wasn't able to open my itunes library anymore. I decided to uninstall itunes and downlo

  • Consolidation logic error..We are using BPC 7.5 NW SP7.

    Hi Experts, We are using BPC 7.5 NW SP7. We are running the consolidation for 2011.NOVEMBER as a first month and  there is no data for previous months except 2011.MAR. My financial year starts on 2011.APR. When we are running consolidation using stan

  • Cisco 3600 using windows authentication

    I recently took over the network manager possition. The win2003 server that was set up to handle dialin authentication from our cisco 3600 crashed and had to be replaced. restoring from backup was not a good option , so I started completely over. The

  • Drive hardware failed

    Hi, My Mac Pro, purchased last December 2007 seems to be acting a bit flaky. Tried Repair Disk from another OSX drive and all seemed to go ok. Ran TechTools Deluxe v 3.1.2 and the Drive Hardware test failed with the comment "checks the physical attri