Nesting of switchers in facet.

Hi all,
I am using Jdevloper 11.1.2.1.0.In my page fragment i have three command buttons depending on the button i select corresponding facet will be emerged to the user for this i used switcher i followed this blog http://www.baigzeeshan.com/2010/08/using-afswitcher-component-in-oracle.html but the problem is when i press third command button in the third facet again i have two command buttons there depending on the command button which user selects corresponding facet should arrive but when i click on command button in the third facet its again linking to the first facet.Its not connecting to the respective facet.So Can anyone help on this.
Thanks
Sri

Hi,
sorry, but this question cannot be answered without knowing what exactly you did to show/hide switchers. To me the issue sounds like a UI refresh problem and you should set a PartialTriggers property on the surrounding layout container to refresh the switchers accordingly.
Frank

Similar Messages

  • Error when running a JHeadstart generated two-level tree display

    Dear All,
    I have a simple master detail VO/VO datamodel based on which I'd like to generate a two-level tree display. I've followed the JHeadstart dev guide meticulously.
    When I run the page I get an error:
    javax.faces.el.PropertyNotFoundException: Error getting property 'name' from bean of type oracle.jbo.uicli.binding.JUCtrlHierTypeBinding
    It turns out that this generated code in a region file is the root cause:
    <af:switcher facetName="#{node.hierType.name}">
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortTypenNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    <!-- DEBUG:BEGIN:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2 -->
    <f:facet name="MutatieSoortenBijTypeNode">
    <af:outputText value="#{node.Omschrijving}"/> </f:facet>
    <!-- DEBUG:END:TREE_NODE : default/misc/tree/treeNode.vm, nesting level: 2-->
    </af:switcher>
    When I substituted the <af:switcher> .... </af:switcher> xml code by <af:outputText value="#{node.Omschrijving}"/>, the page displayed correctly.
    Given the fact that the code is generated, there doesn't seem to be much that I can do about it.
    We're using JDeveloper version 10.1.3.3.0 and JHeadstart version 10.1.3.2.41.
    Any help or suggestion would be much appreciated.
    Kind regards,
    Ibrahim

    Ibrahim,
    I cannot reproduce this. You are using a non-production build. Can you upgrade to JHeadstart 10.1.3.2.52?
    If the problem persists, you can work around it by creating a custom template for tree.vm which includes the af:switcher statement.
    Steven Davelaar,
    JHeadstart team.

  • Refresh master group

    Hey,
    I have a jspx page genereted by JHeadstart. The page contains a Form layout of a view object, and a table layout on the same page of a detail view object (referenced by a view link).
    When in the details table a drop down list (id=PBD_ZrgVerzekerdenIndHuisarts) is changed then I do in Java code recalculate the costs (id=PB_ZorgPolisNettoPremie in the master form). But this costs aren't refreshed in the screen.
    The JHeadstart forum told me I should add some partial triggers, this I did on the region with id PB_ZorgPolisRegionsPB_ResultatenItemRegionPanelHeader this region constains the costs. But this partial trigger is not working, I also tried as partial trigger PBD_ZrgVerzekerdenPremie (this item is in the table and also recalculated when the drop down list changes), PBD_ZrgVerzekerdenIndHuisarts, PBD_ZrgVerzekerdenIndHuisartsColumn.
    Please can you help me what kind of partial trigger I should put in the region or some other tips how it should work.
    I also post (part of) the JSPX.
    Thanx Marianne
    <?xml version='1.0' encoding="windows-1252"?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html id="html">
    <afh:head title=" #{nls['EDIT_TITLE_PB_ZORGPOLI:#{bindings.PB_ZorgPolisCodeBranche}']}"
    id="head">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <link rel="stylesheet"
    href="${pageContext.request.contextPath}/jheadstart/css/jhsStyles.css"
    type="text/css" id="jhsStyles"/>
    <link rel="stylesheet"
    href="${pageContext.request.contextPath}/customlaf/css/customlaf.css"
    type="text/css" id="customlaf"/>
    </afh:head>
    <afh:body id="body">
    <af:form id="dataForm" usesUpload='false'>
    <af:region id="pageConfig"
    regionType="oracle.jheadstart.region.pageConfig"
    value="#{bindings}"/>
    <afh:script id="hasPendingChanges" partialTriggers=""
    text="hasPendingChanges='#{hasPendingChanges}';"/>
    <afh:tableLayout width="100%">
    <!-- MH: 28-07-2008, vervanging header, columnSpan van 3 naar 2 -->
    <afh:rowLayout>
    <afh:cellFormat styleClass="header" columnSpan="2">
    <af:region id="header"
    regionType="an.ennia.avanse.keten.brokers.view.region.Header"
    value="#{bindings}"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout>
    <afh:cellFormat styleClass="leftSide">
    <af:region id="leftSide" value="#{bindings}"
    regionType="an.ennia.avanse.keten.brokers.view.region.leftSide">
    <af:attribute name="selectedTab" value="PB_ZorgPolis"/>
    </af:region>
    </afh:cellFormat>
    <afh:cellFormat styleClass="pageContent">
    <afh:tableLayout width="100%">
    <afh:rowLayout>
    <afh:cellFormat valign="top" styleClass="pageTitle">
    <h:outputText value=" #{nls['EDIT_TITLE_PB_ZORGPOLI:#{bindings.PB_ZorgPolisCodeBranche}']}"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <!-- MH: 07-08-2008, Delete breadcrumb -->
    <afh:rowLayout styleClass="messages">
    <afh:cellFormat styleClass="messages">
    <af:messages id="messages"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout>
    <afh:cellFormat styleClass="pageContent">
    <!-- DEBUG:BEGIN:FORM_PAGE_CONTENT : ennia\premieberekenen\page\formPageContent.vm, nesting level: 2 -->
    <afh:tableLayout width="100%">
    <afh:rowLayout styleClass="groupContent">
    <afh:cellFormat styleClass="groupContent">
    <!-- DEBUG:BEGIN:FORM_GROUP : ennia/pageComponent/formGroup.vm, nesting level: 3 -->
    <af:panelGroup rendered="#{bindings.PB_ZorgPolisIterator.findMode!='true'}"
    id="PB_ZorgPolisFormGroup">
    <af:outputFormatted value="#{nls['NO_ROWS_FOUND']}"
    styleUsage="pageStamp"
    rendered="#{!((bindings.PB_ZorgPolisIterator.currentRowIndexInRange!=-1 and bindings.PB_ZorgPolisIterator.findMode!='true'))}"
    id="PB_ZorgPolisNoRowsFound"/>
    <af:panelGroup rendered="#{(bindings.PB_ZorgPolisIterator.currentRowIndexInRange!=-1 and bindings.PB_ZorgPolisIterator.findMode!='true')}"
    id="PB_ZorgPolisFormContent">
    <af:panelForm rows="1" maxColumns="1"
    width="10%"
    id="PB_ZorgPolisFormItems"></af:panelForm>
    <af:objectSpacer height="10"
    id="PB_ZorgPolisFormRegionsSpacer"/>
    <!-- DEBUG:BEGIN:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4 -->
    <af:panelGroup id="PB_ZorgPolisRegionsPanelGroup">
    <af:panelHeader text="Algemeen"
    id="PB_ZorgPolisRegionsPB_AlgemeenItemRegionPanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5 -->
    <af:panelForm rows="1" labelWidth="120"
    maxColumns="1" width="10%"
    id="PB_ZorgPolisPB_AlgemeenItemRegionPanelForm">
    <!-- DEBUG:BEGIN:FORM_DROP_DOWN_LIST : default/item/form/formDropDownList.vm, nesting level: 6 -->
    <af:selectOneChoice id="PB_ZorgPolisCodeLand"
    value="#{bindings.PB_ZorgPolisCodeLand.inputValue}"
    label="Land"
    showRequired="true"
    readOnly="true"
    unselectedLabel="">
    <!-- DEBUG:BEGIN:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 7 -->
    <af:forEach var="row2"
    items="#{bindings.LandDomein.rangeSet}">
    <af:selectItem id="SiPB_ZorgPolisCodeLand"
    label="#{row2.Omschrijving}"
    value="#{row2.CodeLand}"/>
    </af:forEach>
    <!-- DEBUG:END:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 7-->
    </af:selectOneChoice>
    <!-- DEBUG:END:FORM_DROP_DOWN_LIST : default/item/form/formDropDownList.vm, nesting level: 6-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5-->
    </af:panelHeader>
    <af:panelHeader text="Gegevens verzekering"
    id="PB_ZorgPolisRegionsPB_VerzekeringItemRegionPanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5 -->
    <af:panelForm rows="1" labelWidth="120"
    maxColumns="1" width="10%"
    id="PB_ZorgPolisPB_VerzekeringItemRegionPanelForm">
    <!-- DEBUG:BEGIN:FORM_DROP_DOWN_LIST : default/item/form/formDropDownList.vm, nesting level: 6 -->
    <af:selectOneChoice id="PB_ZorgPolisCodeEigenRisico"
    value="#{bindings.PB_ZorgPolisCodeEigenRisico.inputValue}"
    label="Eigen risico"
    showRequired="true"
    unselectedLabel="">
    <!-- DEBUG:BEGIN:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 7 -->
    <af:forEach var="row2"
    items="#{bindings.EigenRisicoDomein.rangeSet}">
    <af:selectItem id="SiPB_ZorgPolisCodeEigenRisico"
    label="#{row2.RvMeaning}"
    value="#{row2.RvLowValue}"/>
    </af:forEach>
    <!-- DEBUG:END:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 7-->
    </af:selectOneChoice>
    <!-- DEBUG:END:FORM_DROP_DOWN_LIST : default/item/form/formDropDownList.vm, nesting level: 6-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5-->
    </af:panelHeader>
    <af:panelHeader text="Gegevens verzekerden"
    id="PB_ZorgPolisRegionsPB_VerzekerdenGroupRegionPanelHeader">
    <!-- DEBUG:BEGIN:GROUP_REGION : ennia/pageComponent/groupRegion.vm, nesting level: 5 -->
    <!-- DEBUG:BEGIN:GROUP_CONTENT : default/pageComponent/groupContent.vm, nesting level: 6 -->
    <!-- DEBUG:BEGIN:TABLE_GROUP : ennia\premieberekenen\zorg\pageComponent\tableGroup.vm, nesting level: 7 -->
    <af:panelGroup rendered="#{bindings.PBD_ZrgVerzekerdenIterator.findMode!='true'}"
    id="PBD_ZrgVerzekerdenTableGroup">
    <afh:script text="addToIgnoreChangedFields(['PBD_ZrgVerzekerdenTable:selected']);"
    id="PBD_ZrgVerzekerdenIgnoreChangedFields"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenCodeRelatieType','Relatie type')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenCodeRelatieType.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGeboortedatum','Geboortedatum')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGeboortedatum.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGeslacht','Geslacht')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGeslacht.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenLengte','Lengte (cm)')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenLengte.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGewicht','Gewicht (kg)')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGewicht.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndHuisarts','Huisarts-dekking')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndTandarts','Tandarts-dekking')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndTandarts.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndExtraPlus','Extra plus')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndExtraPlus.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndBuitenlandPlus','Buitenland plus')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndBuitenlandPlus.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenPremie','Premie')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenPremie.mandatory}"/>
    <af:table id="PBD_ZrgVerzekerdenTable"
    width="50%"
    value="#{PBD_ZrgVerzekerdenCollectionModel}"
    rangeChangeListener="#{PBD_ZrgVerzekerdenCollectionModel.processRangeChange}"
    selectionState="#{PBD_ZrgVerzekerdenCollectionModel.selectedRow}"
    selectionListener="#{PBD_ZrgVerzekerdenCollectionModel.makeCurrent}"
    disclosureListener="#{PBD_ZrgVerzekerdenCollectionModel.makeCurrent}"
    var="row" varStatus="status"
    rows="#{bindings.PBD_ZrgVerzekerdenTable.rangeSize}"
    first="#{bindings.PBD_ZrgVerzekerdenTable.rangeStart}"
    emptyText="#{nls['NO_ROWS_FOUND']}"
    binding="#{PBD_ZrgVerzekerdenCollectionModel.table}">
    <!-- DEBUG:BEGIN:TABLE_FOOTER : default/pageComponent/tableFooter.vm, nesting level: 8 -->
    <!-- DEBUG:END:TABLE_FOOTER : default/pageComponent/tableFooter.vm, nesting level: 8-->
    <f:facet name="actions">
    <!-- DEBUG:BEGIN:ADD_ROW_BUTTON : ennia\premieberekenen\zorg\button\addRowButton.vm, nesting level: 8 -->
    <af:commandButton textAndAccessKey="#{nls['ADD_ROW']}"
    actionListener="#{premieberekeningBean.addZorgRow}"
    id="PBD_ZrgVerzekerdenAddRowButton">
    <af:resetActionListener/>
    </af:commandButton>
    <!-- DEBUG:END:ADD_ROW_BUTTON : ennia\premieberekenen\zorg\button\addRowButton.vm, nesting level: 8-->
    </f:facet>
    <!-- DEBUG:BEGIN:TABLE_DATE_FIELD : default/item/table/tableDateField.vm, nesting level: 8 -->
    <af:column id="PBD_ZrgVerzekerdenGeboortedatumColumn"
    noWrap="true">
    <f:facet name="header">
    <af:outputLabel value="Geboortedatum"
    showRequired="#{bindings.PBD_ZrgVerzekerdenGeboortedatum.mandatory}"
    styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectInputDate id="PBD_ZrgVerzekerdenGeboortedatum"
    value="#{row.Geboortedatum}"
    showRequired="#{bindings.PBD_ZrgVerzekerdenGeboortedatum.mandatory}">
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    <!-- DEBUG:BEGIN:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9 -->
    <!-- DEBUG:END:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9-->
    </af:column>
    <!-- DEBUG:END:TABLE_DATE_FIELD : default/item/table/tableDateField.vm, nesting level: 8-->
    <!-- DEBUG:BEGIN:TABLE_DROP_DOWN_LIST : ennia/premieberekenen/zorg/item/table/tableDropDownList.vm, nesting level: 8 -->
    <af:column id="PBD_ZrgVerzekerdenIndHuisartsColumn"
    noWrap="true">
    <f:facet name="header">
    <af:outputLabel value="Huisarts-dekking"
    showRequired="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"
    styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectOneChoice id="PBD_ZrgVerzekerdenIndHuisarts"
    value="#{row.IndHuisarts}"
    showRequired="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"
    autoSubmit="true"
    onchange="addChangedField(this.name);"
    valueChangeListener="#{premieberekeningBean.updateZorgResultaten}"
    unselectedLabel="">
    <!-- DEBUG:BEGIN:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 9 -->
    <af:forEach var="row2"
    items="#{bindings.JaNeeDomein.rangeSet}">
    <af:selectItem id="SiPBD_ZrgVerzekerdenIndHuisarts"
    label="#{row2.RvMeaning}"
    value="#{row2.RvLowValue}"/>
    </af:forEach>
    <!-- DEBUG:END:DYNAMIC_DOMAIN_OPTIONS : default/item/dynamicDomainOptions.vm, nesting level: 9-->
    </af:selectOneChoice>
    <!-- DEBUG:BEGIN:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9 -->
    <!-- DEBUG:END:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9-->
    </af:column>
    <!-- DEBUG:END:TABLE_DROP_DOWN_LIST : ennia/premieberekenen/zorg/item/table/tableDropDownList.vm, nesting level: 8-->
    <!-- DEBUG:BEGIN:TABLE_TEXT_INPUT : default/item/table/tableTextInput.vm, nesting level: 8 -->
    <af:column id="PBD_ZrgVerzekerdenPremieColumn"
    noWrap="true"
    formatType="number">
    <f:facet name="header">
    <af:outputLabel value="Premie"
    styleClass="af_column_header-text"/>
    </f:facet>
    <af:inputText id="PBD_ZrgVerzekerdenPremie"
    value="#{row.Premie}"
    partialTriggers=" PBD_ZrgVerzekerdenIndHuisarts PBD_ZrgVerzekerdenIndTandarts PBD_ZrgVerzekerdenIndBuitenlandPlus PBD_ZrgVerzekerdenIndExtraPlus"
    showRequired="#{bindings.PBD_ZrgVerzekerdenPremie.mandatory}"
    rows="#{bindings.PBD_ZrgVerzekerdenPremie.displayHeight}"
    columns="#{bindings.PBD_ZrgVerzekerdenPremie.displayWidth}"
    maximumLength="15"
    readOnly="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.PBD_ZrgVerzekerdenPremie.format}"/>
    </af:inputText>
    <!-- DEBUG:BEGIN:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9 -->
    <!-- DEBUG:END:TABLE_ITEM_FOOTER : default/item/table/tableItemFooter.vm, nesting level: 9-->
    </af:column>
    <!-- DEBUG:END:TABLE_TEXT_INPUT : default/item/table/tableTextInput.vm, nesting level: 8-->
    <af:column gridVisible="false">
    <afh:script text="setTableRowCount('dataForm','PBD_ZrgVerzekerdenTable' ,#{status.index+1-(bindings.PBD_ZrgVerzekerdenTable.rangeStart==-1 ? 0 : bindings.PBD_ZrgVerzekerdenTable.rangeStart)});"/>
    <af:inputHidden id="IsNewRow"
    value="#{PBD_ZrgVerzekerdenCollectionModel.newRow}"/>
    </af:column>
    </af:table>
    <!-- DEBUG:BEGIN:TABLE_GROUP_BUTTONS : default/pageComponent/tableGroupButtons.vm, nesting level: 8 -->
    <af:objectSpacer height="10"
    id="PBD_ZrgVerzekerdenTableButtonsSpacer"/>
    <!-- DEBUG:END:TABLE_GROUP_BUTTONS : default/pageComponent/tableGroupButtons.vm, nesting level: 8-->
    </af:panelGroup>
    <!-- DEBUG:END:TABLE_GROUP : ennia\premieberekenen\zorg\pageComponent\tableGroup.vm, nesting level: 7-->
    <!-- DEBUG:END:GROUP_CONTENT : default/pageComponent/groupContent.vm, nesting level: 6-->
    <!-- DEBUG:END:GROUP_REGION : ennia/pageComponent/groupRegion.vm, nesting level: 5-->
    </af:panelHeader>
    <af:panelHeader text="Resultaten"
    partialTriggers=" PBD_ZrgVerzekerdenTable"
    id="PB_ZorgPolisRegionsPB_ResultatenItemRegionPanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5 -->
    <af:panelForm rows="1" labelWidth="120"
    maxColumns="1" width="10%"
    id="PB_ZorgPolisPB_ResultatenItemRegionPanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6 -->
    <af:inputText id="PB_ZorgPolisNettoPremie"
    value="#{bindings.PB_ZorgPolisNettoPremie.inputValue}"
    label="Netto premie"
    showRequired="#{bindings.PB_ZorgPolisNettoPremie.mandatory}"
    rows="#{bindings.PB_ZorgPolisNettoPremie.displayHeight}"
    columns="#{bindings.PB_ZorgPolisNettoPremie.displayWidth}"
    maximumLength="15"
    readOnly="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.PB_ZorgPolisNettoPremie.format}"/>
    </af:inputText>
    <!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : ennia/pageComponent/itemRegion.vm, nesting level: 5-->
    </af:panelHeader>
    </af:panelGroup>
    <!-- DEBUG:END:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4-->
    </af:panelGroup>
    </af:panelGroup>
    <!-- DEBUG:END:FORM_GROUP : ennia/pageComponent/formGroup.vm, nesting level: 3-->
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout styleClass="pageButtons" halign="right">
    <afh:cellFormat styleClass="pageButtons">
    <af:panelButtonBar id="pageButtons">
    <af:commandButton actionListener="#{premieberekeningBean.zorgBerekenen}"
    styleClass="button"
    onmouseover="this.className='buttonSelected'"
    onmouseout="this.className='button'"
    textAndAccessKey="#{nls['BEREKENEN']}">
    <af:resetActionListener/>
    </af:commandButton>
    </af:panelButtonBar>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    <!-- DEBUG:END:FORM_PAGE_CONTENT : ennia\premieberekenen\page\formPageContent.vm, nesting level: 2-->
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    </afh:cellFormat>
    <!-- MH: 29-07-2008, Verwijderen rightSide
    <afh:cellFormat styleClass="rightSide">
    <af:region id="rightSide" regionType="customlaf.region.RightSide" value="#{bindings}"/>
    </afh:cellFormat>
    -->
    </afh:rowLayout>
    <!-- MH: 29-07-2008, Verwijderen footer
    <afh:rowLayout>
    <afh:cellFormat styleClass="footer" columnSpan="3">
    <af:region id="footer" regionType="customlaf.region.Footer" value="#{bindings}"/>
    </afh:cellFormat>
    </afh:rowLayout>
    -->
    </afh:tableLayout>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

    I already deleted a lot but here by some what more smaller JSPX:
    <?xml version='1.0' encoding="windows-1252"?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html id="html">
    <afh:head title=" #{nls['EDIT_TITLE_PB_ZORGPOLI:#{bindings.PB_ZorgPolisCodeBranche}']}"
    id="head">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <link rel="stylesheet"
    href="${pageContext.request.contextPath}/jheadstart/css/jhsStyles.css"
    type="text/css" id="jhsStyles"/>
    <link rel="stylesheet"
    href="${pageContext.request.contextPath}/customlaf/css/customlaf.css"
    type="text/css" id="customlaf"/>
    </afh:head>
    <afh:body id="body">
    <af:form id="dataForm" usesUpload='false'>
    <af:region id="pageConfig"
    regionType="oracle.jheadstart.region.pageConfig"
    value="#{bindings}"/>
    <afh:script id="hasPendingChanges" partialTriggers=""
    text="hasPendingChanges='#{hasPendingChanges}';"/>
    <afh:tableLayout width="100%">
    <afh:rowLayout>
    <afh:cellFormat styleClass="pageContent">
    <afh:tableLayout width="100%">
    <afh:rowLayout>
    <afh:cellFormat styleClass="pageContent">
    <afh:tableLayout width="100%">
    <afh:rowLayout styleClass="groupContent">
    <afh:cellFormat styleClass="groupContent">
    <af:panelGroup rendered="#{bindings.PB_ZorgPolisIterator.findMode!='true'}"
    id="PB_ZorgPolisFormGroup">
    <af:panelGroup rendered="#{(bindings.PB_ZorgPolisIterator.currentRowIndexInRange!=-1 and bindings.PB_ZorgPolisIterator.findMode!='true')}"
    id="PB_ZorgPolisFormContent">
    <af:panelGroup id="PB_ZorgPolisRegionsPanelGroup">
    <af:panelHeader text="Gegevens verzekerden"
    id="PB_ZorgPolisRegionsPB_VerzekerdenGroupRegionPanelHeader">
    <af:panelGroup rendered="#{bindings.PBD_ZrgVerzekerdenIterator.findMode!='true'}"
    id="PBD_ZrgVerzekerdenTableGroup">
    <afh:script text="addToIgnoreChangedFields(['PBD_ZrgVerzekerdenTable:selected']);"
    id="PBD_ZrgVerzekerdenIgnoreChangedFields"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenCodeRelatieType','Relatie type')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenCodeRelatieType.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGeboortedatum','Geboortedatum')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGeboortedatum.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGeslacht','Geslacht')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGeslacht.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenLengte','Lengte (cm)')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenLengte.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenGewicht','Gewicht (kg)')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenGewicht.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndHuisarts','Huisarts-dekking')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndTandarts','Tandarts-dekking')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndTandarts.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndExtraPlus','Extra plus')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndExtraPlus.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenIndBuitenlandPlus','Buitenland plus')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenIndBuitenlandPlus.mandatory}"/>
    <afh:script text="addRequiredRowItems('dataForm',[new JhsItem('PBD_ZrgVerzekerdenPremie','Premie')]);"
    rendered="#{bindings.PBD_ZrgVerzekerdenPremie.mandatory}"/>
    <af:table id="PBD_ZrgVerzekerdenTable"
    width="50%"
    value="#{PBD_ZrgVerzekerdenCollectionModel}"
    rangeChangeListener="#{PBD_ZrgVerzekerdenCollectionModel.processRangeChange}"
    selectionState="#{PBD_ZrgVerzekerdenCollectionModel.selectedRow}"
    selectionListener="#{PBD_ZrgVerzekerdenCollectionModel.makeCurrent}"
    disclosureListener="#{PBD_ZrgVerzekerdenCollectionModel.makeCurrent}"
    var="row" varStatus="status"
    rows="#{bindings.PBD_ZrgVerzekerdenTable.rangeSize}"
    first="#{bindings.PBD_ZrgVerzekerdenTable.rangeStart}"
    emptyText="#{nls['NO_ROWS_FOUND']}"
    binding="#{PBD_ZrgVerzekerdenCollectionModel.table}">
    <af:column id="PBD_ZrgVerzekerdenIndHuisartsColumn"
    noWrap="true">
    <f:facet name="header">
    <af:outputLabel value="Huisarts-dekking"
    showRequired="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"
    styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectOneChoice id="PBD_ZrgVerzekerdenIndHuisarts"
    value="#{row.IndHuisarts}"
    showRequired="#{bindings.PBD_ZrgVerzekerdenIndHuisarts.mandatory}"
    autoSubmit="true"
    onchange="addChangedField(this.name);"
    valueChangeListener="#{premieberekeningBean.updateZorgResultaten}"
    unselectedLabel="">
    <af:forEach var="row2"
    items="#{bindings.JaNeeDomein.rangeSet}">
    <af:selectItem id="SiPBD_ZrgVerzekerdenIndHuisarts"
    label="#{row2.RvMeaning}"
    value="#{row2.RvLowValue}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:column>
    <af:column id="PBD_ZrgVerzekerdenPremieColumn"
    noWrap="true"
    formatType="number">
    <f:facet name="header">
    <af:outputLabel value="Premie"
    styleClass="af_column_header-text"/>
    </f:facet>
    <af:inputText id="PBD_ZrgVerzekerdenPremie"
    value="#{row.Premie}"
    partialTriggers=" PBD_ZrgVerzekerdenIndHuisarts PBD_ZrgVerzekerdenIndTandarts PBD_ZrgVerzekerdenIndBuitenlandPlus PBD_ZrgVerzekerdenIndExtraPlus"
    showRequired="#{bindings.PBD_ZrgVerzekerdenPremie.mandatory}"
    rows="#{bindings.PBD_ZrgVerzekerdenPremie.displayHeight}"
    columns="#{bindings.PBD_ZrgVerzekerdenPremie.displayWidth}"
    maximumLength="15"
    readOnly="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.PBD_ZrgVerzekerdenPremie.format}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:panelGroup>
    </af:panelHeader>
    <af:panelHeader text="Resultaten"
    partialTriggers=" PBD_ZrgVerzekerdenTable"
    id="PB_ZorgPolisRegionsPB_ResultatenItemRegionPanelHeader">
    <af:panelForm rows="1" labelWidth="120"
    maxColumns="1" width="10%"
    id="PB_ZorgPolisPB_ResultatenItemRegionPanelForm">
    <af:inputText id="PB_ZorgPolisNettoPremie"
    value="#{bindings.PB_ZorgPolisNettoPremie.inputValue}"
    label="Netto premie"
    showRequired="#{bindings.PB_ZorgPolisNettoPremie.mandatory}"
    rows="#{bindings.PB_ZorgPolisNettoPremie.displayHeight}"
    columns="#{bindings.PB_ZorgPolisNettoPremie.displayWidth}"
    maximumLength="15"
    readOnly="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.PB_ZorgPolisNettoPremie.format}"/>
    </af:inputText>
    </af:panelForm>
    </af:panelHeader>
    </af:panelGroup>
    </af:panelGroup>
    </af:panelGroup>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout styleClass="pageButtons" halign="right">
    <afh:cellFormat styleClass="pageButtons">
    <af:panelButtonBar id="pageButtons">
    <af:commandButton actionListener="#{premieberekeningBean.zorgBerekenen}"
    styleClass="button"
    onmouseover="this.className='buttonSelected'"
    onmouseout="this.className='button'"
    textAndAccessKey="#{nls['BEREKENEN']}">
    <af:resetActionListener/>
    </af:commandButton>
    </af:panelButtonBar>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

  • Error launching select event in a region

    Hi,
    We are developing an application using JHeadStart and ADF Faces in JDeveloper 10.1.3.1.
    Due to the size of the page code, we have splitted the page in different regions. The page has a master-detail-subdetail structure, where each subdetail has been put in a separated ADF region.
    When changing the selected row in the master table, the values displayed in the detail table are refreshed. But when we do the same in the detail, no action takes place (the data in the subdetail doesn't change, and the code for the selection event listener is not executed either).
    If I don't use ADF regions, the selection event listener code is executed. What could happen? On the other hand, an action event in the region is executed without problems.
    Some pieces of the code:
    - The include of the detail region in the main page:
    <af:region id="ConcepteEco2" value="#{bindings}" regionType="cat.coec.outis.view.region.ConcepteEco2"/>- The declaration of the detail table in the region:
    <af:table id="ConcepteEco2Table" styleClass="scrollable "
                  value="#{ConcepteEco2CollectionModel}"
                  inlineStyle="height: 120px; width:  1000px ; "                     
                  rangeChangeListener="#{ConcepteEco2CollectionModel.processRangeChange}"
                  selectionState="#{ConcepteEco2CollectionModel.selectedRow}"
                 selectionListener="#{ConcepteEco2CollectionModel.makeCurrent}"
                  disclosureListener="#{ConcepteEco2CollectionModel.hideAllDetails}"           
                  varStatus="status"
                  var="row" rows="#{bindings.ConcepteEco2Table.rangeSize}"
                  first="#{bindings.ConcepteEco2Table.rangeStart}"
                  emptyText="#{bindings.ConcepteEco2Table.viewable ? 'No hi ha dades.' : 'Accés Denegat.'}"
                  binding="#{ConcepteEco2CollectionModel.table}"
                  partialTriggers="TipusCctEcoTable"          >- The declaration of the table selection facet:
    <!-- DEBUG:BEGIN:TABLE_SELECTION : outis/pageComponent/tableSelection.vm, nesting level: 11 -->
      <f:facet name="selection">
            <af:tableSelectOne disabled="#{ConcepteEco2CollectionModel.newRow}"
            autoSubmit="true" id="ConcepteEco2SelectOne"
            onclick="javascript:selectCurrentRow('ConcepteEco2:ConcepteEco2',this);">
    <!-- DEBUG:BEGIN:DUPLICATE_ROW_BUTTON : outis/button/duplicateRowButton.vm, nesting level: 12 -->
    <!-- DEBUG:END:DUPLICATE_ROW_BUTTON : outis/button/duplicateRowButton.vm, nesting level: 12-->
        </af:tableSelectOne>
          </f:facet><!-- DEBUG:END:TABLE_SELECTION : outis/pageComponent/tableSelection.vm, nesting level: 11--> Any help would be appreciated,
    Carles Biosca
    BBR Ingeniería de Servicios SL
    www.bbr.cat

    hi,
    in your datagrid call use the property itemClick.
    e.g <mx:DataGrid id="DG" dataProvider="{some provider"}
    itemClick"myFunction())">
    then in your script you can declare the function myFunction
    to get column values of the selected row, use
    DataGrid.selectedItem.ColumnDatafield
    so for the above datagrid with a column name and
    dataField=fullName i can use
    DG.selectedItem.fullName
    HTH
    regards
    abhi

  • Error getting property 'lovFieldValue' from bean of type LovItemBean

    Hi Team,
    We are currently using a form with one LOVform.
    I added a new LOVform.
    Now I'm getting this Error:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'lovFieldValue' from bean of type oracle.jheadstart.controller.jsf.bean.LovItemBean: java.lang.NullPointerException
    We are using JHeadstart 10.1.3.1.26.
    Where should I look for a cause?
    Should I post the complete trace?
    Thanks in advance.
    Erik

    Steven,
    This is the source:
    <?xml version='1.0' encoding="windows-1252"?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    >
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html id="html">
    <afh:head title="#{createModes.CreateBenchmarks ? nls['INSERT_TITLE_BENCHMARKS'] : nls['VIEW_TITLE_BENCHMARK:#{bindings.BenchmarksClientName}']}" id="head">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/jheadstart/css/jhsStyles.css" type="text/css" id="jhsStyles"/>
    </afh:head>
    <afh:body id="body">
    <af:form id="dataForm" usesUpload='false'>
    <af:region id="pageConfig" regionType="oracle.jheadstart.region.pageConfig" value="#{bindings}"/>
    <afh:script id="hasPendingChanges" partialTriggers="BenchmarksClient" text="hasPendingChanges='#{hasPendingChanges}';"/>
    <af:panelPage title="#{createModes.CreateBenchmarks ? nls['INSERT_TITLE_BENCHMARKS'] : nls['VIEW_TITLE_BENCHMARK:#{bindings.BenchmarksClientName}']}" id="panelPage">
    <f:facet name="brandingAppContextual">
    <af:region id="brandingAppContextual" value="#{bindings}"
    regionType="oracle.jheadstart.region.brandingAppContextual"/>
    </f:facet>
    <f:facet name="branding">
    <af:region id="branding" value="#{bindings}"
    regionType="oracle.jheadstart.region.branding"/>
    </f:facet>
    <f:facet name="menuGlobal">
    <af:region id="menuGlobal" value="#{bindings}"
    regionType="oracle.jheadstart.region.menuGlobal"/>
    </f:facet>
    <!-- DEBUG:BEGIN:BREADCRUMB_AREA : default/pageComponent/breadcrumbArea.vm, nesting level: 2 -->
    <f:facet name="location">
    <af:menuPath var="bc" value="#{jhsBreadcrumbStack}" id="breadcrumbs">
    <f:facet name="nodeStamp">
    <af:commandLink action="#{bc.goToDestination}" text="#{bc.label}"
    immediate="true" onclick="return alertForChanges();" >
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
    <af:resetActionListener/>
    </af:commandLink>
    </f:facet>
    </af:menuPath>
    </f:facet><!-- DEBUG:END:BREADCRUMB_AREA : default/pageComponent/breadcrumbArea.vm, nesting level: 2-->
    <!-- DEBUG:BEGIN:PAGE_MENU : default/misc/menu/pageMenu.vm, nesting level: 2 -->
    <f:facet name="menu1">
    <af:region id="GbpServiceMenu1Tabs" value="#{bindings}" regionType="nl.openi.gbp.view.region.GbpServiceMenu1Tabs">
    <af:attribute name="selectedTab" value="Benchmarks"/>
    </af:region>
    </f:facet>
    <!-- DEBUG:END:PAGE_MENU : default/misc/menu/pageMenu.vm, nesting level: 2-->
    <f:facet name="messages">
    <af:messages id="messages"/>
    </f:facet>
    <!-- DEBUG:BEGIN:FORM_PAGE_CONTENT : default/page/formPageContent.vm, nesting level: 2 -->
    <f:facet name="actions">
    <af:panelButtonBar id="pageButtons">
    <!-- DEBUG:BEGIN:NEW_BUTTON : default/button/newButton.vm, nesting level: 3 -->
    <af:commandButton actionListener="#{bindings.CreateBenchmarks.execute}"
    action="CreateBenchmarks"
    textAndAccessKey="#{nls['NEW_BUTTON_LABEL_BENCHMARKS']}"
    rendered="#{!createModes.CreateBenchmarks }"
    immediate="true" onclick="return alertForChanges();" id="BenchmarksNewButton">
    <f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
    <af:resetActionListener/>
    </af:commandButton>
    <!-- DEBUG:END:NEW_BUTTON : default/button/newButton.vm, nesting level: 3-->
    <!-- DEBUG:BEGIN:DELETE_BUTTON : default/button/deleteButton.vm, nesting level: 3 -->
    <!-- DEBUG:END:DELETE_BUTTON : default/button/deleteButton.vm, nesting level: 3-->
    <!-- DEBUG:BEGIN:SAVE_BUTTON : default/button/saveButton.vm, nesting level: 3 -->
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    action="Commit" onclick="return validateForm('dataForm');"
    textAndAccessKey="#{nls['SAVE_BUTTON_LABEL_BENCHMARKS']}"
    id="BenchmarksSaveButton">
    <af:resetActionListener/>
    </af:commandButton>
    <!-- DEBUG:END:SAVE_BUTTON : default/button/saveButton.vm, nesting level: 3-->
    </af:panelButtonBar>
    </f:facet>
    <!-- DEBUG:BEGIN:FORM_GROUP : default/pageComponent/formGroup.vm, nesting level: 3 -->
    <!-- DEBUG:BEGIN:SEARCH_AREA : default/search/searchArea.vm, nesting level: 4 -->
    <!-- DEBUG:END:SEARCH_AREA : default/search/searchArea.vm, nesting level: 4-->
    <af:panelGroup rendered="#{bindings.BenchmarksIterator.findMode!='true'}" id="BenchmarksFormGroup">
    <af:outputFormatted value="#{nls['NO_ROWS_FOUND']}"
    styleUsage="pageStamp"
    rendered="#{!((bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true'))}"
    id="BenchmarksNoRowsFound"/>
    <af:panelGroup rendered="#{(bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true')}" id="BenchmarksFormContent" >
    <!-- DEBUG:BEGIN:FORM_BROWSE_BUTTONS : default/pageComponent/formBrowseButtons.vm, nesting level: 4 -->
    <af:region id="formBrowseButtonsBenchmarks"
    value="#{bindings}"
    rendered="#{bindings.BenchmarksIterator.estimatedRowCount>1 and !createModes.CreateBenchmarks and bindings.BenchmarksIterator.currentRowIndexInRange!=-1 and bindings.BenchmarksIterator.findMode!='true'}"
    regionType="oracle.jheadstart.region.formBrowseButtons">
    <af:attribute name="iteratorBinding"
    value="#{bindings.BenchmarksIterator}"/>
    <af:attribute name="firstBinding"
    value="#{bindings.FirstBenchmarks}"/>
    <af:attribute name="previousBinding"
    value="#{bindings.PreviousBenchmarks}"/>
    <af:attribute name="nextBinding"
    value="#{bindings.NextBenchmarks}"/>
    <af:attribute name="lastBinding"
    value="#{bindings.LastBenchmarks}"/>
    </af:region>
    <!-- DEBUG:END:FORM_BROWSE_BUTTONS : default/pageComponent/formBrowseButtons.vm, nesting level: 4-->
    <af:panelForm rows="1" maxColumns="1" width="10%" id="BenchmarksFormItems">
    <!-- DEBUG:BEGIN:FORM_LOV_ITEM : default/item/form/formLovItem.vm, nesting level: 4 -->
    <af:selectInputText id="BenchmarksClient" label="Client" partialTriggers = " BenchmarksClient" showRequired="false" columns="40" maximumLength="35" readOnly="#{!(createModes.CreateBenchmarks)}" value="#{BenchmarksClientLovItem.lovFieldValue}"
    autoSubmit="true"
    immediate="true"
    valueChangeListener="#{BenchmarksClientLovItem.validateWithLov}"
    binding="#{BenchmarksClientLovItem.lovField}"
    action="dialog:Clients" windowHeight="200" windowWidth="600"
    returnListener="#{BenchmarksClientLovItem.returnedFromLov}">
    </af:selectInputText>
    <!-- DEBUG:END:FORM_LOV_ITEM : default/item/form/formLovItem.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientName" value="#{bindings.BenchmarksClientName.inputValue}" label="Client Name" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientName.mandatory}" rows="#{bindings.BenchmarksClientName.displayHeight}" columns="40" maximumLength="50" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientContact" value="#{bindings.BenchmarksClientContact.inputValue}" label="Client Contactperson" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientContact.mandatory}" rows="1" columns="40" maximumLength="240" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksClientContactDetails" value="#{bindings.BenchmarksClientContactDetails.inputValue}" label="Client Contact Details" partialTriggers = " BenchmarksClient" required="#{bindings.BenchmarksClientContactDetails.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksGurIdRequestorOf" value="#{bindings.BenchmarksGurIdRequestorOf.inputValue}" label="GurIdRequestorOf" partialTriggers = " BenchmarksRequestor" required="#{bindings.BenchmarksGurIdRequestorOf.mandatory}" rows="#{bindings.BenchmarksGurIdRequestorOf.displayHeight}" columns="40" readOnly="#{!(createModes.CreateBenchmarks)}" >
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BenchmarksGurIdRequestorOf.format}"/>
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4 -->
    <af:inputText id="BenchmarksLocation" value="" label="Location" required="#{bindings.BenchmarksLocation.mandatory}" rows="#{bindings.BenchmarksLocation.displayHeight}" columns="40" readOnly="true" >
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.BenchmarksLocation.format}"/>
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_DATE_FIELD : default/item/form/formDateField.vm, nesting level: 4 -->
    <af:selectInputDate id="BenchmarksRequiredDelDate" value="#{bindings.BenchmarksRequiredDelDate.inputValue}" label="Required Delivery Date" required="#{bindings.BenchmarksRequiredDelDate.mandatory}" readOnly="#{!(createModes.CreateBenchmarks)}" >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    <!-- DEBUG:END:FORM_DATE_FIELD : default/item/form/formDateField.vm, nesting level: 4-->
    <!-- DEBUG:BEGIN:FORM_RADIO_VERTICAL : default/item/form/formRadioVertical.vm, nesting level: 4 -->
    <af:selectOneRadio id="BenchmarksRequestType" value="#{bindings.BenchmarksRequestType.inputValue}" label="Request Type" required="#{bindings.BenchmarksRequestType.mandatory}" readOnly="#{!(createModes.CreateBenchmarks)}" layout="vertical" >
    <!-- DEBUG:BEGIN:STATIC_DOMAIN_OPTIONS : default/item/staticDomainOptions.vm, nesting level: 5 -->
    <af:selectItem id="SiBenchmarksRequestType1" value="A" label="Economic Analysis"/>
    <af:selectItem id="SiBenchmarksRequestType2" value="U" label="Updated Economic Analysis"/>
    <af:selectItem id="SiBenchmarksRequestType3" value="S" label="Special Purpose Benchmark"/>
    <af:selectItem id="SiBenchmarksRequestType4" value="I" label="Economic Indicator"/>
    <!-- DEBUG:END:STATIC_DOMAIN_OPTIONS : default/item/staticDomainOptions.vm, nesting level: 5-->
    </af:selectOneRadio>
    <!-- DEBUG:END:FORM_RADIO_VERTICAL : default/item/form/formRadioVertical.vm, nesting level: 4-->
    </af:panelForm>
    <af:objectSpacer height="10" id="BenchmarksFormRegionsSpacer"/>
    <!-- DEBUG:BEGIN:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4 -->
    <af:panelGroup id="BenchmarksRegionsPanelGroup">
    <af:panelGroup id="BenchmarksRegionsrcHorizontalPanelGroup">
    <!-- DEBUG:BEGIN:HORIZONTAL_REGION_CONTAINER : default/pageComponent/horizontalRegionContainer.vm, nesting level: 5 -->
    <afh:tableLayout id="BenchmarksrcHorizontalTableLayout">
    <afh:rowLayout valign="top" id="BenchmarksrcHorizontalRowLayout">
    <afh:cellFormat valign="top" id="BenchmarksrcHorizontalirSearch1Cell">
    <af:panelHeader text="Search Details Primary Function Secondary Function Geography" id="BenchmarksrcHorizontalirSearch1PanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6 -->
    <af:panelForm rows="1" maxColumns="2" width="100%" id="BenchmarksirSearch1PanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCupPrimary" value="#{bindings.BenchmarksCupPrimary.inputValue}" label="CUP" required="#{bindings.BenchmarksCupPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCutPrimary" value="#{bindings.BenchmarksCutPrimary.inputValue}" label="CUT" required="#{bindings.BenchmarksCutPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTnmmPrimary" value="#{bindings.BenchmarksTnmmPrimary.inputValue}" label="TNMM + (Ratio)" required="#{bindings.BenchmarksTnmmPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksResalePrimary" value="#{bindings.BenchmarksResalePrimary.inputValue}" label="Resale Margin" required="#{bindings.BenchmarksResalePrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksGrossPrimary" value="#{bindings.BenchmarksGrossPrimary.inputValue}" label="Gross Margin" required="#{bindings.BenchmarksGrossPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCostPrimary" value="#{bindings.BenchmarksCostPrimary.inputValue}" label="Cost Plus" required="#{bindings.BenchmarksCostPrimary.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCupGeography" value="#{bindings.BenchmarksCupGeography.inputValue}" label="" required="#{bindings.BenchmarksCupGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCutGeography" value="#{bindings.BenchmarksCutGeography.inputValue}" label="" required="#{bindings.BenchmarksCutGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTnmmGeography" value="#{bindings.BenchmarksTnmmGeography.inputValue}" label="" required="#{bindings.BenchmarksTnmmGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksResaleGeography" value="#{bindings.BenchmarksResaleGeography.inputValue}" label="" required="#{bindings.BenchmarksResaleGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksGrossGeography" value="#{bindings.BenchmarksGrossGeography.inputValue}" label="" required="#{bindings.BenchmarksGrossGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksCostGeography" value="#{bindings.BenchmarksCostGeography.inputValue}" label="" required="#{bindings.BenchmarksCostGeography.mandatory}" rows="1" columns="25" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6-->
    </af:panelHeader>
    </afh:cellFormat>
    <afh:cellFormat valign="top" id="BenchmarksrcHorizontalirTypeOfSaleCell">
    <af:panelHeader text="Type of Sale (Industry / Product)" id="BenchmarksrcHorizontalirTypeOfSalePanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6 -->
    <af:panelForm rows="1" maxColumns="1" width="100%" id="BenchmarksirTypeOfSalePanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksWholesaleIndProd" value="#{bindings.BenchmarksWholesaleIndProd.inputValue}" label="Wholesale Distributor" required="#{bindings.BenchmarksWholesaleIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksLimitedIndProd" value="#{bindings.BenchmarksLimitedIndProd.inputValue}" label="Limited Risk Distibutor" required="#{bindings.BenchmarksLimitedIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksAgentIndProd" value="#{bindings.BenchmarksAgentIndProd.inputValue}" label="Agent" required="#{bindings.BenchmarksAgentIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksRetailIndProd" value="#{bindings.BenchmarksRetailIndProd.inputValue}" label="Retail" required="#{bindings.BenchmarksRetailIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksManufactoringIndProd" value="#{bindings.BenchmarksManufactoringIndProd.inputValue}" label="Manufactoring" required="#{bindings.BenchmarksManufactoringIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksRdIndProd" value="#{bindings.BenchmarksRdIndProd.inputValue}" label="R &amp; D" required="#{bindings.BenchmarksRdIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksEngineeringIndProd" value="#{bindings.BenchmarksEngineeringIndProd.inputValue}" label="Engineering" required="#{bindings.BenchmarksEngineeringIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksFinancialIndProd" value="#{bindings.BenchmarksFinancialIndProd.inputValue}" label="Financial" required="#{bindings.BenchmarksFinancialIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksManagementIndProd" value="#{bindings.BenchmarksManagementIndProd.inputValue}" label="Management" required="#{bindings.BenchmarksManagementIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksItIndProd" value="#{bindings.BenchmarksItIndProd.inputValue}" label="IT" required="#{bindings.BenchmarksItIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksHrIndProd" value="#{bindings.BenchmarksHrIndProd.inputValue}" label="HR" required="#{bindings.BenchmarksHrIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksTrainingIndProd" value="#{bindings.BenchmarksTrainingIndProd.inputValue}" label="Training" required="#{bindings.BenchmarksTrainingIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksMarketingIndProd" value="#{bindings.BenchmarksMarketingIndProd.inputValue}" label="Marketing" required="#{bindings.BenchmarksMarketingIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7 -->
    <af:inputText id="BenchmarksOtherIndProd" value="#{bindings.BenchmarksOtherIndProd.inputValue}" label="Other" required="#{bindings.BenchmarksOtherIndProd.mandatory}" rows="1" columns="40" maximumLength="255" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 7-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 6-->
    </af:panelHeader>
    </afh:cellFormat>
    </afh:rowLayout>
    </afh:tableLayout>
    <!-- DEBUG:END:HORIZONTAL_REGION_CONTAINER : default/pageComponent/horizontalRegionContainer.vm, nesting level: 5-->
    </af:panelGroup>
    <af:panelHeader text="Comments / Further Information" id="BenchmarksRegionsTypeOfSearch2PanelHeader">
    <!-- DEBUG:BEGIN:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 5 -->
    <af:panelForm rows="1" maxColumns="1" width="100%" id="BenchmarksTypeOfSearch2PanelForm">
    <!-- DEBUG:BEGIN:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6 -->
    <af:inputText id="BenchmarksSearchKeywords" value="#{bindings.BenchmarksSearchKeywords.inputValue}" label="" required="#{bindings.BenchmarksSearchKeywords.mandatory}" rows="2" columns="40" maximumLength="500" readOnly="#{!(createModes.CreateBenchmarks)}" >
    </af:inputText><!-- DEBUG:END:FORM_TEXT_INPUT : default/item/form/formTextInput.vm, nesting level: 6-->
    </af:panelForm>
    <!-- DEBUG:END:ITEM_REGION : default/pageComponent/itemRegion.vm, nesting level: 5-->
    </af:panelHeader>
    </af:panelGroup>
    <!-- DEBUG:END:VERTICAL_REGION_CONTAINER : default/pageComponent/verticalRegionContainer.vm, nesting level: 4-->
    </af:panelGroup>
    <!-- DEBUG:BEGIN:FORM_GROUP_BUTTONS : default/pageComponent/formGroupButtons.vm, nesting level: 4 -->
    <!-- DEBUG:END:FORM_GROUP_BUTTONS : default/pageComponent/formGroupButtons.vm, nesting level: 4-->
    <af:objectSpacer height="10" id="BenchmarksFormGroupSpacer"/>
    <!-- DEBUG:BEGIN:DETAIL_GROUPS : default/pageComponent/detailGroups.vm, nesting level: 4 -->
    <!-- DEBUG:END:DETAIL_GROUPS : default/pageComponent/detailGroups.vm, nesting level: 4-->
    </af:panelGroup>
    <!-- DEBUG:END:FORM_GROUP : default/pageComponent/formGroup.vm, nesting level: 3-->
    <!-- DEBUG:END:FORM_PAGE_CONTENT : default/page/formPageContent.vm, nesting level: 2-->
    </af:panelPage>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    Happy Eastern!
    Erik

  • DataScroller nested facets disappear

    I've managed to get a Tomahawk dataTable working with sorting. I've also added two dataScroller tags (as shown in the example wars).
    The dataTable uses an ArrayList in a backing bean, configured as a session-scoped managed bean.
    The paginator works fine; i.e. I can go from one "scroller page" to another using the "paginator numbers" (the 1, 2, 3, etc. generated) in the middle, however the nested facets in the first dataScroller (the first, previous, next, last, etc. links) disappear as soon as a new request is sent, e.g. when clicking a paginator page link or changing the sort column.
    How's that possible, knowing that the actual pagination works fine? Is there any problem with my facets?
              <t:dataScroller
                        id="scroll_1"
                        for="tradeTable"
                        paginator="true"
                        fastStep="10"
                        paginatorMaxPages="10"
                        paginatorActiveColumnStyle="font-weight:bold;">
                        <f:facet name="first">
                             <h:outputText value="|<" />
                        </f:facet>
                        <f:facet name="previous">
                             <h:outputText value="<" />
                        </f:facet>
                        <f:facet name="next">
                             <h:outputText value=">" />
                        </f:facet>
                        <f:facet name="last">
                             <h:outputText value=">|" />
                        </f:facet>
                        <f:facet name="fastforward">
                             <h:outputText value=">>" />
                        </f:facet>
                        <f:facet name="fastrewind">
                             <h:outputText value="<<"/>
                        </f:facet>
                   </t:dataScroller>* I've tried changing the <h:outputText> to <t:outputText> or using images as in the examples [<t:graphicImage>] but that doesn't seem to help.
    * I've also given every element on the page an id.

    Might have been a while ago. I am / was using <t:dataTable> at that time. I still haven't found a solution to this problem.
    What I have noticed though is when I startup my Tomcat, 2 or more sets of similar components (myfaces / sun) seem to be merged. But not sure if the behaviour of the dataTable is effected by this.
    Any feedback wecome.
    18:31:29,206  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)
    18:31:29,221  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)
    18:31:29,221  WARN Digester:120 - [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)

  • How to carry across a Facet through nested composite components

    Hello
    I have two nested composite components, with an inner component that does interesting things, and an outer that groups some child components in a convenient package. I would like to use a Facet in the inner component, and it would be nice if you could declare it on the outer component and have it passed through. But I am unable to achieve this, and there is no documentation on how it should work.
    I've made a test project where I try to use insertFacet in the outer component.
    Main page 'index.xhtml':
    <?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">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:test="http://java.sun.com/jsf/composite/facettest">
        <h:head>
            <title>NestedFacetTest</title>
        </h:head>
        <h:body>
            <div>PageTopElement</div>
            <test:outerCC>
                <f:facet name="testFacet">
                    <div>FacetElement</div>
                </f:facet>
            </test:outerCC>
            <div>PageBottomElement</div>
            <br/>
            <div>PageTopElement2</div>
            <test:innerCC>
                <f:facet name="testFacet">
                    <div>FacetElement2</div>
                </f:facet>
            </test:innerCC>
            <div>PageBottomElement2</div>
        </h:body>
    </html>The outer composite component 'outerCC.xhtml' where I would like the Facet to be carried across:
    <?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">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:composite="http://java.sun.com/jsf/composite"
          xmlns:test="http://java.sun.com/jsf/composite/facettest">
        <!-- INTERFACE -->
        <composite:interface>
            <composite:facet name="testFacet"/>
        </composite:interface>
        <!-- IMPLEMENTATION -->
        <composite:implementation>
            <div>OuterTopElement</div>
            <test:innerCC>
                <composite:insertFacet name="testFacet"/>
            </test:innerCC>
            <div>OuterBottomElement</div>
        </composite:implementation>
    </html>The inner composite component 'innerCC.xhtml' where I would like to use the Facet:
    <?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">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:composite="http://java.sun.com/jsf/composite">
        <!-- INTERFACE -->
        <composite:interface>
            <composite:facet name="testFacet"/>
        </composite:interface>
        <!-- IMPLEMENTATION -->
        <composite:implementation>
            <div>InnerTopElement</div>
            <composite:renderFacet name="testFacet"/>
            <div>InnerBottomElement</div>
        </composite:implementation>
    </html>When I run the main page, I get the Facet text when I use innerCC directly, but not when I use outerCC. What do I do wrong, and how can I change the code so that the Facet is carried through to a nested composite component?
    I run GlassFish 3 with Mojarra 2.0.2 (FCS b10).
    Kind regards,
    Thomas Jahnsen

    I added an issue to Mojarra:
    http://java.net/jira/browse/JAVASERVERFACES-2219
    Feel free to vote for this that it will be implemented earlier.

  • Parent Child tables to be displayed as nested table

    I want to design a report on External DB tables that have  a parent - child relationship.
    The way I want the report is to show the child entries nested within each parent row and I want to have a
    "collapse/hide" button on each row when clicked to toggle between collapsing/hiding all the child entries on a parent row.

    First U have to crate Extended View Object to your actual View obj.
    Now take Page with Panel  Splitter ,on First facet drag View obj as table and on second Facet Drag Extended View Obj as table.On page loading U have delete all rows from Extended View object.And then u have write bean code on button click to get current select rows from above view objct,and for Filter rows from Second View obj according to selection of rows from first view obj...

  • Delete a Row from a Nested Data Table

    Hi... Good day...
    I have a dataTable nested within another DataTable.
    I want to delete a Row from the nested DataTable on clicking a remove Button at the Last column of the Nested DataTable, Jus in the browser.
    How to accomplish this using JavaScript?
    Here is my Code Snippet..
    <h:dataTable value="#{myListBean.rpts}" binding="#{myListBean.parent}" var="item" headerClass ="header" rowClasses = "whiteRow,grayRow" cellspacing="0" cellpadding="4" border = "0"  id = "dataTable">
    <h:column>
         <h:graphicImage id="expand" value="static/images/plus.gif" onclick="showNested(this);" rendered="#{item.schedImgurl=='static/images/scheduled.gif'}"/>
          <div id="#{item.rptId}">
          <h:dataTable id="orderLines" binding="#{myListBean.child}"  value="#{item.scheduleList}" var="schedItem" style="display: none;">
          <h:column>
           <h:outputText value="#{schedItem.scheduleID}" style="display:none;" />
             <f:facet name="header" >
                   <h:outputText value="Scheduled Criteria"/>
              </f:facet>
             <h:outputText value="#{schedItem.scheduleCriteriaName}" />
             <span onMouseOver="JavaScript:showScheduleTooltip(event,'#{schedItem.toolTipCriteraia}')" onMouseOut="JavaScript:hideTooltip()">...</span>
          </h:column>
            <h:column>
           <f:facet name="header" >
          <h:outputText value="Frequency"/>
          </f:facet>
           <h:outputText value="#{schedItem.scheduleFrequency}" />
          </h:column>
          <h:column>
           <f:facet name="header" >
           <h:outputText value="On"/>
           </f:facet>
           <h:outputText value="#{schedItem.scheduleStartDate}" />
          </h:column>
          <h:column>
            <input type="button" value="Remove"onclick=" Remove();"/>
          </h:column>
    </h:dataTable>
    </div>
    </h:column>
    </h:dataTable>Whatz that I need to do inside the Remove() JavaScript Function ?

    Ram_J2EE_JSF wrote:
    How to accomplish this using JavaScript?Using Javascript? Well, you know, Javascript runs at the client side and intercepts on the HTML DOM tree only. The JSF code is completely irrelevant. Open your JSF page in your favourite webbrowser and view the generated HTML source. Finally just base your Javascript function on it.

  • Nested dataTable bug?

    I�m having a problem with nested dataTables. The complete source code is attached.
    My backing bean has properties keys and map. Keys is an array of strings. Map is a map keyed off keys with string array values.
    The faces jsp creates a table with one row per key. The key is displayed in the first column and the second column holds another table displaying the elements of the corresponding map entry.
    Various command links with nested <f:param> elements are in the cells and footers of the nested table. The parameter values reference the var property of either the inner or outer tables. All command links reference the same action listener which prints the value of the parameter to stdout.
    Clicking on outer var always works.
    Clicking on inner var yields the correct result only if you are in the last row of the outer table.
    Clicking once on any of the footer link command links causes the action listener to be invoked once for each row of the outer table.
    Have I found a bug, am I doing something wrong, or is this functionality not supported?
    Any help appreciated.
    Nick
    Backing Bean Source:
    package test;
    import java.util.*;
    import javax.faces.component.UIParameter;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    public class NestedTableBean {
         private Map map;
         private String[] keys;
         public NestedTableBean() {
              keys = new String[]{"1", "2", "3"};
              map = new HashMap();
              map.put(keys[0], new String[]{"1a", "1b", "1c"});
              map.put(keys[1], new String[]{"2a", "2b", "2c"});
              map.put(keys[2], new String[]{"3a", "3b", "3c"});
         public Map getMap() {
              return map;
         public String[] getKeys() {
              return keys;
         public void doIt(ActionEvent actionEvent) {
              String param = null;
             List children = actionEvent.getComponent().getChildren();
             for (int i = 0; i < children.size(); i++) {
               if (children.get(i) instanceof UIParameter) {
                 UIParameter currentParam = (UIParameter) children.get(i);
                 if (currentParam.getName().equals("param") &&
                     currentParam.getValue() != null) {
                   param = currentParam.getValue().toString();
                   break;
             FacesContext context = FacesContext.getCurrentInstance();
             String id = actionEvent.getComponent().getClientId(context);
             System.out.println("In doIt(), component id: "+id+", param: "+param);
    }Faces JSP Source:
    <h:dataTable border="2" value="#{nestedTable.keys}" var="outerVar">
    <h:column>
      <h:outputText value="#{outerVar}"/>
    </h:column>
    <h:column>
      <h:dataTable  border="1" value="#{nestedTable.map[outerVar]}" var="innerVar">
       <h:column>
        <h:panelGrid columns="3">
         <h:outputText value="#{innerVar}"/>
         <h:commandLink actionListener="#{nestedTable.doIt}">
          <h:outputText value="outerVar"/>
          <f:param name="param" value="#{outerVar}"/>
         </h:commandLink>
         <h:commandLink actionListener="#{nestedTable.doIt}">
          <h:outputText value="innerVar"/>
          <f:param name="param" value="#{innerVar}"/>
         </h:commandLink>
        </h:panelGrid>
       </h:column>
       <f:facet name="footer">
        <h:panelGrid columns="2">
         <h:commandLink actionListener="#{nestedTable.doIt}">
          <h:outputText value="footer link"/>
          <f:param name="param" value="#{outerVar}"/>
         </h:commandLink>
        </h:panelGrid>
       </f:facet>
      </h:dataTable>
    </h:column>
    </h:dataTable>

    Hello,
    I have the same problem, when I use an nested dataTable the ActionEvent of the Second dataTable get always the Last Row of the First dataTable.
    The complete code :
    -=-=-=-=-=-=-=-=-=-=-=-=- PAGE.JSP -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    <h:dataTable id="categorias" var="categoria" value="#{UserBean.allCategorias}">
        <h:column>
            <h:dataTable id="items" var="item" value="#{categoria.items}">
               <f:facet name="header">
                   <h:outputText value="#{categoria.nome}" />
               </f:facet>
               <h:column>
                   <f:facet name="header">
                       <h:outputText value="Item" />
                   </f:facet>
                   <h:outputText value="#{item.nome}" />
               </h:column>
               <h:column>
                   <f:facet name="header">
                       <h:outputText value="Qtd Solicitada" />
                   </f:facet>
                    <h:outputText value="#{item.qtdSolicitada}" />
                </h:column>
            <h:column>
                <f:facet name="header">
                    <h:outputText value="Qtd Recebida" />
                </f:facet>
                <h:outputText value="#{item.qtdEfetivada}" />
             </h:column>
              <h:column>
                  <h:panelGrid columns="2">
                      <h:inputText id="selected" size="5" />
                      <h:commandButton id="confirmar" immediate="true" image="images/confirmar_1.gif" actionListener="#{UserBean.processAction}">
                          <f:param id="itemId" name="id" value="#{item.nome}" />
                      </h:commandButton>
                  </h:panelGrid>
             </h:column>
         </h:dataTable>
    </h:column>
    </h:dataTable>-=-=-=-=-=-=-=-=-=-=-=-=- UserBean.java -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    public void processAction(ActionEvent event) throws AbortProcessingException {
        /* Find the UIParameter component by expression */
       UIParameter component = (UIParameter) event.getComponent().findComponent("itemId");
       /* param itemId - Wrong (use Debug to see) */
    }

  • Trinidad Nested Tables Collapse and Expand Functionality Change

    I am using JSF Trinidad 1.2 for JSF Implementation.
    I am using <tr:table> and f:facet's detailStamp component's of Trinidad to get Nested Table functionality. I have three tables i.e. table1, table2, table3. Each row of Table1 has nested Table2 and each row of Table2 has nested Table3. It seems that the collapse and Expand functionality of these component makes AJAX call to the server and fetches the relevant data.
    My requirement is to have data populated to all the three tables during initial Load and use clientSide Javascript function to collapse the Table2 and Table3 rows on initial Display. Once all the table1 rows are displayed, I should have collapse and expand at row level of Table1 that should make Table2 data visible and invisible on click using Javascript i.e. no server side call.
    I am not sure If I can disable the inbuilt AJAX calls on click to expand and collapse. If yes, how I can do that?
    Second Thing will be how I can populate my custom Javascript on those collapse and expand onclick event?
    Thanks In Advance

    Hi Suvidha,
    Thanks for the response, but in my scenario I have a viewset in component A and overview page in component B. I am using viewset as assignment block in component B where i need to change the title on Lazy and Direct mode. Method of IF_BSP_WD_HISTORY_STATE_DESCR for viewset does not work in this scenario.
    I am trying to get a method which get called on change of Lazy and Direct mode for an assignment block .

  • Jsf  warn about nested tag

    hi I try to make a dynamic data table wtih jsf 1.2; When I run my pr�ject on the server I have gor this warn in my server log.�s there ther e somebody who know this problem.
    My datatable code:
    <h:column id="column11" >
    <f:facet name="header" > </f:facet>
    <h:commandButton action="#{RefKayit. detaysil} " rendered="#{ RefKayit. edit1}" image="img/x. gif" id="s"></h:commandB utton>
    <h:commandButton action="#{RefKayit. detaysil1} " rendered="#{ RefKayit. edit}" image="img/x. gif" id="ss"></h: commandButton>
    </h:column>
    warn on the server log:
    23519: 09:21:18,551 WARN [HtmlResponseWriter Impl] HTML nesting warning on closing td: element input rendered by component : {Component-Path : [Class: javax.faces. component. UIViewRoot, ViewId: /TestReferansTanim. jsp][Class: javax.faces. component. html.HtmlForm, Id: tref][Class: javax.faces. component. html.HtmlDataTab le,Id: update][Class: javax.faces. component. html.HtmlColumn, Id: column11][Class: javax.faces. component. html.HtmlCommand Button,Id: ss]} not explicitly closed
    thanks
    how can � solve this warn?

    My guess is that you're not resetting state in the parent tag handlers (e.g., data set by the nested tag handlers) correctly for them to work with tag handler pooling. For some more info on this, see an article I wrote for ONJava.com a while back (the "Tag handler life cycle and instance reuse" section):
    http://www.onjava.com/pub/a/onjava/2001/11/07/jsp12.html?page=2
    or my JavaServer Pages book (O'Reilly), plug plug :-)
    http://www.thejspbook.com/
    Tomcat 4.1.x uses tag handler pooling by default, but LiteWebServer (which is my company's product, BTW) disables pooling by default. Not sure about Jetty, but it's likely that it also disables pooling. For Tomcat 4.x and LiteWebServer, you control pooling through an init parameter to the JSP servlet in the conf/web.xml file:
        <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>enablePooling</param-name>
                <param-value>false</param-value>
            </init-param>
        </servlet>I suggest that you disable pooling in Tomcat first and see if that helps. If so, you know what the problem is and can use the hints in my article to fix it.
    Hans Bergsten (JSP and JSF EG member)

  • Afc:cache does not work for menu facets?

    when I place afc:cache around a facet for menu items, the menus do not show up?
    <afc:cache duration="86400">
    <f:facet name="menu1">
    <af:menuTabs>
    <af:commandMenuItem text="Find Services" selected="true" disabled="true" />
    <af:commandMenuItem text="Sign Up to Advertise Your Services"
    action="start" immediate="true"/>
    <af:commandMenuItem text="My Account" selected="false" action="myaccount" immediate="true"/>
    </af:menuTabs>
    </f:facet>
    </afc:cache>
    Thanks

    Hi,
    I found a bug entry about nested fragments not being rendered correctly. However, this doesn - by 100 % - sound like your issue. Any chance that you can file a bug on this ?
    Frank

  • Facet for more than one column (but not for whole table)

    Hi all.
    Let's imagine we have dataTable with five columns. We can set facet (i.e. header) for the columns altogether or for each of them separetely. But is there any way to set header for only first three of them? like this:
    ____some header ____ | header | header |
    value 1 | value 2 | value 3 | value 4 | value 5 |
    value 6 | value 7 | value 8 | value 9 | value 10 |
    Any help is appreciated.

    This might not be the best approach if the file is huge, but if you nest the comparators, you can do this.
    Create a comparator that takes 2 other comparators as input, the primary and seconday. The compare method compares the inputs based on the primary comparator. If the result is not zero, then you have your answer. If the result is 0, then delegate to the secondary comparator. In the past I've created an abstract class to do the primary/secondary behavior, then had an abstract doCompare method that does the actual comparison. The secondary comparator can itself be a nested comparator, if necessary.
    john

  • Sort column by nested property

    Hello,
    In the code below I am trying to sort the table based on a property of a property. Is that possible? How would I reference the nested property in the <af:column/> tag
    Thanks
    <af:table value="#{processScope.positioningDetail.obj.bookingList}"
    var="row">
    <af:column >
    <f:facet name="header">
    <af:outputText value="First Name" />
    </f:facet>
    <af:outputText value="#{row.person.firstName}" />
    </af:column>
    <af:column sortProperty="person.lastName" sortable="true">
    <f:facet name="header">
    <af:outputText value="Last Name" />
    </f:facet>
    <af:outputText value="#{row.person.lastName}" />
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Action" />
    </f:facet>
    <af:commandLink
    actionListener="#{processScope.positioningDetail.deleteRowEvent}"
    text="Delete" immediate="true" />
    <af:commandLink
    action="#{processScope.positioningDetail.editRowActionSimple}"
    text="Edit" />
    </af:column>
    </af:table>

    I had the same problem and it appears to be a limitation in the current implementation. Take a look at this thread:
    Re: ADF FACES: af:column sortProperty not working on EL expression
    I ended up creating facade properties that did the nested access for me. Not clean, but it works until the ADF team enhances this.
    Hope this helps.
    Larry.

Maybe you are looking for

  • Can one apple ID belong to multiple family sharing groups?

    I'm interested in starting a family sharing group with my siblings (surprise).  They have children of their own, however, so if I invite them to my new group, will they also be able to create a different group for themselves with their children? My t

  • HT1846 If I have installed windows 7 on my mac book pro, but want to install windows 8 when it comes out, how do I do that?

    do I simply put the windows 8 disc in my (Early 2011 edition MBP) disc drive when I'm on my windows side and install to that same partition Bootcamp Already wrote? Or do I have to go through Bootcamp again?

  • Can't open sql file in subfolders.

    Hi, 1. I can't open any file by Windows Browser, right click, and open with SQL Developer if the file is located in subfolder which is several levels deep from C:\. 2. I can't use Files (from SQL Developer) to browse subfolders than 7 or 8 levels dee

  • Need an app that has a calendar with...

    alerts that can be set that don't just ring once. Are there any apps out there that have a calendar alarm/reminder that won't shut off until you recognize it? I keep missing reminders because they ring or buzz once then shut off. Any suggestions woul

  • How can I zero out the memory on my macbook air?

    I have an 11 inch mid 2011 macbook air and cannot figure out how to erase the memory so that none of the data is recoverable. I booted from the recovery HD but when I went to the erase section of the menu, the security options button and the zero out