Pagination using table growing property and multi-select table issues

Hi,
We're using the growing property on a table, thus the pagination is handled by the control it self.
However, if we want to update some item in the table, in order to get those details reflected, we're refreshing the model, which is performance intensive.
Is there any way we can update the UI only without creating any UI inconsistencies?
Another question is that, is there any way to disbale the checkbox on the table items, based on some property from the backend. we tried to use editable property, but it hides the entire row.
We need to disable the checkbox on the rows for particular items?
Also, I need to know any resources on the mobile library where I can find the CSS related documentaion.
Like we need to create a icon + text structure, which controls should be ideal to use? I have used
<HBox><Icon src="abc"/><Text text="abc"/></Hbox>, but it creates alignment issues. Any ideas here?
Thanks!
Aamir

855354 wrote:
We are implementing pagination in our application and comparing the scrollable result set approach with using ROWNUM provided by oracle.The rownum approach scales better.
Does this literrally mean that Oracle stores all the records in client-side memory cache? Well if it is scrollable it has to store all the rows somewhere, that is the disadvantage.
Can we use fetchSize attribute or any other work around to limit the number of records in client-side memory?No. If you want that behavior that is how the rownum approach works.
In the above case, when MAX_ROW_TO_FETCH is a large number (say 50000), then oracle will have to create a temporary table in memory with all the 50000 records and then will fetch from that table required records as per MIN_ROW_TO_FETCH.No, that is not how it works, where did you read that?
In this case, reading rest of the records and storing in temporary in memory table will impact performance. Is my understanding correct or i am missing something here?Your understanding is not correct. The rownum approach does not work the way you think and behaves more like the way you want the scrollable result set to work.

Similar Messages

  • How to Change default text in Multi-Selection Table Bar

    Hi,
    I would like to change the default text "Select Object" on the Multi-selection Table Bar.
    I tried adding the following in my resultsCO but I'm getting errors:
    tableBean.setTableSelectionText("<newText>");
    Error(25,34): invalid method declaration; return type required
    Error(25,35): illegal start of type
    Error(25,3): missing method body, or declare as abstract
    What am I missing?
    Thanks much.

    I got it to work with the following:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table = (OATableBean)webBean;
    // Set the install-base specific "control bar" select text:
    // "Select Item(s)…"
    table.setTableSelectionText("Select Item(s)...");
    }

  • ALV display using dynamic field catalog and dynamic internal table

    hi ,
    please guide me for ALV display using dynamic field catalog and dynamic internal table.
    Thank you.

    Hi Rahul,
    maybe thread dynamic program for alv is helpful for you. More information about the [SAP List Viewer (ALV)|http://help.sap.com/saphelp_nw70/helpdata/EN/5e/88d440e14f8431e10000000a1550b0/frameset.htm]. Also have a look into the example programs SALV_DEMO_TABLE*.
    Regards Rudi

  • Make Record for folder and multi-selected files

    Hi,
    'Make Record' item disappeared in MENU for folders not for files.
    And it can't make record for multi-selected files.
    I can only make Record by one and one.
    How to make Records for folder and multi-selected files?
    Regards
    Kitae

    Programatically, only a single document at a time can be made a record :-
    makeRecord
    public Item makeRecord(long parentId,
    long docId,
    NamedValue[] attrs,
    AttributeRequest[] attributes)
    throws FdkException
    You could potentially through a custom workflow triggered on UserRequest allow multiple submitted documents to be made records through a custom BPEL process calling Content DB Web Services.
    Matt.

  • Prompts and Multi-Select Picklists

    Hi all,
    I'm trying to find a neat way of prompting and doing a "contains any" filter a report i have on a multi select picklist within accounts.
    e.g. Field can have values A, B, C
    Account 1: A
    Account 2: A, B
    Account 3: B, C
    Account 4: A, C
    Account 5: A, B
    I wanted a report to give me anything with A or C in it... should bring back 1,3,4,5
    I used a dashboard prompt as i like the look of the Multi-Select box used. The problem used was that when i first ran it the options I was given were:
    A
    A,B
    B,C
    A,C
    Basically listing the different combinations possible... but i just want the list to say A, B,C. So i tried to put this SQL query on the values:
    +'SELECT "- Custom MSP_1 (Account)".MSPICK_01 FROM "Account Analysis" WHERE "- Custom MSP_1 (Account)".MSPICK_01 NOT LIKE '%,%' '+
    The problem is that it (correctly) only bring back the values that occur on their own... so only "A"!
    Any way for me have it pull back just the values defined in the picklist under app customisation?
    Feel like i rambled on but hopefully it makes sense!
    Thanks,
    Alex

    I can see what you are trying to get at, but I wonder if it will work.
    Even if you somehow get A,B,C as individual values in the prompt then how is it going to filter the report.
    Lets say on the dashboard prompt you select B then as per your example your report should show Account 2,3,5.
    But it wont because the field that you have used in your report doesn't contain B as a standalone. The values that it contain say A,B or B,C is one string or one entity.
    So the multi-select prompt based on that field is going to show the values contained in that field which is what you are initially getting.
    You will have to do something in the report itself to break it down so that you get A,B,C as single entity.
    I have a vague idea but I wonder if it works. You can still try though :)
    Assuming your report is a single criteria report, pull any field and edit its Fx as follows:
    CASE WHEN - Custom MSP_1 (Account)".MSPICK_01 LIKE '%A%' THEN 'A' WHEN - Custom MSP_1 (Account)".MSPICK_01 LIKE '%B%' THEN 'B' WHEN ... ELSE NULL END
    Assuming here that you only have values like A,B,C.
    So what I am hoping is that the custom field that we created will have values like A,B,C as separate entities and in the table view for your example we will have 9 rows.
    Account MSPICK Custom Field
    Acc 1 A A
    Acc 2 A,B A
    Acc 2 A,B B
    Acc 3 B,C B
    Acc 3 B,C C
    and so on
    Finally in your prompt design, take any field and modify its Fx like the CASE WHEN condition described above and that should give you A,B,C as you want it.
    Also you may hide the custom field in your final report.

  • Form bean with int property and netui:select tag

    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to get
    this working by creating a database control, which returns an array of a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean. I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there a
    way to prevent it from sticking in a default value like that? Or do I
    have to just leave it as a String in the form bean to get it to work the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

    wrt your 2nd problem, in the jpf, for the form bean, are you declaring your id
    like this:
    private int id;
    if so, try declaring it w/ a valid value, like:
    private int id = 1;
    -tanya
    Joe Robins <[email protected]> wrote:
    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the
    data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to
    get
    this working by creating a database control, which returns an array of
    a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in
    the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do
    it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean.
    I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there
    a
    way to prevent it from sticking in a default value like that? Or do
    I
    have to just leave it as a String in the form bean to get it to work
    the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

  • Assessment Scripts and Multi Select Picklists

    Hi
    Is it possible for a question within an assessment script to have more than one answer and therefore update a Multi-Select picklist?
    We have a script that would be ideal for an assessment script but there are a number of questions within the script that would require multiple answers - any help or suggestions appreciated
    Cheers

    The assessment functionality only allows one answer per question to be stored in the Lead, Contact, Opportunity or Service Request object.

  • Combo Prompt Design (with Drop down and Multi-select prompts)

    Hi folks,
    I have the following prompt design requirement in OBIEE dashboard:
    PromptA: should be a drop-down prompt
    PromptB: should be a multi-select prompt
    PromptB should list the values contained in either of two dimensions (lets say: Product Names and Product Group Names ). Lets define Product Names to be the names of individual products, while the Product Group Names is the names of a predefined collection of certain products.
    The string values that should appear in the PromptA then are: Product Names and Product Group Names. Consequent to the selection made in PromptA, values from one of these two dimensions should be dynamically displayed in PromptB. That is, if Product Names is selected from PromptA, then all product names from the Product Names dimension should be listed in PromptB. And if Product Group Names is selected from PromptA, then all product group names from the Product Group Names dimension should be listed in PromptB.
    Can anyone tell me how do I relate the above two prompts and have my reports to work accordingly?
    regards,
    Mahendra
    Edited by: Mahendra Varman on Jan 7, 2009 12:11 PM
    Edited by: Mahendra Varman on Jan 7, 2009 12:21 PM

    Hi
    For this you have to do two dashboard prompt
    In promptA:
    select one dummy column,
    In control dropdown list select dropdown
    In show dropdown list select SQL Results
    In sql results write the following query
    Select case when 1=0 then tabelname.column else 'Tablename.ProductNames' end from subjectarea name
    Union all
    Select case when 1=0 then tablename.column else 'Tablename.ProductGroupName' end from subject are name
    In set variable ->set presentation variable called var1
    Saved it as PromptA
    In PromptB:
    Select one dummy column in that column forumla write @{var1}
    but problem with this approach it shows two Go buttons for two prompts to avoide this create custom Go button
    for creating custom Go button see this link
    http://obiee101.blogspot.com/2008/11/obiee-how-to-replace-multiple-go-button.html
    Try this its not work let me know
    i tried for another solution
    Regards
    Naresh

  • OnSubmit and Multi-Select

    Hi all -
    I am going a little nuts here. I am trying to get the page to submit when a user click on an entry in the multi-select list. I was able to do so with onclick="javascript:doSubmit('LIST1')" in the element properties.
    I have an on-submit procedure which updates a collection when the request = LIST1. This works perfectly. I also have a Before Header procedure which creates/truncates the collection. Its supposed to just empty the collection on the first page view - I have the condition set to fire every time except when the request is LIST1.
    So after debugging, I found the request variable is not being carried through after submitting, and the before header process is truncating the collection. So I guess my curiosity got the better of me, and I'm wondering how the buttons work b/c when I mouse over them they say javascript:doSubmit('SOMETHING'). Any ideas on what I need to do different to get the request in the URL like the buttons?

    When your page is submitted with a certain value for REQUEST (either when you click a button or explicitly call doSubmit(<request> as you did), the value of REQUEST is available only for the duration of "accept processing" i.e. all the processing in the Page Processing column of your Page Definition.
    As the last step in accept processing, branches are evaluated and the first branch whose condition evaluates to true is taken and the flow engine redirects to the page specified by the branch. The value of REQUEST will be blank for this (new) show request.
    If you would like your REQUEST value to carry through to the subsequent page show, you can define a branch to conditionally fire when REQUEST=LIST1 and in that branch's definition, again pass in REQUEST=LIST1. Now this value of REQUEST will be visible to your Before Header process on the subsequent show request.
    Hope this helps.

  • Multi selecter prompt issue

    Hi All,
    **Below issue i faced in OBIEE 10.1.3.2** but
    In my Dashboard page i have created a Multiselecter Prompt and i have selected more than one values in prompt.
    While exporting the dashboard page into PDF format the PDF showing only one value from Prompt instead of all values.
    Example:
    i have COUNTRY Prompt(multi Selested Prompt).
    User selected two countries country1,country2 while exporting dashboard page into PDF format.
    PDf showing only one value.
    Thanks Advance

    Now, i got your question...
    I had the same issue, in my previous project... i found that issue is because of: some special character values it's containing.
    I written Logical SQL for prompt: (try these SQLs)
    SELECT DISTINCT Table.ColumnName FROM SubjectArea WHERE Table.ColumnName not null
    OR
    SELECT DISTINCT Table.ColumnName FROM SubjectArea WHERE Table.ColumnName not in (' ')

  • To find out the Table of Origin and Field in Table of Origin.

    Hi Experts,
    I am in the middle of completing someone else's documentation after a handover.
    Here are th columns that I need to update in the documentation:
    1) Field in Extraction Structure     2) Description of Field in the Extraction Structure 3) Table of Origin 4) Field in Table of Origin
    Most of them are already done. There are only four tables from which all these fields originate.
    Could you let me know how should I find out where a field has originated from.
    Thanks in Advance.
    Regards,
    Chandu.

    Hi,
    it will depend on the datasource: you'll to do the hereunder in the source system
    - if LO/LIS (2LIS....) you can goto LBWE, extract structure maintenance; in the filed selection screen you'll see e.g. "MCtttt ffffff text"; usually the tttt is the table and ffffff is the field. Cross check if the field is really in the table via SE11.
    - if generic, then goto RSO2 and then it will depend if it is a view/table/domain; double click on it or goto SE11; if infoset SQ01; if extract structure then you'll have to analyze the function module extractor ABAP code;
    - for others it will depend....
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Field Symbols and dinamicaly selecting tables

    I want to be able to select dinamicaly witch table to print.
    their structure is the very similar but not equal (the order of the elements change)
    so far im getting a "The data object "<WA_T>" has no structure and therefore no component ..." error
    how can give it a structure?
    FIELD-SYMBOLS: <t> TYPE STANDARD TABLE,
                       <wa_t> TYPE ANY.
        IF r1 = 'X'.
          ASSIGN ('TABI') TO <t>.
          ASSIGN ('WA_TABI') TO <wa_t>.
        ELSEIF r2 = 'X'.
          ASSIGN ('TABI2') TO <t>.
          ASSIGN ('WA_TABI2') TO <wa_t>.
        ELSEIF r3 = 'X'.
          ASSIGN ('TABI3') TO <t>.
          ASSIGN ('WA_TABI3') TO <wa_t>.
        ENDIF.
        LOOP AT <t> INTO <wa_t>.
          WRITE:/ <wa_t>-vkorg,
                  <wa_t>-name1,
                  <wa_t>-vbeln,
                  <wa_t>-audat,
                  <wa_t>-vbeln_d,
                  <wa_t>-wadat_ist,
                  <wa_t>-vbeln_b,
                  <wa_t>-fkdat,
                  <wa_t>-gbstk.
        ENDLOOP.
    Edited by: RagnaRock on Apr 8, 2010 12:18 PM

    The fields to be printed can not be directly referred in the field symbol. Use 'ASSIGN COMPONENT' statement to access the fileds.
    Modified the above program as per your requirements....
    FIELD-SYMBOLS: <t> TYPE STANDARD TABLE,
                                <wa_t> TYPE ANY,
                                <field> TYPE ANY.
    TYPES : BEGIN OF ty_tab,
             vbeln TYPE vbeln,
             erdat TYPE erdat,
            END OF ty_tab.
    DATA : tabi TYPE STANDARD TABLE OF ty_tab,
           wa_tabi TYPE ty_tab.
    SELECT vbeln erdat FROM vbak
      INTO TABLE tabi
      UP TO 10 ROWS.
    ASSIGN ('TABI') TO <t>.
    ASSIGN ('WA_TABI') TO <wa_t>.
    LOOP AT <t> ASSIGNING <wa_t>.
      ASSIGN COMPONENT 'VBELN' OF STRUCTURE <wa_t> TO <field>.  "Refer a particular field
      WRITE:/ <field>.
    ENDLOOP.
    Edited by: Satyajit on Apr 8, 2010 4:21 PM

  • HOW TO SELECT ALL ROWS IN A MULTI SELECT TABLE!!!!!

    Hello
    I have a table with tableSelectMany component. how can I set the page to initially select all rows when first opened?????

    efffffttttttt? are you saying you will do an electronic funds funds funds funds funds transfer transfer transfer transfer transfer transfer to anyone who answers?
    What version of JDeveloper are you using - that is quite important in order to be able to give you an answer.
    What also might be useful is "please" and "thank you" instead of SHOUTING IN ALL CAPS THAT YOUR QUESTION IS IMPORTANT. Realizing that you asked this question over a weekend when most people dont sit and read the forum...
    You have a habit of saying all your questions are URGENT!!!!!! which is generally considered, um...., impolite.

  • Power Query and multi-selection columns

    I have a power query pulling data from a sharepoint list some of the list columns allow multiple selections.
    The power query seems to only be pulling in one value instead of all the selected ones in the columns.
    Thanks,
    Eric

    Hi Eric,
    Just to add a bit more detail to what is going.
    In Power Query, SharePoint List columns with multiple selection choices are represented as nested tables with a single column called "Value". Each row of these nested tables will represent a selected choice for the list item. You can examine this by clicking
    on "Table" under the "Options" column on one of the rows.
    By clicking on the "Expand" icon of a column, you are making use of the Table.ExpandTableColumn function. That function will take each row in the table and do a cross product with the rows of the nested tables of the selected column. This means that each
    row will be duplicated as many times as there rows in the nested columns.
    In this specific case, each item in the SharePoint list will become duplicated as many times as there are selected choices for the item. This can be very useful in some cases, but I think that in your case this is not the operation that you're looking for.
    If you want to simply create a column that combines all the selected choices as a single text value, there's a simpler alternative to Alejandro's solution:
    = Table.AddColumn(RemovedColumns, "Options 2", each Text.Combine([Options][Value], ", "))
    You can simply paste the above as a blank step by clicking on the "Fx" icon next to the formula bar. Here we're creating a new column called "Options 2" that combines the text values in the "Value" column of the nested table of the Options column and separate
    each entry by ", ".
    -Tristan

  • How to use JList's ensureIndexIsVisible and multiple selection using CTRL

    Hello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
    Regards,
    Will

    Hello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
    Regards,
    Will

Maybe you are looking for