ADF table refresh on update of database field in the background

Hi,
I have an ADF Read Only table based on Toplink mapping for a database table. In my scenario, one of the columns (Name) gets updated in the background (through DB adapter from ESB.
The problem is the ADF table does not refresh to reflect the updated name, on navigating to other pages and coming back (basically page reload).
The updated name does not reflect until I logout of the session.
I have used the explicit refresh option for the "findALL" method used by the ADF table. I have also tried setting "NoIdentityMap" option in Toplink Identity Map.
Please let me know how can I get the table refreshed. I'm using JDev 10.1.3.1 with Toplink.
Rgds
Vikas

I have same problem, and I tried af:poll . It only works when I insert a new record or delete a new record. It doesn't work when I update records.
I followed this example from Frank Nimphius
http://thepeninsulasedge.com/frank_nimphius/2007/09/18/adf-faces-using-afpoll-to-refresh-a-table/
Plus the selection action is not work at all. (My case is multiple selection).
I just want to know is it possible using af:poll conponment to autorefresh ADF table when I update a record ?
JDeveloper 10.1.3.3
Message was edited by:
xpp

Similar Messages

  • Transient attriute of VO exposed as checkbox in adf table is not updated

    Hi,
    We are constructing a page where we need to display a adf table, we provide check boxes against each row to allow multiple selections.
    Checkboxes are transient attributes on VO with updatable property set.
    A strange issue is noticed, checkbox model for the very first row of adf-table is not updated.
    Tested this scenario in 11gR2 also, and seems to be a bug.
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9C7sgjVyCnoZTlmN2Y5MDItYTJhNy00MzA3LWE0ZTctOGRhNjZiMmYzNzZm&hl=en_US
    Please help us.
    Thanks,
    Sunil.

    Is this issue got resolved?
    I have the same issue, i have one transit VO and i drop one of the attribute as check box, now when i select all check boxes and try to remove the rows its alway refreshing when delete popup appear, only 1st row is selecting remaining check boxes are refreshing.
    Can any one have any idea on this.

  • ADF Table Refresh/Commit on Delete

    ADF 11g in jDeveloper 11.1.1.1.0
    So, I have an ADF Table component in a panel collection. Within the collection, I added a menu with menu item to delete the current row. The delete row is not being committed. Is there a way to do a row delete in one operation?
    Note:
    I just drug the delete operation form the data control onto the menu item.
    Action Listener: #{bindings.Delete.execute}
    Partial Submit: true
    Edited by: SK Jennings on Aug 13, 2009 10:14 AM
    Added more info
    Edited by: SK Jennings on Aug 13, 2009 10:17 AM

    You can easily solve it if you just bind the table to a property in the bean as it is in the link poste by Frank.
    I usually do it this way. I have not used findComponent().
    My table ID is "table1".Here are a few tests I tried:
        private RichTable rt;
        FacesContext fc = FacesContext.getCurrentInstance();
        System.out.println(rt.getClientId(fc));     // returns something like this : pt1:dynam1:1:drvpc1:table1
        fc.getViewRoot().findComponent("table1");  // returns null
        fc.getViewRoot().findComponent(rt.getClientId(fc));   // returns null, I expected that one to work
        AdfFacesContext.getCurrentInstance().addPartialTarget(rt); // This one works.I hope that helps,
    Valery
    Edited by: Valhery on 2009-9-18 4:16

  • Anyone can Help on {suppress} [database fields] inside the [fields]

    Reason to put database fields inside the fields
    1. I put in (word and database fields) inside fields box in order to let my word display smoothly one by one.
    Problem is , i am in section report footer d, i plan to suppress {Qrev if the value is "AAA"}
    got this type of function?
    If the Qrev = "AAA" than  suppress/hide it.
    Design screen :
    We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terms and conditions stated herein as per your reference no: {QRef}  dates
    Display screen=
    We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terms and conditions stated herein as per your reference no: 2014    AAA dates 10 march 2009
    wanted display screen
    We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terns and conditions stated herein as per your reference no: 2014   dates 10 march 2009

    As what u say, i try to key in a [formula fields] call Qrev
    here the code :
    if {Quotation.QRev} = "AAA" then
        {Quotation.QRev} = " "
    We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates,
    terns and conditions stated herein as per your reference no: MKT-2009/05/0018 True dates 19 Jun 2009
    but the Qrev.wouldnt be go delete / as a blank value. The value will only become  true or false
    Edited by: chee85 on Sep 18, 2009 7:40 AM

  • ADF table refresh

    Hi All,
    <<Jdeveloper Studio Edition Version 11.1.2.3.0>>
    I have a ADF table with EditingMode as "click to edit", so user can edit only one row at a time.
    My requirement is as below
    1. Table should be refreshed every 5 mins
    2. If the user is in the middle of editing a particular row and the table is refreshed, the values entered by the user should not be reset.
    Is there any way of doing this.
    Thanks in advance
    Best Regards,
    bnkr

    DCIteratorBinding iter = bindings.findIteratorBinding("Iterator");
    RowSetIterator rs = iter.getRowSetIterator();
    while (rs.hasNext()){
                   Row r = rs.next();
                   r.refresh(r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);
    You need to reset your RowSetIterator because this while loop will execute only for first af:pool event.
    Also, it's not good idea to iterate through default RowSetIterator because UI components are bound to this iterator(you can iterate, but then you need to add logic to restore current row...)
    Instead, try something like this:
    RowSetIterator rs = iter.getViewObject().createRowSetIterator(null);
    while (rs.hasNext()){
        Row r = rs.next();
        r.refresh(r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);
    rs.closeRowSetIterator();
    Dario

  • ADF Table refresh odd behaviour: is it a bug?

    Hi,
    I am using JDev 11.1.2.3.0.
    I found a strange behaviour of ADF table, that looks like a bug.
    I am using the following scenario:
    1). I have a page with a table on it. The table displays the VO content and all it's columns are filterable.
    2). There is another more complex filter with one parameter. The filter is always applied in addition to all existing filters and is implemented in VO implementation class by overriding the  buildWhereClause() method. The parameter value is stored in the VO as a property, and the property setter is exposed via client interface.
    3). The filter parameter value is specified using Select One Choice component, the value is stored in the pageFlowScope variable (AutoSubmit=true).
    4). The filter parameter setter is binded in the PageDef file as a method action and obtains the value from the corresponding pageFlowScope variable. When user press a button, the filter should be applied. The button has PartialSubmit=true, the table has a reference to the button in the PartialTriggers.
    Here is some code:
    // MyViewObjectImpl code fragment
    private String filter;
    public String getFilter() {
      return filter;
    public void setFilter(String filter) {
      boolean valueChanged = true;
      if (this.filter != null && filter != null) {
        valueChanged = !this.filter.equals(filter);
      this.filter = filter;
      if (valueChanged) {
        clearCache();
    // Backing bean code fragment
    private RichTable table;
    public void setTable(RichTable table) {
      this.table = table;
    public RichTable getTable() {
      return table;
    public String onApplyFilter() {
      BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
      OperationBinding op = bc.getOperationBinding("setFilter");
      op.execute();
      FilterableQueryDescriptor fm = (FilterableQueryDescriptor)table.getFilterModel();
      table.queueEvent(new QueryEvent(table, fm));
      return null;
    All works fine except for one thing: the 26-th row of the table always remains from the previous filter value. More precisely, this number equals to iterator RangeSize+1.
    Is this my fault or a bug?
    Thanks.

    Sorry, I forgot about the detailed instructions.
    1). Setup database connection to match the real DB server address, username and password.
    2). Run the ViewController project.
    3). Choose character 'a' in the filter and push "Apply". This will give the countries, ending with the letter a.
    4). Change filter to 'e' and push "Apply". This should give the countries, ending with the letter e, but in fact the second row is 'Argentina' (the first row from the previous query). Pressing the button again produces correct results.
    Thanks.

  • ADF Table Refreshing?

    Hi,
    I have a problem with my ADF table which needs to be resolved ASAP. Somebody please help me here..Here are the details..
    I have an ADF table based on a VO.
    I Have a parameter to this view object and i am defaulting a value to this parameter
    I created a parameter form by draggign and dropping the "ExecutewithParams" operation.
    Now, when the page was loaded, the data looks good. When i change the parameter value and click on the executewithParams button, i see rows being repititive.
    When i run teh same query with these 2 parameter value in sql or Toad, i see correct results. Do i have to refresh the table or anything?
    Thanks,
    Lakshmi.

    As always, you should give us your jdev version...
    Have you tried this with -Djbo.debugoutput=console set as start parameter? This will show you the query generated when you query the VO.
    Timo

  • Upload images & database fields at the same time

    ASP VSBasic dreamweaver 8
    I can browse & upload 2 images to the server using
    aspupload (browse to
    images click upload)
    I can populate the MYSQL database using text fields &
    recordset (enter data
    in fields press save to upload)
    I now need to work out the following on one button click
    Browse & select first image
    Browse and select second image
    Pass the image paths to 2 text fields
    upload the images
    update the database
    I end up with 2 images saved eg (C:\temp\image1.jpg &
    C:\temp\image1.jpg)
    A record in the data base with
    Time
    Date
    "Path to image 1"
    "Path to image 2"
    The reason for the above is to keep the end user interface as
    simple as
    possible therefore the risk of them sending the wrong data is
    reduced
    Cheers
    SteveW

    I'm not sure uploading several files at once is possible. I have yet to see anything like that.

  • Could not add a database field in the new PLD report..

    Hi All,
    Am working on a PLD report and am not able to add a Databse field on the Report.
    I want to add a new field on my Report which should fetch the Field Tax Amount from the table AR invoice tax amount per document....
    when i add the new database field the drop down for tables does not display the desired table....
    Can any one help me on this....
    Thanx in advance
    Manish Chaudhary

    Hello,
    here is some thread links relate to your problem :
    1. Detail of all tax codes and tax amounts in A/R Invoice PLD
    2. Calculate Tax breakup in PLD
    Rgds,

  • Adf table with detail stamp , not able to close the detail stamp

    Hi
    i'm using 11g adf jdeveloper.
    I'm using adf table to display records of XXXVO.In table i have used detail stamp, in which i have drag XXXVO read-only form and used a ADD button which call a pop-up with createInsert of the XXXVO form with submit button.In pop i have used a drop downlist of other YYYVO. I have used another button Edit which call the same pop-up, using show pop-up.
    Issue is when i run the application i can open the detail stamp and close but i couldn't get the selected record on the table in edit mode pop up. if i give partial trigger in pop-up of table id . den i'm getting the selected record in edit pop up. but detail stamp is not working .
    Here is the code .......
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/XBBaseTemplate.jspx"
    value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="body">
    <af:panelBox text="AMC Charges" id="pb1">
    <f:facet name="toolbar"/>
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:panelCollection id="pc1"
    inlineStyle="width:1105px; height:336px;">
    <f:facet name="menus">
    <af:menu text="Export Excel" id="m2">
    <af:commandMenuItem text="Excel" id="cmi1">
    <af:exportCollectionActionListener exportedId="resId1"
    type="excelHTML"/>
    </af:commandMenuItem>
    </af:menu>
    </f:facet>
    <f:facet name="toolbar">
    <af:toolbar id="t1">
    <af:commandToolbarButton id="ctb1"
    icon="/Images/browse.gif"
    shortDesc="Search"
    partialTriggers="resId1"
    disabled="#{UsapProgramPrivilege.query}">
    <af:showPopupBehavior popupId=":::p2"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb_add"
    icon="/Images/addsymbol.png"
    shortDesc="Add"
    action="#{MasterManagedBean.createRecord}"
    useWindow="true"
    windowModalityType="applicationModal"
    windowHeight="300"
    windowWidth="300"
    disabled="#{UsapProgramPrivilege.insert}"/>
    <af:commandToolbarButton
    id="ctb2"
    partialTriggers="resId1"
    icon="/Images/update_ena.png">
    <af:showPopupBehavior popupId=":::p_edit"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb_delete"
    icon="/Images/delete_ena.png"
    shortDesc="Delete"
    partialTriggers="resId1"
    actionListener="#{bindings.Delete.execute}"
    disabled="#{UsapProgramPrivilege.delete}"/>
    <af:commandToolbarButton id="ctb3"
    icon="/Images/filesave.png"
    shortDesc="Save"
    partialTriggers="resId1 ctb_add ctb_delete :::cb1"
    actionListener="#{bindings.Commit.execute}"
    disabled="#{!bindings.Commit.enabled}"/>
    <af:commandToolbarButton id="ctb5" icon="/Images/undo.png"
    actionListener="#{bindings.Rollback.execute}"
    disabled="#{!bindings.Rollback.enabled}"
    immediate="true">
    <af:resetActionListener/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb4"
    icon="/Images/eraser-4.gif"
    shortDesc="Clear"
    action="#{MasterManagedBean.onClearTableSearchFields}"/>
    <af:outputText value="CmmAmcRatesVO1Iterator"
    id="ot_amciterator"
    binding="#{MasterManagedBean.iteratorName}"
    visible="false"/>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.CmmAmcRatesVO1.collectionModel}"
    var="row"
    rows="#{bindings.CmmAmcRatesVO1.rangeSize}"
    emptyText="#{bindings.CmmAmcRatesVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.CmmAmcRatesVO1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.CmmAmcRatesVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmmAmcRatesVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="resId1"
    binding="#{MasterManagedBean.masterTable}"
    styleClass="hieght:100% width:100%"
    columnSelection="multiple" width="1099"
    rowDisclosureListener="#{MasterManagedBean.onRowDiscloseureEvent}"
    partialTriggers="::ctb_add ::ctb_delete ::::cb1">
    <af:column sortProperty="AmrtPrdId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtPrdId.label}"
    id="resId1c1">
    <af:outputText value="#{row.AmrtPrdId}" id="ot8"/>
    </af:column>
    <af:column sortProperty="AmrtFeeId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFeeId.label}"
    id="resId1c2">
    <af:outputText value="#{row.AmrtFeeId}" id="ot7"/>
    </af:column>
    <af:column sortProperty="AmrtRateTyp" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtRateTyp.label}"
    id="resId1c3">
    <af:outputText value="#{row.AmrtRateTyp}" id="ot11"/>
    </af:column>
    <af:column sortProperty="AmrtFxdAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.label}"
    id="resId1c4">
    <af:outputText value="#{row.AmrtFxdAmt}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtPerc" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.label}"
    id="resId1c5">
    <af:outputText value="#{row.AmrtPerc}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtMinAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.label}"
    id="resId1c6">
    <af:outputText value="#{row.AmrtMinAmt}" id="ot2">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtMaxAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.label}"
    id="resId1c7">
    <af:outputText value="#{row.AmrtMaxAmt}" id="ot9">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtFolioId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFolioId.label}"
    id="resId1c8">
    <af:outputText value="#{row.AmrtFolioId}" id="ot1"/>
    </af:column>
    <af:column sortProperty="AmrtCurrId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtCurrId.label}"
    id="resId1c9">
    <af:outputText value="#{row.AmrtCurrId}" id="ot10"/>
    </af:column>
    <af:column sortProperty="AmrtRndMthd" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtRndMthd.label}"
    id="resId1c10">
    <af:outputText value="#{row.AmrtRndMthd}" id="ot14"/>
    </af:column>
    <af:column sortProperty="AmrtDecPlc" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.label}"
    id="resId1c11">
    <af:outputText value="#{row.AmrtDecPlc}" id="ot5">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtActiveYn" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtActiveYn.label}"
    id="resId1c12">
    <af:outputText value="#{row.AmrtActiveYn}" id="ot13"/>
    </af:column>
    <af:column sortProperty="AmrtHoldYn" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtHoldYn.label}"
    id="resId1c13">
    <af:outputText value="#{row.AmrtHoldYn}" id="ot12"/>
    </af:column>
    <af:column sortProperty="AmrtEffFdate" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.label}"
    id="resId1c14">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.AmrtEffFdate}"
    id="id1"/>
    </f:facet>
    <af:outputText value="#{row.AmrtEffFdate}" id="ot6">
    <af:convertDateTime pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.format}"/>
    </af:outputText>
    </af:column>
    <f:facet name="detailStamp">
    <af:panelFormLayout id="pfl2" rows="9">
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtPrdId.label}"
    id="plam10">
    <af:outputText value="#{row.AmrtPrdId}" id="ot31"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFeeId.label}"
    id="plam17">
    <af:outputText value="#{row.AmrtFeeId}" id="ot20"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtRateTyp.label}"
    id="plam11">
    <af:outputText value="#{row.AmrtRateTyp}" id="ot28"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.label}"
    id="plam18">
    <af:outputText value="#{row.AmrtFxdAmt}" id="ot16">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.label}"
    id="plam14">
    <af:outputText value="#{row.AmrtPerc}" id="ot30">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.label}"
    id="plam1">
    <af:outputText value="#{row.AmrtMinAmt}" id="ot22">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.label}"
    id="plam13">
    <af:outputText value="#{row.AmrtMaxAmt}" id="ot18">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFolioId.label}"
    id="plam7">
    <af:outputText value="#{row.AmrtFolioId}" id="ot27"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtCurrId.label}"
    id="plam4">
    <af:outputText value="#{row.AmrtCurrId}" id="ot26"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtRndMthd.label}"
    id="plam6">
    <af:outputText value="#{row.AmrtRndMthd}" id="ot25"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.label}"
    id="plam12">
    <af:outputText value="#{row.AmrtDecPlc}" id="ot21">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtActiveYn.label}"
    id="plam2">
    <af:outputText value="#{row.AmrtActiveYn}" id="ot32">
    <f:converter converterId="CharYNAsString"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtHoldYn.label}"
    id="plam8">
    <af:outputText value="#{row.AmrtHoldYn}" id="ot24">
    <f:converter converterId="CharYNAsString"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.label}"
    id="plam15">
    <af:outputText value="#{row.AmrtEffFdate}" id="ot23">
    <af:convertDateTime pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.FeeDescription.label}"
    id="plam16">
    <af:outputText value="#{row.FeeDescription}"
    id="ot29"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.FolioDescription.label}"
    id="plam9">
    <af:outputText value="#{row.FolioDescription}"
    id="ot17"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.ProductDescription.label}"
    id="plam3">
    <af:outputText value="#{row.ProductDescription}"
    id="ot19"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.CurrencyDescription.label}"
    id="plam5">
    <af:outputText value="#{row.CurrencyDescription}"
    id="ot15"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </f:facet>
    </af:table>
    </af:panelCollection>
    </af:panelGroupLayout>
    </af:panelBox>
    </f:facet>
    <f:facet name="first">
    <af:panelStretchLayout id="psl3" startWidth="39px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="top"/>
    <f:facet name="Bticker"/>
    </af:pageTemplate>
    <af:popup id="p2">
    <af:panelWindow id="pw1">
    <af:panelGroupLayout id="pgl2">
    <af:panelHeader text="AMC Rates" id="ph1">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
    resultComponentId="::pt1:pc1:resId1"
    displayMode="compact"
    />
    </af:panelHeader>
    </af:panelGroupLayout>
    </af:panelWindow>
    </af:popup>
    <af:popup id="p_edit" popupCanceledListener="#{MasterManagedBean.resetPopTitle}"
    partialTriggers="pt1:pc1:resId1">
    <af:panelWindow id="pw2" inlineStyle="width:600px; height:600.0px;"
    title="Edit"
    binding="#{MasterManagedBean.masterPenalWindow}">
    <af:panelGroupLayout id="pgl3">
    <af:panelFormLayout id="pfl4" rows="2" maxColumns="2">
    <af:inputListOfValues id="amrtFeeIdId"
    popupTitle="Search and Select: #{bindings.AmrtFeeId.hints.label}"
    value="#{bindings.AmrtFeeId.inputValue}"
    label="#{bindings.AmrtFeeId.hints.label}"
    model="#{bindings.AmrtFeeId.listOfValuesModel}"
    required="#{bindings.AmrtFeeId.hints.mandatory}"
    columns="#{bindings.AmrtFeeId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtFeeId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtFeeId.validator}"/>
    </af:inputListOfValues>
    <af:inputListOfValues id="amrtPrdIdId"
    popupTitle="Search and Select: #{bindings.AmrtPrdId.hints.label}"
    value="#{bindings.AmrtPrdId.inputValue}"
    label="#{bindings.AmrtPrdId.hints.label}"
    model="#{bindings.AmrtPrdId.listOfValuesModel}"
    required="#{bindings.AmrtPrdId.hints.mandatory}"
    columns="#{bindings.AmrtPrdId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtPrdId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtPrdId.validator}"/>
    </af:inputListOfValues>
    <af:inputText value="#{bindings.FeeDescription.inputValue}"
    required="#{bindings.FeeDescription.hints.mandatory}"
    columns="#{bindings.FeeDescription.hints.displayWidth}"
    maximumLength="#{bindings.FeeDescription.hints.precision}"
    shortDesc="#{bindings.FeeDescription.hints.tooltip}"
    partialTriggers="amrtFeeIdId" id="it10"
    readOnly="true">
    <f:validator binding="#{bindings.FeeDescription.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.ProductDescription.inputValue}"
    required="#{bindings.ProductDescription.hints.mandatory}"
    columns="#{bindings.ProductDescription.hints.displayWidth}"
    maximumLength="#{bindings.ProductDescription.hints.precision}"
    shortDesc="#{bindings.ProductDescription.hints.tooltip}"
    partialTriggers="amrtPrdIdId" id="it7"
    readOnly="true">
    <f:validator binding="#{bindings.ProductDescription.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:panelFormLayout id="pfl6" rows="2" maxColumns="2">
    <af:inputListOfValues id="amrtFolioIdId"
    popupTitle="Search and Select: #{bindings.AmrtFolioId.hints.label}"
    value="#{bindings.AmrtFolioId.inputValue}"
    label="#{bindings.AmrtFolioId.hints.label}"
    model="#{bindings.AmrtFolioId.listOfValuesModel}"
    required="#{bindings.AmrtFolioId.hints.mandatory}"
    columns="#{bindings.AmrtFolioId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtFolioId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtFolioId.validator}"/>
    </af:inputListOfValues>
    <af:inputListOfValues id="amrtCurrIdId"
    popupTitle="Search and Select: #{bindings.AmrtCurrId.hints.label}"
    value="#{bindings.AmrtCurrId.inputValue}"
    label="#{bindings.AmrtCurrId.hints.label}"
    model="#{bindings.AmrtCurrId.listOfValuesModel}"
    required="#{bindings.AmrtCurrId.hints.mandatory}"
    columns="#{bindings.AmrtCurrId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtCurrId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtCurrId.validator}"/>
    </af:inputListOfValues>
    <af:inputText value="#{bindings.FolioDescription.inputValue}"
    required="#{bindings.FolioDescription.hints.mandatory}"
    columns="#{bindings.FolioDescription.hints.displayWidth}"
    maximumLength="#{bindings.FolioDescription.hints.precision}"
    shortDesc="#{bindings.FolioDescription.hints.tooltip}"
    partialTriggers="amrtFolioIdId" id="it9"
    readOnly="true">
    <f:validator binding="#{bindings.FolioDescription.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.CurrencyDescription.inputValue}"
    required="#{bindings.CurrencyDescription.hints.mandatory}"
    columns="#{bindings.CurrencyDescription.hints.displayWidth}"
    maximumLength="#{bindings.CurrencyDescription.hints.precision}"
    shortDesc="#{bindings.CurrencyDescription.hints.tooltip}"
    partialTriggers="amrtCurrIdId" id="it3"
    readOnly="true">
    <f:validator binding="#{bindings.CurrencyDescription.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:panelFormLayout id="pfl1" rows="5" fieldWidth="150">
    <af:selectOneChoice value="#{bindings.AmrtRateTyp.inputValue}"
    label="#{bindings.AmrtRateTyp.label}"
    required="#{bindings.AmrtRateTyp.hints.mandatory}"
    shortDesc="#{bindings.AmrtRateTyp.hints.tooltip}"
    id="soc1">
    <f:selectItems value="#{bindings.AmrtRateTyp.items}"
    id="si1"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.AmrtFxdAmt.inputValue}"
    label="#{bindings.AmrtFxdAmt.hints.label}"
    required="#{bindings.AmrtFxdAmt.hints.mandatory}"
    columns="#{bindings.AmrtFxdAmt.hints.displayWidth}"

    See if this helps:
    http://blogs.oracle.com/shay/2010/03/popup_details_for_a_table_reco.html

  • Query database fields are the same character but not in the same order

    Hello Oracle WIZ !
    I have a simple question regarding perhaps a function.
    I have a columns in a database with data the could have been transpose meaning the keyer might have entered. 1234 and someone else could have come in and put 2134.
    the characters are the same but the numbers are in a different order. Is there any function that would allow me to query just based on characters? hence bringing back the 1234 and 2134 rows?
    Hope this makes sense
    Thanks
    all

    Hi,
    You can use CONNECT BY to re-arrange the characters in a string in ascending order, then use that value to compare strings.
    For example, in the following sample data:
    CREATE TABLE     table_x
    AS
    SELECT     1 AS id,     '1234' AS txt     FROM dual     UNION ALL
    SELECT     2,          '4231'          FROM dual     UNION ALL
    SELECT     3,          '433'          FROM dual     UNION ALL
    SELECT     4,          '343'          FROM dual     UNION ALL
    SELECT     5,          '431'          FROM dual     UNION ALL
    SELECT     9,          NULL          FROM dual
    ;ids 1 and 2 both have txt consisting of '1', '2', '3' and '4'.
    ids 4 and 5 both have txt consisting of '3', '3' and '4'.
    There are no other matches.
    This query finds those pairs:
    WITH     cntr     AS
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= ( SELECT  MAX (LENGTH (txt))
                           FROM        table_x
    ,     got_ordered_txt     AS
         SELECT     x.id
         ,     x.txt
         ,     MIN (SYS_CONNECT_BY_PATH (SUBSTR (x.txt, c.n, 1), ','))     AS ordered_txt
         FROM     table_x     x
         JOIN     cntr     c     ON     c.n     <= LENGTH (x.txt)
         WHERE     LEVEL     = LENGTH (x.txt)
         CONNECT BY NOCYCLE     x.id     = PRIOR x.id
              AND          c.n     != PRIOR c.n
         GROUP BY     x.id
         ,          x.txt
    SELECT     a.id
    ,     a.txt
    ,     b.txt
    ,     b.id
    FROM     got_ordered_txt     a
    JOIN     got_ordered_txt     b     ON     a.id          < b.id
                        AND     a.ordered_txt     = b.ordered_txt
    ;Output:
    .       ID TXT  TXT          ID                                                
             3 433  343           4                                                
             1 1234 4231          2                                                

  • JSF Table StyleClass issue for a specific Field inside the Table

    Hi There,
    Am having an issue of dynamically setting the styleClass for a specific field inside a DataTable. Here is how the JSF code is ..
    <h:column>
    <h:panelGrid id="column4" columns="1" cellpadding="0" cellspacing="0">
    <h:inputText id="numberOfApps" value="#{row.submitNumber}" styleClass="#{row.customStyleClass}" maxlength="6" converter="MyNumberConverter" />
    </h:panelGrid>
    </h:column>
    This Table has a specific column which has a input Text Box where user enter's data. This data will be validated in the bean where in after the validation if its exceeding a limit we should throw an error message and also highlight the field with a specific styleClass.
    I am setting the StyleClass dynamically based on the User Input, so that I can display a highlited Error Field on the screen. Strangely enough, styleclass is getting set as expected for the first submit but doesnt show any styles for further submits. Even the existing style is getting removed from the second submit onwards. I am setting this "customStleClass" dynamic parameter as a Bean Property. Am sure these values are properly set coz to make sure I have put an h:output tag inside that table to display the customStyleClass values and they are getting set as expected but I see blank value for the class="" in the source of the Page.
    Any help would be appreciated.
    Thanks
    Edited by: Lalith on Jan 14, 2008 10:23 AM

    One option is you find the data element of that field GUID.
    Now go to SE11 transaction and in data type put that data element and press where used list. In that select tables.
    This will give you a list of tables where that field is used.
    But again if there are lots of them it will be difficult to find.
    The only option in that case is debug the extractor and find out.

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone,
    I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)...  I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
    The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table.  Is this a limitation of using search helps within table controls?
    I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help.  Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
    For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
    Thanks,
    Dallas

    Hi Dallas,
    (1)
    What  i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
    if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
    if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
    (2)
    usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
    (3)
    as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
    Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
    Regards
    Byju

  • Mass updation of Priority field in the process order header screen

    Hi Friends,
    Can any body knows on how to do mass update the Priority field in the process orders after release.(with out upload using BDC).
    or can we update the priority field in process order during mass release of process orders using  T- code: COHVPI?
    Is there any standard transaction? else please tell me the solution if there is any other way of doing this task.
    thanks&regards,
    Purna

    Purnachander,
    Your requirement can not be fullfilled with any standard transaction.
    BDC is best suitable option.
    Hope this helps you.
    SmanS

  • Table of origin for a specific field in the extract structure

    Hello
    I'm currently working with the sap bw data source 0HE_SLC_PCP_1 (higher education & research). Now, I'd like to know the name of the table of origin where the GUID 16 (CQGUID; field of the according extract structure) is stored on the R/3.
    Can someone tell me how I can find that table? Unfortunately, the SAP documentation doesn't contain that data source, only e.g. 0HE_SLC_REG_1 --> http://help.sap.com/SAPHELP_NW04s/helpdata/EN/38/26957aad7545e2b4d79aa4675cfa18/content.htm
    Thank you for your help
    Patrick

    One option is you find the data element of that field GUID.
    Now go to SE11 transaction and in data type put that data element and press where used list. In that select tables.
    This will give you a list of tables where that field is used.
    But again if there are lots of them it will be difficult to find.
    The only option in that case is debug the extractor and find out.

Maybe you are looking for