Refresh master form

I have a main form with drop down boxes that create the criteria for a query.  Each drop down has a me.recalc function so that the query updates every time one is filled in or changed.  The query results show up in a subform (datasheet). 
works great.  I have another thread for an issue where the datasheet doesn't show a (new) line.  So to work around this issue I've created a new subform that has a blank text field (onload DoCmd.GoToRecord , , acNewRec), and a save button that saves
the line and goes to a new record.  The issue I have is that I can't figure out how to get the other subform to refresh the results with the new lines.  I tried me.refresh, but that seems to only refresh the second subform, which is already a blank
line.  How do I have subform B, refresh the results in subform A automatically?

Your post is a bit confusing; but I believe you should try:
Forms!MainFormName.SubformName.Form.requery
and now that I'm typing this, am having a senior moment and maybe it is instead:
Forms!MainFormName.SubformName.requery
but in any case one of those should force the subform to requery its record source

Similar Messages

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

  • Pagination for Master Form, Detail Table

    Hi,
    I am using JDev11.1.2.1.0
    I am creating a page having master detail relationship (master as a form and detail as a table). On click of First, Prev, Next, Last pagination button of master should change the data and refresh child table data.
    So created a Master VO & Child VO joined with View Link and dragged into page as Master form, Detail table. But during pagination, NEXT works once, then it seems to stop there. LAST works and FIRST & PREVIOUS seem to both go to the first record.
    Can anyone suggest me when I went wrong.

    Yes Frank, its st. forward use case. I tired with master table with detail table works fine but master form with details table behaviors differently.
    Below snippet of code in JSPX page master form detail table as shown below :
    <af:panelFormLayout id="pfl6">
    <af:panelLabelAndMessage label="Name:" id="plam1">
    <af:outputText value="#{bindings.EMP_NAME.inputValue}" id="ot2"/>
    </af:panelLabelAndMessage>
    <af:panelGroupLayout id="pgl15" layout="horizontal">
    <af:commandButton text="First"
    disabled="#{!bindings.First.enabled}"
    partialSubmit="true" id="cb1"
    actionListener="#{bindings.First.execute}"/>
    <af:commandButton text="Previous"
    disabled="#{!bindings.Previous.enabled}"
    partialSubmit="true" id="cb2"
    actionListener="#{bindings.Previous.execute}"/>
    <af:commandButton text="Next"
    disabled="#{!bindings.Next.enabled}"
    partialSubmit="true" id="cb3"
    actionListener="#{bindings.Next.execute}"/>
    <af:commandButton text="Last"
    disabled="#{!bindings.Last.enabled}"
    partialSubmit="true" id="cb4"
    actionListener="#{bindings.Last.execute}"/>
    </af:panelGroupLayout>
    </af:panelFormLayout>
    <af:table rows="#{bindings.EmpSchemesViewObj1.rangeSize}"
    fetchSize="#{bindings.EmpSchemesViewObj1.rangeSize}"
    emptyText="#{bindings.EmpSchemesViewObj1.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" styleClass="AFStretchWidth" autoHeightRows="5"
    columnStretching="column:c2"
    value="#{bindings.EmpSchemesViewObj1.collectionModel}"
    rowBandingInterval="0" contentDelivery="immediate"
    selectedRowKeys="#{bindings.EmpSchemesViewObj1.collectionModel.selectedRow}"
    selectionListener="#{bindings.EmpSchemesViewObj1.collectionModel.makeCurrent}"
    rowSelection="single" id="t1"
    partialTriggers="::cb1 ::cb2 ::cb3 ::cb4">
    <af:column headerText="#{msg.LONG_NM}"
    sortProperty="#{bindings.EmpSchemesViewObj1.hints.REGISTERED_NAME.name}"
    sortable="false" id="c1">
    <af:outputText value="#{row.REGISTERED_NAME}" id="ot9"/>
    </af:column>
    </af:table>
    Edited by: 879073 on Jan 22, 2013 3:36 AM

  • Refresh master

    Hey,
    I have a master form with a detail table. The master contains total costs, there are two detail tables, all records have an amount costs. When I select another item in (one of) the table(s) I want to recalculate the total in the master. All results are not in the database. How can I refresh the totals of the master? (I have updated the master view row with the new data, it's just not shown in the screen).
    Thanx,
    Marianne

    Hi,
    For a selection of a record in a table it is now working. Indeed with adding partial triggers (not with autoSubmit because this isn't a property of an af:table).
    However I tried to do the same for the following layout:
    - Form with items of ZorgPolisView
    - Same page table of ZrgVerzekerdenView (with a view link linked to the ZorgPolisView)
    The table of ZrgVerzekerdenView contains a drop down column. When the value of the drop down of a record is changed I want to refresh the ZorgPolisView form.
    I have overriden the tableDropDownList template for this drop down:
    ## #DEPENDS_ON_ITEM_PROPS_TABLE()
    autoSubmit="true"
    onchange="addChangedField(this.name);"
    valueChangeListener="#{premieberekeningBean.updateZorgResultaten}"
    In the premieberekeningBean instance of a PremieberekeningBean class I have the method updateZorgResultaten and here I set the new values of the ZorgPolisViewRow (example setBrutoPremie(100)).
    But again the screen does not refresh, how can I refresh the screen when a cell of a table changes? the Table itself is refreshed but not the form containing the table.
    Thanx,
    Marianne

  • How to: Create a master form that auto-fills data into other pdf forms?

    I hope someone can please help me.  I have about 15 PDF forms that all require similar data entry (name, address etc). Can I create a master form that we fill in once per client, and then auto-fill in the matching data on the 15 forms? 
    I am not looking for an online solution as the information is highly sensitive. 
    I have already created a form in Acrobat X Pro with the 'master data', and created the (15) forms with identically named fields.  How I link the forms now to the master, I cannot figure out (after much searching).
    I have read similar questions on the same topic but have not found any answers.   I hope this time someone can please help.
    Many thanks in advance.

    Thank you!  I had just figured out how to export the data from the master as an FDF file and then import it to the other files.  I'm afraid I don't understand scripting to automate the process across multiple files.  To you mean with java script? 
    I've also thought about combining the forms, once we know which ones the particular client will need.  I have to see how it works in practice for my colleagues who will be using them.
    Thank you again.

  • How to Refresh System Form in Run Time

    Dear All,
    Please give me idea for Refresh System Document in Run Time using DI,basically I am using  system columns for update for some scenarios.
    So please give solution that how should refresh system form.
    Thanks a lot.
    Ashish Singh.

    Hi,
    Please post above discussion in SDK forum.
    Thanks & Regards,
    Nagarajan

  • How to add a column in Item Master form with chooselist

    Hi Experts
    I add a column in Item Master Form in Stock Data Tab. In this column I want to add Choose list. For this I use AfterFormLoad event. It gives Error "Matrix Line Exist" . My code is given below
    If pVal.FormType = "150" Then
                    form = B1Connections.theAppl.Forms.GetForm(150, pVal.FormTypeCount)
                    form.PaneLevel = 3
                    oItem = form.Items.Item("28")
                    oMatrix = oItem.Specific
                    Dim chooseObj As ChooseListClass
                    chooseObj = New ChooseListClass
                    chooseObj.AddChooseFromListBinCode(form.UniqueID)
                    oColumns = oMatrix.Columns
                    oColumn = oColumns.Add("BINCODE", BoFormItemTypes.it_EDIT)
                    oColumn.Width = 100
                    oColumn.DataBind.SetBound(True, "OITW", "U_BINCODE")
                    oColumn.TitleObject.Caption = "Def BinCode"
                    oColumn.Editable = True
                    oColumn.ChooseFromListUID = "CFL5"
                    oColumn.ChooseFromListAlias = "U_BinCode"
                    oColumn = oColumns.Item("U_BINCODE")
                    oColumn.Visible = False
                End If
    please give your suggestion
    Regards
    Jitender

    Hi Noor
    Thanks for reply
    I tried your suggestion but problem still there. I am using after form load event. Here matrix has 9 lines (all warehouse). If remove the line then how can I reload warehouse data. Can you suggest in more detail.
    my code is given below
    form = B1Connections.theAppl.Forms.GetForm(150, pVal.FormTypeCount)
                    form.PaneLevel = 3
                    oItem = form.Items.Item("28")
                    oMatrix = oItem.Specific
                    MsgBox(oMatrix.RowCount)
                    oMatrix.DeleteRow(1)
                    Dim chooseObj As ChooseListClass
                    chooseObj = New ChooseListClass
                    chooseObj.AddChooseFromListBinCode(form.UniqueID)
                    oColumns = oMatrix.Columns
                    oColumn = oColumns.Add("BINCODE", BoFormItemTypes.it_EDIT)
                    oColumn.Width = 100
                    oColumn.DataBind.SetBound(True, "OITW", "U_BINCODE")
                    oColumn.TitleObject.Caption = "Def BinCode"
                    oColumn.Editable = True
                    oColumn.ChooseFromListUID = "CFL5"
                    oColumn.ChooseFromListAlias = "U_BinCode"
                    oColumn = oColumns.Item("U_BINCODE")
                    oColumn.Visible = False
                    oMatrix.AddRow(1)
    Thanks
    Waiting for reply
    Regards
    Jitender

  • Event to use for Creation of a Check box on Warehouse master Form

    Hi experts
    I have created one check box on Warehouse Master form in AfterMENUClick Event. It works fine if I open the form on Menuclick . But If I open the Warehouse master form by Link button from any document, it does not show the check box. I also want to deactive the checkbox if once it checked. So, I do some coding in Data_Load event. It also works fine If I open the form by Menu click. But if I open the form by Link button it gives error " Invalid Item Id ". 
    So I want to know which event I should use to create the check box and which Event I Should use to Deactive the Check box

    Thanks Nagy for quick reply
    I use the following code for creation of check box
    <B1Listener(BoEventTypes.et_FORM_LOAD, False, New String() {"62"})> _
            Public Overridable Sub OnAfterFormLoad(ByVal pVal As ItemEvent)
                Dim ActionSuccess As Boolean = pVal.ActionSuccess
                Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)
                'ADD YOUR ACTION CODE HERE ...
                Dim oForm As Form
                Dim oMatrix As Matrix
                Dim oItem As Item
                Dim sysItem As Item
                Dim BinCheck As CheckBox
                Dim BinLabel As StaticText
                Dim cmbBinCode As ComboBox
                oForm = B1Connections.theAppl.Forms.ActiveForm
                oForm.PaneLevel = 1
                sysItem = oForm.Items.Item("2000002010") 'Excisable check box
                oItem = oForm.Items.Add("BinChk", BoFormItemTypes.it_CHECK_BOX)
                oItem.Left = sysItem.Left
                oItem.Top = sysItem.Top + 20
                BinCheck = oItem.Specific
                BinCheck.Caption = "Bin Enabled"
                BinCheck.DataBind.SetBound(True, "OWHS", "U_BinEnabled")
            End Sub
    It gives error on sysItem = oForm.Items.Item("2000002010") line Invalid Item Id
    Plz check and tell the problem
    Regards
    Gorge

  • Is it possible to create a Master Form?

    Hello... i am using Acrobat Pro 8.6. I was wondering if it might be possible to create a master form. I am using a form to receive artwork approval from my customers. My question is if I can use my proof form to create a form and use that form every single time. Only issue is I have to chante my proof form with the customers information and add their ad on to the form. All the areas that need the form fields will not change so I wasn't sure if its possible to just save all the field forms so that I can use it every time I open a new proof? Is this possible? If not, does anyone have a good idea on how to accomplish this without having to create a new form for every single customer we have, its a lot?
    Thanks,
    Jayme

    Thanks for responding... when you copy the form, and I open up a new document and paste the form fields right into my new document? Is that what you mean, this may work. My proof sheet is created in Illustrator and I bring that into Acrobat to create the form. The form fields will not change, but the Illustrator file will always change. I just don't want to have to create a form every time, it takes a little bit of time. LOL

  • Urgent, how to refresh a form with a returned parameter?

    Hi people,
    I am working in web application using EJB and ADF.
    In the main page I have a form and a "search" button.
    The "search" button opens a popup window that displays the same form's data in a table with selection and submit. I want to choose a record from the table then submit, close the popup, back to the main page and refresh the form so the current record shows by the form is the record that I have choosen in the popup window.
    I did the following:
    Created named query "MyEntitySearch"
    @NamedQuery(name = "MyEntity.Search",query="select o from myEntity o where o.id = :id"
    I made some things so that if id == null -> return all records of the table
    else return the selected record.
    I dragged and dropped the same method in the main page and in the popup.
    In the popup: the submit action listener takes the id of the selected row and close the popup.
    public String commandButton1_action() {
    System.out.println("retID");
    JUCtrlValueBindingRef selectedRowData=(JUCtrlValueBindingRef)
    this.getTable1().getSelectedRowData();//return the selected table from the interface
    RowImpl row =(RowImpl)selectedRowData.getRow();//get the selected row myEntity selectedValue=(myEntity)row.getDataProvider();//from the entity bean
    System.out.println("ID = "+selectedValue.getId());
    AdfFacesContext.getCurrentInstance().returnFromDialog(selectedValue,null); //close the dialog window and send the value
    return null;
    In the main page backing been:
    private Long ID=null;
    //in the return action listener of the "search" button :
    public void ret_action(ReturnEvent returnEvent) {
    MyEntity myentity = (myEntity)returnEvent.getReturnValue();
    //**return the selected row from the dialog window
    ID=(Long)myentity.getId();
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("queryMyEntitySearch");
    operationBinding.getParamsMap().put("ID","id");
    operationBinding.execute();
    System.out.println(ID+"the returned value");
    I made the form partial triggers with "search" button, immediate and autosubmitt.
    After all of that, unfortunately the form doesn't change its current record to the selected id record.
    The returned selected ID from the popup is returned correctly when I printed it. But no changes in the form.
    Please to those who know or faced the same problem; I am waiting.
    Regards.

    Hi,
    if you need to access the return value of a method you need to ceate an attribute binding for its result set. Go to the pagedef file, create a new attribute binding and choose the method's result item. Then reference the attribute binding.attributename.inputValue
    Frank

  • Master form detail table delete and save all

    I use jdeveloper 10.1.2 with jheadstart 10.1.2 I have a problem about delete and save in master detail.I create 1 master form ,1 detail table and 1 detail form in jheadstart.I want to delete details when I pressed delete button in master and I want to save all changes when I pressed save button.But delete and save are only work for master.So my detail data cant delete or save.What can I do for this problem?Thank alot.......

    To delete the details when you delete the master, it is easiest to define the foreign key in the database with CASCADE option instead ogf RESTRICTED.
    I cannot reproduce your issue with Save not working. Can you reproduce this using the HR schema?
    Steven Davelaar,
    JHeadstart team.

  • Refresh table-form query on table only

    Hello,
    I have a group being generated as a table-form layout. What I would like is for the table page to be refreshed always on entry. I can't set the group requery condition to always, or "when entering the page" as then the view object is executed going navigating from the table page to the form page. This seems a very simple requirement to me but Im struggling to come up with an elegant solution.
    Basically what i need is the refreshCondition on the invokeAction binding executable to be "Always and layout=table".
    Any help would be greatly appreciated !
    Cheers,
    Brent

    How do you do this, if your current page is a .jsff and not a .jspx? When I look at the refreshCondition, a .jsff does not have access to the facesContext.
    Thanks,
    Michelle
    Since this question was already answered, I created a new thread:
    Refresh table-form query on table only for .jsff pages
    Edited by: MSchaffer on Dec 1, 2010 11:54 AM

  • Changing Printer in the PO master form

    Hi All,
         we are SRM 5.5 ECS. we addded a new printer and would like to change default to the new printer. Please suggest where I could change the printer in SRM Master form/config. When users print PO, it should automatically default to new printer.
    Please advise.
    Regards
    Rao

    Hello Rao,
    Change value for attribute 'PRI' in organizational plan.
    Check, with view HRV1222A for this attribute, where your old printer value is populated in order to switch to the new one.
    Regards.
    Laurent.

  • Can anyone provide the javascript code for a master form

    I like to know how I can set up a master form on acrobat standard?  My issue is that I would like, as I fill the master form, to be able to have the rest of the forms fill in automatically.  Please help me with this issue!
    Thanks,
    Raul

    Take a look at http://www.jotform.com.  You can create as many forms as you like here for free and they don't contain advertising.
    You could also try Google docs, so go to http://www.google.com and log into your account or create one and then go to settings and the docs section.  It is free an you can create as many forms as you like and there isn't really any advertising to speak of.
    Other than this, it is easy to create your own form using html.
    If you are publishing to MobileMe, then you can do it, but you need to enter <Form action Mailto:, so all the info opens in the clients e-mail and is e-mailed directly to you.
    If you are using an external server such as GoDaddy, then you can use form mail and enable this on your server, so the result is e-mailed to you.

  • Problem in refreshing Tabular Form On closing Modal Page

    Hi ,
              I am not able to refresh tabular form region on close of the modal page.
              can someone help me ?
    Thanks and Regards,
    Madonna

    The fault may lie with the plugin itself. The close event is simply not being triggered. Auto-close and manual close work, but those are the only ones. The other events are not being triggered as the internal event names as defined in the plugin do not match the events triggered from the plugin javascript code.
    For example, the close action of colorbox (the js plugin used in the modal page plugin to style the iframe) is bound like this:
             onClosed: function() {
                $(document).trigger('apexmodalpageclosed');
    However, when you go to the plugin and edit it, and scroll down to the events section, you can see that for the close event the internal name "modalpageclose" has been filled out.
    This means the event will never work with the plugin out of the box. To fix this, simply edit the internal name of the event to "apexmodelpageclosed".
    The same issue exists for the open and complete events by the way, where the javascript fires an "apex..." event but the internal name does not match up.

Maybe you are looking for