Af:exportCollectionActionListener

Hi,
Has anyone tried to use af:exportCollectionActionListener in JDev 11.1.2.3?
Oracle Demo HRSystem (link below) was working fine in JDev 11.1.1.6, but when you migrate to 11.1.2.3 and invoke Export to Excel, the page gets a strange behavior.
The navigation buttons don´t work properly in the master detail "Departments" after Export to Excel and you get an error like:
ADF_FACES-60003 Error: Component with ID: r1:1:cb1 not registered for Active Data.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
Tks!

OK, I finally had a chance to make some more tests. Again, for me it look like a bug, which I'll file in ADF EMG issue tracker, using the samples you provided (thanks for that).
Let's see what Oracle or the other members of the ADF EMG have to say about this. I'll post the link when I opened the defect.
Now, for the workaround: It's pritty simple as all you need to do is to add partial triggers to the panelFormLayout and the table:
            <af:panelFormLayout id="pfl1" partialTriggers="cb2 cb1 cb3 cb4">
              <af:table value="#{bindings.Employee3.collectionModel}" var="row"
                        rows="#{bindings.Employee3.rangeSize}"
                        emptyText="#{bindings.Employee3.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.Employee3.rangeSize}"
                        rowBandingInterval="0"
                        selectedRowKeys="#{bindings.Employee3.collectionModel.selectedRow}"
                        selectionListener="#{bindings.Employee3.collectionModel.makeCurrent}"
                        rowSelection="single" id="t1" partialTriggers=":::cb2 :::cb1 :::cb3 :::cb4">
...This will refresh the display as it's done using jdev 11.1.1.6.0 automatically.
Timo
Edited by: Timo Hahn on 22.10.2012 14:39
Opened Bug http://java.net/jira/browse/ADFEMG-65 on ADFEMG Bug Tracker

Similar Messages

  • Master-details fails working after exportCollectionActionListener init

    hi,
    in application developed in jdev 11.1.2.3, in bounded task flow i have a standard master table-detail table page generated by default wizard.
    on master table i defined an export-to-excel button:
    <af:commandButton text="To Excel" id="cb1">
    <af:exportCollectionActionListener type="excelHTML" exportedId="t1" filename="file1.xls"/>
    </af:commandButton>
    in pagedef the underlying table's ChangeEventPolicy is ppr.
    <tree IterBinding="Tab2View1Iterator" id="Tab1View1" ChangeEventPolicy="ppr">
    when i start application ,master-detail works fine.
    if i press button to call export to excel, the ppr stops working.
    i.e. when i change record in master table, no refresh happens in detail table
    what can it be? isn't it an jdev bug nobody noticed before?
    can it be fixed somehow?

    Timo,
    when you say ppr component, could you provide an example, a piece of code?
    what i proved as a working cure is execute query on master...
    as i found out further, the problem is somehow related to region.
    after export to excel button is pressed, i try to refresh current page fragment by navigating to another fragment and back.
    then i receive an error: component region1:1:t1 is not registred for active data...server exception during PPR, #1
    (region1 is my region, t1 is defined in page fragment)

  • Af:exportCollectionActionListener - prompting pop-up blocker in IE browser

    Hi All,
    I have an af:exportCollectionActionListener in a commandlink in my page.
    <af:commandLink styleClass="NewStyleLink"
    shortDesc="Export to Excel" id="cl2"
    text="Export">
    <af:exportCollectionActionListener exportedId="t1"
    type="excelHTML"
    filename="PurchaseOrders.xls"
    title="Purchase Orders"/>
    </af:commandLink>
    This works fine in firefox and chrome browsers. But in IE browser when i click on the commandlink it shows a pop-up blocker. Even if i choose download file in the blocker it does nothing. After closing the blocker or choosing download file option, if i try again clicking on the Export link it works. Is it possible to overcome this problem ?

    Hi,
    Even though the popup blocker is already in off it behaves in the same way. I also tried adding my url in "Allowed Sites" under popup blocker settings. That also dint work.
    Actually when i test the application in local machine i am able to download the file atleast when i try for the second time. But when the application is accessed from a different client machine ,I could not download the file at all.

  • How to call ExportCollectionActionListener from bean

    In my scenario, I have to get a confirmation from user as "Are you sure you want to export table data to excel document?"
    And when user clicks "YES", the data should be exported.
    And I'm trying to achieve this using bean method, where in I can know whether user clicked "YES" or "NO".
    But in here, how to call the "ExportCollectionActionListener" ?

    check [url https://blogs.oracle.com/jdevotnharvest/entry/invoking_af_exportcollectionactionlistener_from_java]Invoking af:exportCollectionActionListener from Java 

  • ExportCollectionActionListener dropping leading zeroes

    We use <af:exportCollectionActionListener> tag to provide users with the ability to export data from some <af:table>s to MS Excel. We have problems with data values like "01.21", for example, which are converted by Excel to "January, 21". Also when there are numeric codes with leading zeros, these zeros are stripped because Excel recognizes the values as numbers. Does anybody know if it is possible to solve this problem easily (for example by specifying somehow the data format of particular columns in Excel export as "Text")?
    I did some research on the web and found a creative solution for surrounding the value with some characters in a way that is visible only on the Excel file and not in the HTML page. It looks something like this:
    <af:column sortProperty="Header" sortable="true"
    headerText="#{bindings.MyReport.hints.MyData.label}"
    id="resId1c27">
    <af:panelGroupLayout layout="horizontal" id="panel999">
    <af:outputText value="=TEXT(&quot;" inlineStyle="display:none" id="ot1444"/>
    <af:outputText value="#{row.MyData}" id="ot21"/>
    <af:outputText value="&quot;,&quot;0&quot;)" inlineStyle="display:none" id="ot222999"/>
    </af:panelGroupLayout>
    </af:column>
    The idea is that in the Excel we end up with an output like this:
    =TEXT("MyValue", "0")
    The problem is that I'm seeing that output verbatim so it looks like Excel is not recognizing it properly.
    Any ideas on how to tell Excel the data type for a particular column?
    BTW, I'm coding on Jdev 11.1.3.
    Thanks,
    MV

    Hi,
    actually the formatting work around was based on a bug, which got fixed in JDeveloper. So right now we don't have an option to provide Excel formatting
    Frank

  • Af:table exportCollectionActionListener not working

    Exporting to excel does not work in Jdev 11.1.1.2.0 , this has nothing to do with commit and nothing to do with large rows of data, just under 30 rows
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.<init>(JUCtrlHierNodeBinding.java:204)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.<init>(FacesCtrlHierNodeBinding.java:66)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.createNodeBinding(FacesCtrlHierBinding.java:93)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.createRootBinding(JUCtrlHierBinding.java:399)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:97)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.getParent(RowDataManager.java:277)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.getRowCount(RowDataManager.java:245)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.getRowCount(FacesCtrlHierBinding.java:590)
         at org.apache.myfaces.trinidad.component.UIXCollection.getRowCount(UIXCollection.java:337)
         at oracle.adfinternal.view.faces.export.TableExcelExporter._renderAllDataRows(TableExcelExporter.java:343)
         at oracle.adfinternal.view.faces.export.TableExcelExporter._renderDataRows(TableExcelExporter.java:320)
         at oracle.adfinternal.view.faces.export.TableExcelExporter._renderContent(TableExcelExporter.java:148)
         at oracle.adfinternal.view.faces.export.TableExcelExporter.export(TableExcelExporter.java:95)
         at oracle.adfinternal.view.faces.export.TableExcelExporter.export(TableExcelExporter.java:54)
         at oracle.adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:167)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:671)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)

    Pedja,
    Unfortunately the rangeChangeListener has been removed from the af:table APIs. This change was not reflected in the preview release, but will be in future releases.
    Thanks,
    Ric

  • ExportCollectionActionListener and af:image columns

    We are using ADF 11g PS4
    One of the requirement is to export all visible columns of our transactional dashboard to excel. Some of the columns are af:image which are meaningful icons (for example, a red X means invalid and a green checkmark means valid etc).
    The default behavior of exportCollectionActionListener is leaving those columns as blank cells in excel.
    Is it possible to export the short description of those icons in excel instead?
    Thanks.

    Hi,
    the export collection functionality exports all items that implement the ValueHolder interface, which the image does not. All components that implement "ValueHolder" support the getValue() method, which is used by the export utility to render the Excel content.
    You can try to put an outputText inside the image and see if this gets exported.
    An other option would be to use POI to generate an excel worksheet yourself. You find the POI project easily using google.
    Timo Po

  • Downloading a specified no. of rows using ExportCollectionActionListener.

    Hi All,
    We are using ExportCollectionActionListener to download the rows rendered on the UI Table to an excel.
    Now, what we want to do is to limit the user to download only first 1000 or 500 rows rather than all the rows from the UI Table's VO.
    How should we implement this?
    Should't this be out of the box?
    Thanks.

    cant we have an option to say that only download first 1000 records or something.Not with the current release of the software, no.
    Don't you think that for export, restricting the row count is a required featureObviously Oracle did not think that, since it is not in the feature set.
    The way for you to get an Enhancement Request filed is through https://support.oracle.com and filing an SR.
    John

  • ExportCollectionActionListener and query

    hi,
    I have a af:query and af:exportCollectionListener. On the first query (clicking the search button), the exportColletionListener is ok. It directly opens a popup to save a file but when I do another query again the IE keeps block a file from downloading.. It says "..IE blocked this site from downloading files... " Then Click the "Download File" won't display the save a file popup, doing F5 still blocks the downloads.
    <af:exportCollectionActionListener exportedId="#{viewScope.data.selectedTableId}"
    type="excelHTML" filename="export.xls" />
    At first load having an empty result set is ok. It will export an empty excel File. I think the problem occurs when the data on (af:table) is being updated.
    The exportedId is in EL because this is dynamic and the value on the result tables are on viewscope.
    I used JDEV 11.1.1.5.
    Does anyone has idea how to fix this? Thanks in advance.

    hi,
    Accessing the webapp using the computer name works fine. But with localhost the problem occurs. (http://127.0.0.1:7101/app)
    So I guess I will use the computer name instead during the development, anyway in the client it won't use the localhost.
    Though it's weird but that's how it behaves in my end. Hope somebody can explain with this. Thanks.

  • ExportCollectionActionListener component problem in 11g

    Hi
    I have a requirement to export all the rows to the excel sheet. When I am trying to used the 11g provided component to acheive this functionality, I am facing a problem.
    I have few Drop down lists on my screen, when I use this in builit component to export to excel sheet, for all the drop down list of values instead of values, Index values are populating in the excel sheet. Any one have idea in this regard?
    Thanks and Regards

    The please see bug 7197342, which may cover why this is occurring. Also see enhancement Request bug 6671512 requesting that the displayed value of an LOV be exported rather than the index value.
    Suggestion: You could try to use the desktop integration package (adfi) instead, see adfi forum http://myforums.oracle.com/jive3/forum.jspa?forumID=1566.
    If what I have stated does not appear to be relevant in this situation , then please ignore.
    Hope it helps.

  • Use af:exportCollectionActionListener to download not all the columns

    Hi to all
    As i say in the tilte of this thread, how can i export only some column of a table?
    Can i exclude some column from the export?
    Thank you very much.

    AFAIK, you cannot.. you can do it for the rows using
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_exportCollectionActionListener.html
    exportedRows - the rows to include in the export. Allowable values are 'all' (the default) and 'selected'. Can only be set to 'selected' if the underlying collection supports the operation.

  • 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

  • Reg: Exporting the data into excel in ADF 11g application.

    Hi All,
    We have developed an application in ADF 11g which retrieves the data from database in the form of table. Now we have a requirement to export that data into an excel sheet.
    Can anyone please help us regarding this.
    Thanks,
    Harsha

    Hi Harsha,
    you can use <af:exportCollectionActionListener /> component to do that. Set the exportedId property to point to of the table. You have options to export all rows or only selected rows.
    <af:commandToolbarButton text="Export All Rows to Excel" immediate="true"
                                                   id="exportAll">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - All" exportedRows="all"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton text="Export Selected Rows to Excel" immediate="true"
                                            id="exportSelected">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - Selected Rows"
                                                      exportedRows="selected"/>
    </af:commandToolbarButton>Good Luck,
    Luc Bors

  • How can we export table data to a CSV file??

    Hi,
    I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
    Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
    Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
    For youre reference here is the code which i have used to export the table data..
    ><f:facet name="menus">
    ><af:menu text="Menu" id="m1">
    ><af:commandMenuItem text="Print" id="cmi1">
    ><af:exportCollectionActionListener exportedId="t1"
    >title="CommunicationDistributionList"
    >filename="CommunicationDistributionList"
    >type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
    ></af:commandMenuItem>
    ></af:menu>
    ></f:facet>
    Thanks & Regards,
    Kiran Konjeti

    Hi Alex,
    I have already visited that POST and it works only in 10g. Not in 11g.
    I got the solution for this. The solution is :
    Use the following code in jsff
    ==================
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    OR
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    And place this code in ManagedBean
    ======================
    > public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
    > DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    >DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
    >tableRows = itrBinding.getAllRowsInRange();
    preparaing column headers
    >PrintWriter out = new PrintWriter(outputStream);
    >out.print(" ID");
    >out.print(",");
    >out.print("Name");
    >out.print(",");
    >out.print("Designation");
    >out.print(",");
    >out.print("Salary");
    >out.println();
    preparing column data
    > for(Row row : tableRows){
    >DCDataRow dataRow = (DCDataRow)row;
    > DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
    >out.print(dto.getId());
    >out.print(",");
    >out.print(dto.getName());
    >out.print(",");
    >out.print(dto.getDesgntn());
    >out.print(",");
    >out.print(dto.getSalary());
    >out.println();
    >}
    >out.flush();
    >out.close();
    > }
    And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
    ==================================================================
    http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
    This resolves implementation of exporting table data to CSV file in 11g.
    Thanks & Regards,
    Kiran Konjeti

  • Not able to export all table data to excel

    Hi All,
    I am using jdev 11.1.1.4.0
    I want to export all my table data to a excel file.
    I used ADF inbuilt <af:exportCollectionActionListener/> to do the same.
    Also, I have pagination on my JSPX.
    When I click on export button to export the data, it exports current records in the page not all the records.
    For instance, I have 100 records in my table and I am displaying 20 records per page.
    When I click on export to excel image, it exports current 20 records instead of exporting all 100 records.
    Please tell me how to export all the records to the excel.
    Sample code,
    <af:exportCollectionActionListener exportedId="t1" type="excelHTML"/>t1 is id of my table from which I want to export the data.
    also, I have tried exportedRows="all" - but it doesn't work!!!!
    Appreciate your help.
    Thanks and Regards,
    Madhav K.

    Hi Arunkumar,
    thanks for your reply.
    Yes, it works....
    But I don't want to do the same in such way.
    Because almost every page I have export to excel functionality.
    So if follow this way then I have extra table on every page. I don't want this in my application.
    Is there any other way???
    Thanks and Regards,
    Madhav K.

Maybe you are looking for

  • DSP delay between AI to AO

    LV 7.1.1 Embedded & DSP 1.0 & DSK6711 Hi All, I am using LabVIEW DSP (without ever learning LabVIEW) so this may be a simple one: I have a VI which reads an analogue input and sends it to an analogue output with a While loop around it. Nothing else i

  • Retina

    Hey Folks, I have Windows 7 64 bit installed in Bootcamp on a late 2013 MacBook Pro (Retina).   I installed the Bootcamp support drivers version 5.1.5640. I am not seeing resolution options for Retina and the change resolution page shows: Display:  G

  • Using FROM clause query in block

    I have a block using a FROM clause query instead of a table. I have two items in the block that correspond to the select statement. Here's the SQL statement I've entered: SELECT BEZEICHNUNG, ZEIT_TYP_NR FROM ZEIT_TYPE WHERE ZEIT_TYP_NR IN (SELECT ZEI

  • How can I erase the VAT number from an Adobe account?

    I don't want to buy the adobe product as a company, but as an individual. You can erase the company name but the VAT is still there and I don't know how to erase it. Thank you!

  • Will windows XP support Adobe PDFMaker 1.0 for Microsoft Word 97 (Final)?  Windows 7 home doesn't.

    will windows XP support Adobe PDFMaker 1.0 for Microsoft Word 97 (Final)?  Windows 7 home doesn't and current Adobe programs pdf my 99 page Word 97 doc into a 108 page pdf.  I need the PDF to be the same page count