Displaying a specific record in another .jspx form using ADF

I have created a simple form (master/detail) which displays depts and emps working in the selected depts....(schema: SCOTT Dept - Emp).
I want to create a command button in this form in which the record selected - via a radio button - it can pass its data to another .jspx file for modification.
The problem is that only the first record of the view object is displayed only....in other words there is no synchronization...!!
This view object has been defined as follows:
select * from empTo accomplish the requirement....:
In the first form
I created a command button and an action listener(inside it) .
In the SetActionListener properties , i've set:
   From:#{bindings.Empno.rowKeyStr}
   To    :#{requestScope.rowKeyStr}
In the second form
-I 've selected the "Insert inside bindings > action".
-I 've expanded the DataControl of the window and select the view object of EmpAll - its sql query has been written above.
-In the Action drop-down list, I've selected the setCurrentRowWithKey.
-In the Parameters area, I've set the Value property to
#{requestScope.requestRowKey}
-I've added an executable binding afterwards , in the "Insert before... respective Iterator" .
- In the Insert invokeAction dialog , i've set:
ID to setRequestToView
        Binds to the setCurrentRowWithKey  (select form drop-down list)In the Advanced Properties tab , i've set:
Refresh property to prepareModel
         RefreshCondition to #{adfFacesContext.postback == false}   <----(i've taken it from the tutorial...Is
this correct in this situation...???)What may i have done wrong....?????
Note: I use JDev 10.1.3.2...
Thanks...
Sim

I have found the solution...
The cause was that whereas i passed the value to the rowKeyStr property , i used the property #{requestScope.requestRowKey} instead of
#{requestScope.requestRowKeyStr}....
What is the difference between the two...(rowKeyStr , RowKey)???
Thanks....
Sim

Similar Messages

  • Displaying all the records in a tabular form on a single page

    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.
    Some help will be much appreciated.
    Regards
    Leckraj

    leckj wrote:
    Hello,
    After setting up a data entry page, I have hit an unexpected problem.
    The logic in my page requires that all the records in my tabular form should be displayed .
    The tabular form is based on a collection, and the user selects rows through a checkbox.
    Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
    based on the previous page.
    I need to display about 25 rows.
    I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
    i.e. 11 rows.
    Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
    as I expected APEX to display all rows if required.Pagination settings are cached for the duration of the session. For this change to be instantly visible, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.

  • How can I update specific records in a tabular form

    I have a form with two blocks. One is a "simple form" and the other block is "tabular".
    In the "tabular form" I have some data (codigo, descripcion, importe)
    I want to update the item "importe" acording to specific values given in the "simple form". What I don4t know how to do is tell the form which record I want to update.
    Hope to be clear.
    Versnica

    Versnica,
    as i understood u got two blocks and u need to update that record in second block which value matches to block one .
    eg
    u can "A" item in values "Value1" in block 1 and there is record in block two with item "B" has same value "Value1". then u can use
    procedures like NAME_IN(<<item A>>) = NAME_IN(<<item B>>) then update the record in second block .
    see whether it helps for not ? otherwise u can send me forms on [email protected] so that i can have a look .

  • How can I print a form using ADF JHeadstart

    Hi
    I'm developing an application and I need to generate an option that lets the user print the actual page, the table form on it, without any links or botons. Is there any option in JHeadstart that let me generate it? or, What can I do?

    There is no specific support in JHeadstart for creating printable pages. You can try to apply the suggestions by Frank Nimphius as described in this JHeadstart forum thread: http://forums.oracle.com/forums/thread.jspa?forumID=38&threadID=607348
    I have logged an enhancement request for JHeadstart for printable page support.
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Extending EBS 12 Forms using ADF (NO CUSTOMIZATION)

    We want to execute some custom logic in Oracle EBS R12. One option is use to CUSTOM.PLL. However, we were told that gradually Oracle forms are moving towards ADF. Does ADF offer better architecture in incorporating custom business logic? Based on the quick read of ADF guide, I came across Business Component layer and find it promising. Wondering if ADF does the trick and enables users to extend Oracle Forms without customizing them.
    Remember, we don't want to customize the application.
    Thanks!
    PS. We have looked into business events, BPEL and the whole nine yards. They are not options at this time.

    What does it mean when Oracle says that Oracle Forms are moving to ADF forms?Oracle is not saying that Forms is moving to ADF, what we are saying is that the Fusion generation of applications are going to be developed with ADF instead of Forms.
    I look at ADF as an architecture available in JDeveloper to build forms. Isn't that the case?ADF is a framework based on the MVC architecture that is uses to build applications. Those are Java applications and not FMB/FMX files.
    how would you perform say some form customizations if customers are interested in changing the Oracle provided forms in EBS?I would use Oracle Forms for that - this is the only tool that can open and modify fmb files.

  • PE51 - How to display a custom result in a PE51 forms?

    Hi experts,
    I want to display the result of a specific Module Function in a PE51 form (payslip).
    The module function returns a table with a proper contain for each employee / period.
    I don't know the size of the table (number of lines) for each employee, and data may change.
    For example 2 pieces of payslip from 2 employees :
    Name : Mr Smith
    Entry 1 | Good Father
    Name : Mr John
    Entry 1 | Tall
    Entry 2 | Funny Guy
    Please, could you help me to find a standard friendly solution?
    I imagine I have to use a window with a specific line and so on but I don't know "where" to insert the module function call and which table I have to fill.

    Do you think it's impossible to display a specific table in a PE51 form respecting the standard?

  • ADOBE Form Using Table with dynamic number of rows

    Hi All
    First some information about our infrastructure:
    - AdobeDesigner 7.1 in the Developerstudio
    - SAP-Portal 7.0 SP15
    I have a View with tabstrips and behind the tabs i have defined an event. On one Tab I included a ADOBE-Form with Table. The Data for the PDF sould only filled in the context for the Form when i jump to this Tab. I created the Form by using this documentation [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669].
    To fill the tablecontext I use the following Code:
    IPrivateAnlegenBANFView.IPositionenElement position = null;
    IPrivateAnlegenBANFView.IPositionenNode posNode = wdContext.nodePositionen();
    int NUM_5_TIMES = 5;
    for (int i = 0; i < NUM_5_TIMES; i) {
    IPrivateAnlegenBANFView.IPositionenElement posElement = wdContext.createPositionenElement();
    +posElement.setMaterial("" + i);+
    +posElement.setKurztext("Test" + i);+
    +posElement.setWarengruppe("Warengr" + i);+
    posNode.addElement(posElement);
    If i put this code in the wdDoInit method it  works fine and shows me 5 Rows. But if I put the code in the Action of the tabstrip it shows me only one row. I checked the entries of the context and there are 5 entries (showed them in a WD-Table).
    Can someone tell me what im doing wrong?
    Thanks for a answer and kind regards
    Pascal

    Hi All
    finally i found the solution for the problem.
    When you define the interactive Form in the view do not define the property "dataSource" of UI-Element Interactive Form it seems, that the binding is static and not dynamic.
    Add the following source to the viewCotroller
    Global Part of the Source:
    private static IWDInteractiveForm form = null;
    Method wdDoModify:
    if (firstTime) {
      form = (IWDInteractiveForm) view.getElement("InteractiveForm");
    When you have an Event where you fill your Contextnode which you want to display in the table of an Adobe Form Use this code:
    Action:
    public void onActionFillTab(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent ){
      //@@begin onActionFillTab(ServerEvent)
         * Code to fill the Node for AdobeForm Table
        form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
      //@@end
    If you want to clear your table and show it directly use in the action the following code:
    wdContext.nodeTabelle().invalidate();
    form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
    Kind regards
    pascal

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • How to display/navigate to specific record in a table with more then thousand records

    Hi,
    there is a task that I do not know how can be resolved.
    There is a query that returns around 1 - 2 thousand records. And all those records have corresponding weight assigned.
    After query executing it is necessary to navigate to the records with the highest weight assigned. It can be first record, it can be a record at the end or in the middle of the row set from thousand records.
    I have used "DisplayRow"=selected or the code below, but it does not work properly ... when the record that we navigate is in the middle of record set from 2000 records, then users have to scroll down to it.
    And I need to position to that specific record after query is executed.
    So I used the code below:
    public void onButtonClicked(ActionEvent actionEvent) {
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterator = bc.findIteratorBinding("ViewVIIterator");
            Row row = iterator.getCurrentRow();
            String bestPosition = (String)row.getAttribute("BestPosition");
            iterator = bc.findIteratorBinding("DetaillVIIterator");
            ViewObject vo = iterator.getViewObject();
            vo.setWhereClause(some_conditions);
            vo.executeQuery();
            RowSetIterator rowSet = iterator.getRowSetIterator();
            Key key = null;
            while (rowSet.hasNext()) {
                row = rowSet.next();
                if (row != null && ((String)row.getAttribute("weight")).equals(bestPosition)) {
                    key = row.getKey();
                    Key rowKey = row.getKey();
                    ArrayList tableRowKey = new ArrayList();
                    tableRowKey.add(rowKey);
                    this.getRangeTable().setScrollTopRowKey(tableRowKey);
                    break;
    After the code above I getting the row selected or set as a current, but in case of 2000 records, when my record is in the middle of this record set, I need to scroll down to this record to see it.
    And I wanted that I will be navigated to my record with records above and below.
    What am I doing wrong above?
    Thanks
    Alexander

    Hi Timo!
    thanks for the reply.
    version info:
    Oracle JDeveloper 11g Release 2 11.1.2.3.0
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    IDE Version: 11.1.2.3.39.62.76.1
    Product Version: 11.1.2.3.39.62.76.1
    1. sorting order is already applied and we to position to a specific record in af:table.
    From another side the task can rephrased: I need to position to a specific record and I need to be able to show 500 records before and 500 records after.
    So where clause can be like:
    :bestPosition > position - 500 and :bestPosition < position +500.
    2. I tried to apply your second approach and found that record is selected, but I need to scroll to it down. It happens when first 20 records are displayed in af:table and my record is 480 records below ...
    Alexander

  • Forms builder- only displays records created in the form builder?

    Hi there. I am new to Oracle and forms builder. I just have a query. I have created a form and when I run the form, it doesnt display the data out of my database. I can add a new record using the form and it will add it to my database:
    >
    STUDENTI FIRSTNAME LASTNAME GENDER DOB
    ADDRESS SUBURB PHONE
    20737785 Lock McIntyre Male 28-DEC-88
    384 Waterfall Gully Rosebud 0359811618
    20784939 Tim Carley F 20-FEB-89
    20 Armstrong Rd McCrae 0359811310
    20837785 LAchlan McIntyre M 28-DEC-09
    Hello Hell 5981131803
    >
    But it will only display the records that I have added using the form. Example, the first two records above were already in the database. I couldnt view them ith the form, but then I added the bottom record and I could only view that record in the form, but not the others.
    Any ideas why? I think I just dont know how to use the forms builder properly. Many thanks

    Forms starts with an empty screen(no records), only when you execute a query, the records are retrieved from the database.
    This can be done by executing the "execute_query" command.
    This can be done by pushing the button in the toolbaar, choosing the menu item, hitting the function key.
    But it can also be done programmatically in forms code(in a trigger).
    I hope this helps...

  • Need some more fields displayed in record history of oracle forms

    Hi ,
    I am using oracle forms 6.0.8.8.0 . My requirement is to display PROGRAM_ID , PROGRAM_APPLICATION_ID , PROGRAM_UPDATE_DATE , REQUEST_ID in the record history of the forms along with CREATION DATE , CREATED BY , LAST UPDATE DATE , LAST UPDATE LOGIN , TABLE which are already being displayed .
    Please help .

    Actually when the record history is to be brought , we need to make it database fields or write code to post query . So I think I can get a solution in this forum as we need to make changes in form only in order to show in record history .

  • How to get value of process variable in another flex form

    Hi,
    currently we are using Flex 3 for form development in LiveCycle ES workspace.
    We have got an "Assign Task" service operation. This service operation has got a process variable defined for "input" and "output".
    The service will be called in a flex form. When the process is called a task will be sent to a user.
    When the user opens this task another flex form will be opened. All these steps work fine!
    How it's possible to get the value of the defined process variable from the first flex form (which starts the process)
    to the flex form which will be displayed when the user opens the task?
    Thanks very much for your help!
    Holger

    Solutions:
    -The 'proper' way for application specific stuff is to use a properties file, not env vars.
    -Use System.getenv(), only works for versions before 1.3
    -Use the java command line option '-D'
    -Use Runtime.exec(), similar to the way you suggested.
    -Use JNI.

  • How to retrive one table records into another table by multiple records

    how to retrive table X records into another table Y by multiple records (means at once i want display 10 records) in form 6i .
    when i am written cursor it is ftching only one record.But i want to display all records at once.
    Declare
    Cursor cur_name is
    select PROTOCOL_NO,DOCNUM,SUBSETSN,REPEATSN,AESEQ,AETERM from coding_ae WHERE PROTOCOL_NO='KP229';
    Begin
    open cur_name;
    loop
    fetch cur_name into :PROTOCOL_NO,:DOCNUM,:SUBSETSN,:REPEATSN,:AESEQ,:AETERM;
    exit when cur_name%notfound;
    next_record;
    end loop;
    close cur_name;
    End;

    Hi,
    Make sure the cursor is in the detailed block. For that use 8GO_BLOCK* built-in. So the code will be
    Declare
    Cursor cur_name is
    select PROTOCOL_NO,DOCNUM,SUBSETSN,REPEATSN,AESEQ,AETERM from coding_ae;
    Begin
    GO_BLOCK('<detailed_block_name>');
    open cur_name;
    loop
    fetch cur_name into :PROTOCOL_NO,:DOCNUM,:SUBSETSN,:REPEATSN,:AESEQ,:AETERM;
    exit when cur_name%notfound;
    next_record;
    end loop;
    close cur_name;
    End;Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Oracle ADF - First record is shown on form no matter which record is edited

    Hi,
    I am using ADF application for development with J Developer version 11.1.1.4.0
    in my project i am having screens(pages) which contain table with form and we are displaying data from that table
    on form using partial Triggers. when i am going to edit records except fist record the record doesn't show on form
    by default it is showing first record . it should display that particular selected records in in that form.
    Plz suggest a solution for the same.
    Thanks,
    vinod

    Hi
    see the source 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:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:PGN="/PaginationDefLib">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1"
    title="#{finiqwebappuiBundle['TreasuryDepartmentSetup.scrTitle']}">
    <af:form id="f1">
    <af:pageTemplate viewId="/WEB-INF/templates/FinIqWebAppTemplate.jspx"
    id="pt1">
    <f:facet name="center">
    <af:group id="g1">
    <af:outputLabel id="ol1" styleClass="AFHeaderLevelOne"
    value="#{finiqwebappuiBundle['TreasuryDepartmentSetup.scrTitle']}"/>
    <af:panelGroupLayout id="pgl1">
    <af:panelHeader text=" " id="ph1" styleClass="AFStretchWidth">
    <af:messages id="m1" inline="true"/>
    <af:outputText id="otDisplayMsg"
    binding="#{TreasuryDepartmentSetupBean.otDisplayMsg}"
    inlineStyle="color:Red;" visible="false"
    partialTriggers="saveButton"/>
    </af:panelHeader>
    <af:panelGroupLayout id="pgl3" layout="vertical"
    inlineStyle="width:570px; border-color:Silver; border-style:solid; border-width:thin;">
    <af:panelGroupLayout id="pgl9" layout="vertical"
    inlineStyle="border-style:none;"
    partialTriggers="t1" halign="left">
    <af:panelGroupLayout id="pgl5" layout="horizontal">
    <af:panelFormLayout id="pfl2"
    inlineStyle="width:280px; border-style:none;"
    labelAlignment="start">
    <af:selectOneChoice label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.entityName']}"
    valueChangeListener="#{TreasuryDepartmentSetupBean.changeValue}"
    binding="#{TreasuryDepartmentSetupBean.entityId}"
    autoSubmit="true" id="soc1">
    <af:forEach var="item"
    items="#{sessionScope.FINIQGV.loginMappedEntities}">
    <af:selectItem label="#{item.entityName}"
    value="#{item.entityId}" id="sil1"/>
    </af:forEach>
    </af:selectOneChoice>
    <af:inputText value="bindings.TBDBookId.inputValue"
    label="Label 6" id="itBookId"
    visible="false">
    <f:validator binding="#{bindings.TBDBookId.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.BookName.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchName']}"
    maximumLength="#{bindings.BookName.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itBookName}"
    id="itBookName" autoSubmit="false"
    disabled="true" required="true"
    requiredMessageDetail="#{finiqwebappuiBundle['TreasuryDepartmentSetup.msgBookNameReq']}">
    <f:validator binding="#{bindings.BookName.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.BookCode.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchCode']}"
    maximumLength="#{bindings.BookCode.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itBranchCode}"
    id="itBranchCode" disabled="true"
    required="true"
    requiredMessageDetail="#{finiqwebappuiBundle['TreasuryDepartmentSetup.msgBookCodeReq']}">
    <f:validator binding="#{bindings.BookCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.TBDMisc1.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc1']}"
    maximumLength="#{bindings.TBDMisc1.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc1}"
    id="itMisc1" disabled="true"/>
    </af:panelFormLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:panelFormLayout id="pfl3" labelAlignment="start"
    inlineStyle="width:270px; border-style:none;">
    <af:inputText value="#{bindings.TBDMisc2.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc2']}"
    maximumLength="#{bindings.TBDMisc2.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc2}"
    id="itMisc2" disabled="true">
    <f:validator binding="#{bindings.TBDMisc2.validator}"/>
    </af:inputText>
    <af:selectOneChoice label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.activation']}"
    binding="#{TreasuryDepartmentSetupBean.socTBDDeactivate}"
    id="socTBDDeactivate"
    value="#{bindings.TBDDeactivate.inputValue}"
    disabled="true">
    <af:selectItem label="Yes" value="0" id="si1"/>
    <af:selectItem label="No" value="1" id="si2"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.TBDMisc3.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc3']}"
    maximumLength="#{bindings.TBDMisc3.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc3}"
    id="itMisc3" disabled="true"/>
    <af:inputText value="#{bindings.TBDMisc4.inputValue}"
    label="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc4']}"
    maximumLength="#{bindings.TBDMisc4.hints.precision}"
    binding="#{TreasuryDepartmentSetupBean.itMisc4}"
    id="itMisc4" disabled="true"/>
    <af:inputText value="#{bindings.TBDBookEntityId.inputValue}"
    label="#{bindings.TBDBookEntityId.hints.label}"
    id="TBDBookEntityId" visible="false"
    binding="#{TreasuryDepartmentSetupBean.tbdBookEntityid}"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s5"/>
    <af:panelGroupLayout id="pgl4">
    <af:spacer width="10" height="10" id="s4"/>
    <af:commandButton id="addButton"
    binding="#{TreasuryDepartmentSetupBean.addButton}"
    action="#{TreasuryDepartmentSetupBean.newAction}"
    text="#{finiqwebappuiBundle['Common.addButton']}"></af:commandButton>
    <af:commandButton id="editButton"
    action="#{TreasuryDepartmentSetupBean.editAction}"
    binding="#{TreasuryDepartmentSetupBean.editButton}"
    text="#{finiqwebappuiBundle['Common.editButton']}"></af:commandButton>
    <af:commandButton text="#{finiqwebappuiBundle['Common.saveButton']}"
    disabled="true" id="saveButton"
    binding="#{TreasuryDepartmentSetupBean.saveButton}"
    action="#{TreasuryDepartmentSetupBean.saveAction}"></af:commandButton>
    <af:commandButton disabled="#{!bindings.Rollback.enabled}"
    id="cancelButton"
    binding="#{TreasuryDepartmentSetupBean.cancelButton}"
    text="#{finiqwebappuiBundle['Common.cancelButton']}"
    actionListener="#{bindings.Rollback.execute}"
    immediate="true"
    action="#{TreasuryDepartmentSetupBean.cancelAction}"></af:commandButton>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s2"/>
    <af:panelGroupLayout layout="vertical" id="pgl6">
    <af:panelGroupLayout id="pgl2" layout="horizontal"
    valign="bottom"
    inlineStyle="width:230px;">
    <af:quickQuery label=" " id="qryId1" searchDesc=" "
    value="#{bindings.TreasuryDepartmentVO1Query.quickQueryDescriptor}"
    model="#{bindings.TreasuryDepartmentVO1Query.queryModel}"
    queryListener="#{bindings.TreasuryDepartmentVO1Query.processQuery}"
    layout="vertical">
    <f:facet name="end">
    <af:group id="g3">
    <af:commandLink text="Advanced" rendered="false"
    id="cl1"/>
    </af:group>
    </f:facet>
    </af:quickQuery>
    <af:commandImageLink id="ex1" icon="/images/excel_j.jpeg"
    shortDesc="#{finiqwebappuiBundle['Common.exportButton']}"
    partialTriggers="qryId1 "
    visible="#{bindings.TreasuryDepartmentVO1Iterator.estimatedRowCount ne '0' ? 'true':'false'}"
    partialSubmit="true">
    <af:exportCollectionActionListener exportedId="t1"
    type="excelHTML"/>
    </af:commandImageLink>
    </af:panelGroupLayout>
    <af:table columnStretching="last"
    summary="Treasury Departments"
    value="#{bindings.TreasuryDepartmentVO1.rangeSet}"
    var="row"
    rows="#{bindings.TreasuryDepartmentVO1.rangeSize}"
    fetchSize="#{sessionScope.FINIQGV.displayRecordCount}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.TreasuryDepartmentVO1.collectionModel.selectedRow}"
    selectionListener="#{backingBeanScope.PaginationDefBean.rowSelected}"
    rowSelection="single"
    partialTriggers="::soc1 ::qryId1 ::ex1 ::pd1"
    binding="#{TreasuryDepartmentSetupBean.bookTable}"
    id="t1" inlineStyle="height:220.0px;" width="881">
    <f:attribute name="VOObject" value="TreasuryDepartmentVO1"/>
    <af:column rowHeader="unstyled" sortProperty="BookCode"
    sortable="true" align="left"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchCode']}(#{bindings.TreasuryDepartmentVO1.estimatedRowCount})"
    id="c8">
    <af:outputText value="#{row.BookCode}" id="ot10"/>
    </af:column>
    <af:column sortProperty="TBDBookId" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchId']}"
    id="c2">
    <af:outputText value="#{row.TBDBookId}" id="ot8"/>
    </af:column>
    <af:column sortProperty="BookName" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.branchName']}"
    id="c3">
    <af:outputText value="#{row.BookName}" id="ot1"/>
    </af:column>
    <af:column sortProperty="TBDMisc1" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc1']}"
    id="c10" width="50">
    <af:outputText value="#{row.TBDMisc1}" id="ot3"/>
    </af:column>
    <af:column sortProperty="TBDDeactivateForDisplay"
    sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.activation']}"
    id="c9">
    <af:outputText value="#{row.TBDDeactivateForDisplay}"
    id="ot4"/>
    </af:column>
    <af:column sortProperty="TBDMisc2" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc2']}"
    id="c7">
    <af:outputText value="#{row.TBDMisc2}" id="ot11"/>
    </af:column>
    <af:column sortProperty="TBDMisc3" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc3']}"
    id="c5">
    <af:outputText value="#{row.TBDMisc3}" id="ot7"/>
    </af:column>
    <af:column sortProperty="TBDMisc4" sortable="true"
    headerText="#{finiqwebappuiBundle['TreasuryDepartmentSetup.misc4']}"
    id="c4">
    <af:outputText value="#{row.TBDMisc4}" id="ot5"/>
    </af:column>
    </af:table>
    <af:panelGroupLayout id="dcpanel" layout="horizontal">
    <af:panelGroupLayout id="paginationDC" layout="horizontal"
    partialTriggers="qryId1 t1"
    visible="#{bindings.TreasuryDepartmentVO1.estimatedRowCount > '10' ? 'true':'false'}">
    <PGN:PaginationDef First="First" Last="Last"
    Iterator="TreasuryDepartmentVO1Iterator"
    VOObject="TreasuryDepartmentVO1"
    NextSet="NextSet"
    PreviousSet="PreviousSet" id="pd1"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:group>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Download specific record/columns to Excel

    Is there anyway to download only specific columns or records from a HTMLDB form/report to Excel. The user would need to indicate which records/columns to download.

    Hi Bob,
    to restrict records, just implement a search for the report, to restrict columns just implement checkboxes to view / hide columns of the report by the end user. To do so:
    1. Create Ceckbox e. g. P1_COLUMNS with LOV: STATIC2:Field 1;FIELD1,Field 2;FIELD22. In the Attributes of the Field 1 in Conditional Display, Condition Type: PL/SQL Expression, Expression 1:
    instr(:P1_COLUMNS, 'FIELD1') > 03. Do Step 2. for all other Columns of the report
    4. Optional a Check all / Uncheck All Button which invokes Processes:
    Process Check All, PL/SQL anonymous block:
    :P1_COLUMNS := 'FIELD1:FIELD2:';Process Uncheck All, PL/SQL anonymous block:
    :P1_COLUMNS := '';Regards, Juergen

Maybe you are looking for