Refresh Navigation Range in a Table - Jdev 10.1.3.3

Hello Comunity ...
I have a editable table where the navigation range is 1-15 i change the values in the table and navigate 45-60, 60-75... and others rows, then i click on save button the information is refresh but the range navigation not. How can refresh the range navigation to the first row.
Thanks for the help.

Hi Peter i post the solution last week.
Add the following code in your backing bean save button:
this.getTable1().setFirst(0);
Where table.setFirst(0) sets the index of the first row in the currently range of rows to the first record in the Table.
Good Luck.

Similar Messages

  • Oracle ADF - Refresh quick query for a table in the pop up.

    Hi,
    I am using Oracle jDev 11.1.1.4.0
    In my application I have a Find button in jspx.
    Onclick of Find button, a popup opens.
    When I search for a record by name in QuickQuery, suppose - I entered name as jon.
    It gives me the correct result.
    Now when I close the pop up and again click on Find button, that previous search remains as it is in the pop up
    and also the previous criteria in quick query search region as "jon".
    I have changed the refresh property of iterator(of table in popup) in pageDef
    But still not working...
    How to refresh that search region for every subsequent Find click.
    Appreciate your help.
    Thanks,
    Madhav

    do u changed refresh > ifneeded or always.
    user.
    r u luking for partially page rendering.
    by using ppr. we can refresh.
    if so.
    http://www.adftips.com/2010/10/adf-ui-refreshing-page-or-region.html
    http://biemond.blogspot.com/2007/11/how-to-refresh-region-in-jdeveloper-11g.html
    Re: ADF Region Interaction
    Edited by: Erp on Sep 27, 2011 4:37 AM
    Edited by: Erp on Sep 27, 2011 4:42 AM

  • Save and refresh after entering data inoto table ( update)

    hello guys,
    im using abap webdynpro now. and im facing a problem with the saving and update " refresh function"
    I have entry table and some other text input.
    the thing im doing is to enter data in the filed, attachment, drop down selection. then the data will be saved into the table in the same page
    and need to refresh the page automaticlly when doing this. so the used does not have to do it manully
    please help me in this..code, source, or hints.
    Thanks
    Lily

    thanks Manas Dua 
    I could do that, but this is going to be problem with performance side.
    I want a method or something to make it easier, faster too
    please help me in code or something if that possible.
    Regards
    Lily

  • Save and refresh after entering data inoto table.

    hello guys,
    im using abap webdynpro now. and im facing a problem with the saving and update " refresh function"
    I have entry table and some other text input.
    the thing im doing is to enter data in the filed, attachment, drop down selection. then the data will be saved into the table in the same page
    and need to refresh the page automaticlly when doing this. so the used does not have to do it manully
    please help me in this..code, source, or hints.
    Thanks
    Lily

    well , the guys guid me to some ideas.
    yes..after entering data into filed, textinput. the data will goes to the table after clicking " save" button. after that I want the table to be updated.
    thanks

  • Creation of number range in NRIV table

    Dear All,
    User is asking to maintain the number range in the NRIV table with object name RV_BELEG. As shown below:-
    Object name  Subobj.val    No    Year    From no.        To number    No. status     Ext
    RV_BELEG                           D1                0095000000    0095999999
    Here When I go and maintain the number range in FBN1 transaction code it is asking fiscal year required. But the user is not mentioned any year. However I have given the year 2011 and saved it.
    When I go and check in the NRIV table, It has updated with Object name is RF_BELEG. As shown below.
    RF_BELEG     5291     D1     2011     0095000000     0095999999
    Could any body help me how to maintain the number range in this table with the Object name RV_BELEG. Is there any T.Code to maintain these number ranges with out specifiying the year.
    If I maintain this number range  in the table NRIV directly, is there any effect in SAP?
    Thanks and Regards,
    Mr.Rao

    hi
    RV_BELEG is Number ranges for SD documents so you have to mainatin the same in SD module through SPRO
    but if you mainatin from NRIV also it will not affect the sap
    or you can you t code SNRO and mainatin the number range for that object directly.
    Thanks

  • Refreshing navigation bar value

    Hi,
         I'm facing a problem in refreshing navigation bar value. Below is my requirement,
    Based on the user , I'm having navigation bar values for e.g when user xy is logged in . navigation bar will apprear as "Your Email Settings is: 'On' click here to update" on clicking this navigation value I'm opening one pop up page where i can update the email settings to on/off. After submitting the pop up window it is getting closed but this navigation bar need to be updated  as "Your Email Settings is: 'Off' click here to update" i.e. auto refresh of navigation value need to be done on closure of pop up window.
    Can you please help on this.
    Thanks,
    Salai Kumar

    Hi Salai Kumar,
    What version of APEX do you use?
    In recent versions there is a refresh action which you can try to use.
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • How to retrieve data from domain(Value Range)  of the table

    hi
    how to retrieve data from domain(Value Range)  of the table
    thanks

    Hello,
    You can try using the FM: DOMAIN_VALUE_GET TB_DOMAINVALUES_GET.
    BR,
    Suhas
    Edited by: Suhas Saha on Mar 24, 2009 10:08 AM

  • How can I turn off the "Show All" navigation option from af:table?

    I would like to hide the "Show All" option from the navigation menu of af:table. Any clues/thoughts on how to do that ?
    Please help !
    Thanks a lot
    Message was edited by:
    samsam
    Message was edited by:
    samsam

    In Vista you can set the volume and mute setting for each application separately in the volume mixer.
    You can click the Volume icon on the Windows Taskbar near the clock and click the Mixer link at the bottom to open the mixer.<br />
    You can adjust the volume level for each application in that window.<br />
    You will only see the Firefox program in the Mixer if you are on a website that plays sound.

  • JDev extension SDK: How to refresh navigator via API?

    Hi,
    I'm developing a jdev extension, in which I create some files in the project source folder manually (in file system).
    These changes are not displayed in the projects navigator tree (of course). Is it possible to refresh the navigator view via SDK API, same like pressing the blue refresh-button on top of the navigation area?
    thx,
    Marcel

    Hi Harry,
    Sorry for the delayed response. I'm assuming we are on opposite sides of the world. :-)
    I looked deeper into the method that you pointed out and I've posted an internal question to some of the developers about how to get that TNode. I tried a couple of things myself, but kept running into a dead end.
    You can't get a TNode from the workspace. It has to come from the NavigatorWindow class.
    The Workspace and the NavigatorWindow are two completely different things. One is a representation of the jws and jpr files, and the other is the representation of the filesystem.
    I'm not quite sure that this will really do what you are looking for anyway. While it may refresh the Navigator window, I don't think it will go out and rebuild the tree with whatever is new in the project folder. When I look at the internal code for that Refresh button, it is doing a lot of re-reading of the filesystem and then rebuilding the tree.
    I was able to create my own menu item and have it call the action for the refresh button, but it still requires that the workspace be selected first, so it's in context when the menu us selected. Doesn't quite achieve what you're looking for.
    I'm assuming that you are looking to refresh the navigator window programmatically after you have add one or more files to the filesystem for a project. Is that correct? Just want to make sure I'm working with the same goal that you are.
    I'll keep looking into how this is done with some of our internal wizards. There has to be a way to do it.
    --jb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to add range navigation to an ADF table ?

    Greetings,
    I have the following code:
    <af:table var="messageObject" rowBandingInterval="0" id="t1"
    value="#{chatForm.chatRoom.messages}" rendered="#{chatForm.chatRoom.messagesSize > 0}"
    summary="message table" rows="5" first="#{chatForm.first}"
    contentDelivery="immediate" autoHeightRows="5">
    I expect that once that the number of rows in the table is greater than 5 then the range navigation controls be displayed. But this doesn't happen, the table gets simply truncated displaying the last 5 rows and the other ones aren't available. What I'm doing wrong ?
    Many thanks in advance for your help.
    Kind regards,
    Nicolas

    Timo, here is what the documentation says:
    "Range Navigation
    When the list being displayed by a Table is huge, you can enable the Table to break up the list into ranges and display a single range at a time. Range controls are provided on the Table to let the user scroll to the next range, or to go back to the previous range. If the total size of the list is known, a control to let the user jump directly to a particular part of the list is also provided on the Table. Use the Table attributes "rows" and "first" to control the range navigation feature. When the user changes the range, the T able fires a RangeChangeEvent . "
    So, it apears that, as a matter of fact, there are next and prev buttons when the list is larger than that the table. Additionally, there is no any scrollbar slider as soon as the list gets bigger than the table. Last but not least, the JDeveloper's Component Palette doesn't expose any othe table type than ADF Faces one. If by "use Trinidad tables" you mean "use manually Trinidad tables", well, I'm afraid that thhis is not acceptable for a Java IDE aiming to replace NetBeans and Eclipse.
    But thank you, anyway, for your reply.
    Nicolas

  • Problem refreshing resource bundle from DB table for BC (JDev 11.1.2.1.0)

    In our ADF 11.1.2.1.0 application we are loading bundles form the database, which is not working as expected.
    The problem is that when we want to refresh the bundle, it doesn't work for values on Model (BC) components. Bundles values stay the same.
    Bundle refresh was implemented by this example
    http://technology.amis.nl/2012/08/14/refresh-resource-bundle-from-within-the-adf-application-to-absorb-changes-in-database-backed-bundles/
    We then found that if we put f:loadBundle element on the page, the refresh does execute.
    But only for the ViewController, Model bundles do not refresh.
    On top of every page we have <f:loadBundle basename="si.bron.susa.view.util.ArsoVinBundle" var="res"/>
    On every page we also have a button. Click on it should refresh the bundle by calling the following code:
    public void forceBundleRefresh() {
    try {
    //ResourceBundle.clearCache();
    ResourceBundle.clearCache(Thread.currentThread().getContextClassLoader());
    sLog.info("Resourcebundle.clearCache executed succesfully.");
    } catch (Exception e) {
    sLog.info("Resourcebundle.clearCache cannot be used because jdk version is not 1.6 or higher, try old approach");
    System.out.println("Catch bundlov");
    // try old approach
    for (String resourcebundle : bundleNames) {
    for (String contextDimensionValue : contextDimensionValues) {
    String bundleName = resourcebundle + contextDimensionValue;
    System.out.println("Bundle123: "+ bundleName);
    refreshBundle(bundleName);
    } //for
    Executing this code the bundles of ViewController is always refreshed from DB, but bundles of BusinessComponents are refreshed ONLY FIRST TIME after application is deployed on WebLogic. Next attempts after the first one, don't perform refresh.
    I think it should behave same for BC and VC bundles, isn't it?
    If I am wrong please direct me to some example.
    Regards,
    Sašo Celarc

    In our ADF 11.1.2.1.0 application we are loading bundles form the database, which is not working as expected.
    The problem is that when we want to refresh the bundle, it doesn't work for values on Model (BC) components. Bundles values stay the same.
    Bundle refresh was implemented by this example
    http://technology.amis.nl/2012/08/14/refresh-resource-bundle-from-within-the-adf-application-to-absorb-changes-in-database-backed-bundles/
    We then found that if we put f:loadBundle element on the page, the refresh does execute.
    But only for the ViewController, Model bundles do not refresh.
    On top of every page we have <f:loadBundle basename="si.bron.susa.view.util.ArsoVinBundle" var="res"/>
    On every page we also have a button. Click on it should refresh the bundle by calling the following code:
    public void forceBundleRefresh() {
    try {
    //ResourceBundle.clearCache();
    ResourceBundle.clearCache(Thread.currentThread().getContextClassLoader());
    sLog.info("Resourcebundle.clearCache executed succesfully.");
    } catch (Exception e) {
    sLog.info("Resourcebundle.clearCache cannot be used because jdk version is not 1.6 or higher, try old approach");
    System.out.println("Catch bundlov");
    // try old approach
    for (String resourcebundle : bundleNames) {
    for (String contextDimensionValue : contextDimensionValues) {
    String bundleName = resourcebundle + contextDimensionValue;
    System.out.println("Bundle123: "+ bundleName);
    refreshBundle(bundleName);
    } //for
    Executing this code the bundles of ViewController is always refreshed from DB, but bundles of BusinessComponents are refreshed ONLY FIRST TIME after application is deployed on WebLogic. Next attempts after the first one, don't perform refresh.
    I think it should behave same for BC and VC bundles, isn't it?
    If I am wrong please direct me to some example.
    Regards,
    Sašo Celarc

  • Not able to refresh the data in a table

    Hi In my application i fill data in a table on clikc of a button ..
    Following are the line of code i have user
    RichColumn richcol = (RichColumn)userTableData.getChildren().get(0);                                           (fetch the first column of my table)
    richcol.getChildren().add(reportedByLabel);                                                                   (reportedByLabel is a object of RichInputText)
    AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
    adfContext1.addPartialTarget(richcol);
    adfContext1.addPartialTarget(userTableData);
    But on submit of that button table data is not refreshed after adding partial trigger on that table as well as that column also .... any idea??
    Edited by: Shubhangi m on Jan 27, 2011 3:50 AM

    Hi,
    The Code that you have shown adds an additional inputText component to the first column of a table.
    Is that your intention?
    If yes, please use the following code snippet to achieve your functionality:
    JSPX Code:
    <af:form id="f1">
    <af:commandButton text="Add Column" id="cb1"
    actionListener="#{EmployeesTableBean.onAddColumn}"/>
    <af:table value="#{bindings.Employees.collectionModel}" var="row"
    rows="#{bindings.Employees.rangeSize}"
    emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Employees.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}"
    selectionListener="#{bindings.Employees.collectionModel.makeCurrent}"
    rowSelection="single" id="t1"
    binding="#{EmployeesTableBean.table}">
    <af:column sortProperty="EmployeeId" sortable="false"
    headerText="#{bindings.Employees.hints.EmployeeId.label}"
    id="c1">
    <af:outputText value="#{row.EmployeeId}" id="ot2">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Employees.hints.EmployeeId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="FirstName" sortable="false"
    headerText="#{bindings.Employees.hints.FirstName.label}"
    id="c2">
    <af:outputText value="#{row.FirstName}" id="ot1"/>
    </af:column>
    <af:column sortProperty="LastName" sortable="false"
    headerText="#{bindings.Employees.hints.LastName.label}"
    id="c3">
    <af:outputText value="#{row.LastName}" id="ot3"/>
    </af:column>
    </af:table>
    </af:form>
    Bean:
    public class EmployeesTableBean {
    private RichTable table;
    public EmployeesTableBean() {
    public void setTable(RichTable table) {
    this.table = table;
    public RichTable getTable() {
    return table;
    public void onAddColumn(ActionEvent actionEvent) {
    RichInputText newRichInputText = new RichInputText();
    newRichInputText.setId("new");
    newRichInputText.setValue("Name:");
    RichColumn richcol = (RichColumn)table.getChildren().get(0);
    richcol.getChildren().add(newRichInputText);
    AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
    adfContext1.addPartialTarget(table);
    Thanks,
    Navaneeth

  • Clicking a tree node does not refresh the fields in the table component

    hi all,
    I am using a tree component along with a table component in my page.so whenever i am clicking on a node it should display the relevant information of that node in the table from the database.But whenever i am doing the page is not refreshing and the old values of the textfields in the table still exist.i have written the code to populate the table in a button click event.It is working fine but the same is not working when i am clicking any node in the tree component.Can anyone provide a solution to this problem.
    Thanks and regards,
    Prasant Kumar

    Never mind... I actually found something that works...
    treeModel.nodeStructureChanged(leadSelection);

  • Range Partitioning a table based on day of the week

    I have a logging table which i want to partition into 7 partition, each one for the day of the week, eg MON,TUE, WED. I am aware and I can do a list partition by creating a parition key which stores 'DY' of the week and this means that I need to add another column to the existing table.
    I wanted to explore the option of creating a range parition based on the timestamp column that already exists. Can anyone let me know if this option is possible?
    Example
    create table test_partition
    ( log_id number,
    log_date TIMESTAMP(6),
    log_value varchar2(100)
    PARTITION BY RANGE (log_date)
    PARTITION p1_mon VALUES LESS THAN (), ---- Not sure what can be used here to create this parition.
    PARTITION p2_tue VALUES LESS THAN (),
    PARTITION p3_wed VALUES LESS THAN (),
    PARTITION p4_thu VALUES LESS THAN (),
    PARTITION p5_fri VALUES LESS THAN (),
    PARTITION p6_sat VALUES LESS THAN (),
    PARTITION p7_sun VALUES LESS THAN ()
    Any oracle guru with some suggestion for this would be highly appreciated..
    Cheers,
    VJ

    Something like:
    PARTITION P1_MON VALUES LESS THAN (TIMESTAMP'2009-03-10 00:00:00')
    ....Bear in mind that you will have to write a procedure to drop and create your daily partitions, and run that on a daily basis. Also you would be well advised to create a catchall partition that holds anything that won't go into your latest specified partition, eg:
    PARTITION P_MAX VALUES LESS THAN (MAXVALUE)

  • Neen help with date range searches for Table Sources

    Hi all,
    I need help, please. I am trying to satisfy a Level 1 client requirement for the ability to search for records in crawled table sources by a date and/or date range. I have performed the following steps, and did not get accurate results from Advanced searching for date. Please help me understand what I am doing wrong, and/or if there is a way to define a date search attribute without creating a LOV for a date column. (My tables have 500,00 rows.)
    I am using SES 10.1.8.3 on Windows 32.
    My Oracle 10g Spatial Table is called REPORTS and this table has the following columns:
    TRACKNUM Varchar2
    TITLE Varchar2
    SUMMARY CLOB
    SYMBOLCODE Varchar2
    Timestamp Date
    OBSDATE Date
    GEOM SDO_GEOMETRY
    I set up the REPORTS table source in SES, using TRACKNUM as the Primary Key (unique and not null), and SUMMARY as the CONTENT Column. In the Table Column Mappings I defined TITLE as String and TITLE.
    Under Global Settings > Search Attributes I defined a new Search Attribute (type Date) called DATE OCCURRED (DD-MON-YY).
    Went back to REPORTS source previously defined and added a new Table Column Mapping - mapping OBSDATE to the newly defined DATE OCCURRED (DD-MON-YY) search attribute.
    I then modified the Schedule for the REPORTS source Crawler Policy to “Process All Documents”.
    Schedule crawls and indexes entire REPORTS table.
    In SES Advanced Search page, I enter my search keyword, select Specific Source Group as REPORTS, select All Match, and used the pick list to select the DATE OCCURRED (DD-MON-YY) Attribute Name, operator of Greater than equal, and entered the Value 01-JAN-07. Then the second attribute name of DATE_OCCURRED (DD-MON-YY), less than equals, 10-JAN-07.
    Search results gave me 38,000 documents, and the first 25 I looked at had dates NOT within the 01-JAN-07 / 10-JAN-07 range. (e.g. OBSDATE= 24-MAR-07, 22-SEP-), 02-FEB-08, etc.)
    And, none of the results I opened had ANY dates within the SUMMARY CLOB…in case that’s what was being found in the search.
    Can someone help me figure out how to allow my client to search for specific dated records in a db table using a single column for the date? This is a major requirement and they are anxiously awaiting my solution.
    Thanks, in advance….

    raford,
    Thanks very much for your reply. However, from what I've read in the SES Admin Document is that (I think) the date format DD/MM/YYYY pertains only to searches on "file system" sources (e.g. Word, Excel, Powerpoint, PDF, etc.). We have 3 file system sources among our 25 total sources. The remaining 22 sources are all TABLE or DATABASE sources. The DBA here has done a great job getting the data standardized using the typical/default Oracle DATE type format in our TABLE sources (DD-MON-YY). Our tables have anywhere from 1500 rows to 2 million rows.
    I tested your theory that the dates we are entering are being changed to Strings behind the scenes and on the Advanced Page, searched for results using OBSDATE equals 01/02/2007 in an attempt to find data that I know for certain to be in the mapped OBSDATE table column as 01-FEB-07. My result set contained data that had an OBSDATE of 03-MAR-07 and none containing 01-FEB-07.
    Here is the big issue...in order for my client to fulfill his primary mission, one of the top 5 requirements is that he/she be able to find specific table rows that are contain a specific date or range of dates.
    thanks very much!

Maybe you are looking for