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

Similar Messages

  • 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

  • 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

  • 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

  • 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;
    }

  • Is there any component in JSF for   file browsing

    Hi Friends,
    i have to place a file browser in my page,i am using JSF Framework. so i need file browser component in JSF , but i am not able to find the JSF Component for file browser.( in normal html there is this tag {<input type="file" /> } for file browsing ), is there tag for file browsing in JSF.

    Edukondalu_Avula wrote:
    can you tell me what is the jar file i have to add for this taglib
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
    Read reply #3. I have posted a link.

  • Flex 4 - insert combobox or other interactive component within RichEditableText

    As part of my massive quest to convert a large application from AS2 to Flex AS3, I am going to need to insert a UI component within a RichEditableText component.
    Is that actually possible?
    In AS2, I had created each word of a paragraph as a separate textField and then positioned them all together, inserting input fields and combobox components as required.... however... project requirements means I have to try and insert components within full paragraphs, if possible... Dynamically and in actionscript.  I'm not sure where to start attempting this... if anyone has any ideas which might help, I'd be truly grateful !!!
    This is a question paragraph.  The first answer to this paragraph question is [combobox] and the second might be [combobox] so select your answers and press the check button.
    Thanks.

    Have you discovered TinyTLF yet? I believe it will enable you to create the sort of controls you're looking for. http://guyinthechair.com/

  • Color Picker Component in JSF

    Hi
    I would like to know if there is a Color Picker Component in JSF
    Thanks
    Sreelekha

    Hi
    i tried that component suit , but still i couldnt extract that color picker component from the sample html file :(
    after i become able to extract that then i would try to use it inside jsc pages.
    do you use that component ?
    thanks

  • 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

  • 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 ?!?

  • ScrollableDataTable filtering using calender component in JSF

    Hi,
    I just want to filter scrollableDataTable on basis of calender component in JSF. For example I want to search the activate member for a subscription in between a time period of startDate and endDate. I also want to rerender the table data using Ajax.
    Any suggestion !

    This fixes the compile error, but now there's a validation error on the data (see below). The property in the data object is a BigDecimal, the setter method takes a BigDecimal and the converter is the javax.faces.BigDecimal converter. Not sure why there would be a validation error.
    I've noticed that if I'm using an <h:inputText> component, I don't need to specify a converter. The value entered by the user is automatically (somehow) converted to a BigDecimal and applied correctly. However, when I'm using an <h:selectOneMenu> component, I get the validation error even with specifying the converter. I've tried specifiying the converter on the <h:selectOneMenu> component as well as using the <f:converter> tag on each of the <f:selectItem> components. The validation error is persistent. Any other suggestions?
    code sample:
         <h:selectOneMenu     id="priority"
                   required="false"
                   converter="javax.faces.BigDecimal"
                   title="classification select"
                   value="#{takeUserModel.developmentActivityModel.developmentactivity.branchpriority}"
                   immediate="true" >
              <f:selectItem itemLabel="1" itemValue="1" />
              <f:selectItem itemLabel="2" itemValue="2" />                                        
              <f:selectItem itemLabel="3" itemValue="3" />                                        
              <f:selectItem itemLabel="4" itemValue="4" />                                        
              <f:selectItem itemLabel="5" itemValue="5" />                                        
         </h:selectOneMenu>

  • Is Leap supported on a point to point bridge connection within the 350?

    Is Leap supported on a point to point bridge connection within the 350?

    Yes...
    http://www.cisco.com/univercd/cc/td/doc/product/wireless/airo_350/350brdgs/brscg/br350ch4.htm

  • A component within JTabbedPane with overlay layout

    Hi, I use the following solution to have a component within the upper right corner of the JTabbedPane: [http://forums.sun.com/thread.jspa?forumID=57&threadID=636289&start=2|http://forums.sun.com/thread.jspa?forumID=57&threadID=636289&start=2] . It works great, but when I'm resizing a window with the JTabbedPane with the JTabbedPane.WRAP_TAB_LAYOUT and width of all of the tabs is higher than size of the window the tabs are wrapped. But it should be wrapped when width of all tabs + width of the added component is higher than the size. I have no idea how to do this. Any ideas?
    Please see the screenshot: [http://img150.imageshack.us/img150/5629/btn.png|http://img150.imageshack.us/img150/5629/btn.png]

    Just a quick idea:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    class TabbedPaneTest {
      public JComponent makeUI() {
        UIManager.put("TabbedPane.tabAreaInsets",
                      new InsetsUIResource(6, 2, 0, 60));
        JSplitPane sp = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
        sp.setTopComponent(makeTabPanel(new JTabbedPane()));
        sp.setBottomComponent(makeTabPanel(new ClippedTitleTabbedPane()));
        sp.setPreferredSize(new Dimension(320, 240));
        return sp;
      private JPanel makeTabPanel(final JTabbedPane tab) {
        tab.addTab("asdfasd", new JLabel("456746"));
        tab.addTab("1234123", new JScrollPane(new JTree()));
        tab.addTab("6780969", new JLabel("zxcvzxc"));
        tab.setAlignmentX(1.0f);
        tab.setAlignmentY(0.0f);
        JButton b = new JButton(new AbstractAction("add") {
          @Override public void actionPerformed(ActionEvent e) {
            tab.addTab("test", new JScrollPane(new JTree()));
        b.setAlignmentX(1.0f);
        b.setAlignmentY(0.0f);
        JPanel p = new JPanel();
        p.setLayout(new OverlayLayout(p));
        p.add(b);
        p.add(tab);
        return p;
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          @Override public void run() { createAndShowGUI(); }
      public static void createAndShowGUI() {
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        frame.getContentPane().add(new TabbedPaneTest().makeUI());
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    class ClippedTitleTabbedPane extends JTabbedPane {
      //XXX Nimbus NPE
      Insets tabInsets = UIManager.getInsets("TabbedPane.tabInsets");
      Insets tabAreaInsets = UIManager.getInsets("TabbedPane.tabAreaInsets");
      public ClippedTitleTabbedPane() {
        super(JTabbedPane.TOP);
        setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        addComponentListener(new ComponentAdapter() {
          @Override public void componentResized(ComponentEvent e) {
            initTabWidth();
      @Override
      public void insertTab(String title, Icon icon, Component component,
                            String tip, int index) {
        super.insertTab(title, icon, component, tip==null?title:tip, index);
        JLabel label = new JLabel(title, JLabel.CENTER);
        Dimension dim = label.getPreferredSize();
        label.setPreferredSize(
            new Dimension(0, dim.height+tabInsets.top+tabInsets.bottom));
        setTabComponentAt(index, label);
        initTabWidth();
      private void initTabWidth() {
        Insets insets = getInsets();
        int areaWidth = getWidth() - tabAreaInsets.left - tabAreaInsets.right
                                   - insets.left        - insets.right;
        int tabCount = getTabCount();
        int tabWidth = 0;
        switch(getTabPlacement()) {
          case LEFT: case RIGHT:
          tabWidth = areaWidth/4;
          break;
          case BOTTOM: case TOP: default:
          tabWidth = areaWidth/tabCount;
        int gap = areaWidth - (tabWidth * tabCount);
        if(tabWidth>80) {
          tabWidth = 80;
          gap = 0;
        tabWidth = tabWidth - tabInsets.left - tabInsets.right - 3;
        for(int i=0;i<tabCount;i++) {
          JLabel l = (JLabel)getTabComponentAt(i);
          if(l==null) break;
          int h = l.getPreferredSize().height;
          l.setPreferredSize(new Dimension(tabWidth+((gap>0)?1:0), h));
          gap--;
        revalidate();
    }

  • 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>

  • 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

  • XML scrolling thumbnail, image loader, & Buttons [halfway works]

    Intro: I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch. For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of

  • Unknown extension in Library

    I am rather new to Mavericks after many years with Mac Pro 2006 and Lion. Now I am nowusing nMP 6 core. In my Library folder are some extensions that I do not know where came from (maybe after migration to my new one) I only have two external drives

  • Passing Values to URL Parameters in HTTP Connection SCOT

    Hi , I have created a new node in SCOT as HTTP. In that i am using one URL as HTTP Connection , for that URL have to pass some input values ( eg: User name , password ). Right now i am hardcoding these values in the URL, But i need to pass these inpu

  • LDAP(iPlanet & OID) Net Service

    Hi There, Is it possible to use iPlanet's LDAP for net service names lookup instaed of Oracle Names? Is there a way to extract the schema in OID and import into iPlanet ldap. If this could be done then NET8 should be able to connect to the directory

  • Error when creating Clickable PDF

    Has anyone come across what's noted below in the header when creating a clicable PDF? I create clickable PDFs using Adobe PDF tool through Word. The strange thing is that it doesn't appear on all the pages - that is the 220B alongside the header text