AF:table does not display the records to make the updating of the view object iter

Hi Experts,

I use JDeveloper 11.1.1.4 and I have a page that shows a view object records one particular reading as an af:table. When I run the page to everything first he shows all the data at all. But there are 2 folders when I run the query that only read the view object. In my page there is a link called "Refresh" which calls the operation "Execute" in the view of my view object iterator. When I click on this link the table shows two records. Why the table shows no files once when the page is rendered?

Please help me.

Hi user,

Yes use component query to display criteria. Please let me know if something specific I need to check when I use the query component. If you have already faced this problem please help me to solve it.

you are looking to do this,
http://www.4shared.com/photo/B36OTSl9/check.html

Published by: Les on November 22, 2011 12:26 AM

Tags: Java

Similar Questions

  • JTable with custom column model and model table does not display the table header

    Hello

    I create a JTable with a custom table model and a custom column template. However the table header is not displayed (Yes, it's in a get). I have narrowed the problem down in one compilable example:

    Thanks for your help.
    import javax.swing.*;
    import javax.swing.table.*;
    
    public class Test1 extends JFrame
    {
         public static void main(String args[])
         {
              JTable table;
              TableColumnModel colModel=createTestColumnModel();
              TestTableModel tableModel=new TestTableModel();
              Test1 frame=new Test1();
    
              table=new JTable(tableModel, colModel);
              frame.getContentPane().add(new JScrollPane(table));
    
              frame.setSize(200,200);
              frame.setVisible(true);
         }
    
         private static DefaultTableColumnModel createTestColumnModel()
         {
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
              columnModel.addColumn(new TableColumn(0));
    
              return columnModel;
         }
    
         static class TestTableModel extends AbstractTableModel
         {
              public int getColumnCount()
              {
                   return 1;
              }
    
              public Class<?> getColumnClass(int columnIndex)
              {
                   return String.class;
              }
    
              public String getColumnName(int column)
              {
                   return "col";
              }
    
              public int getRowCount()
              {
                   return 1;
              }
    
              public Object getValueAt(int row, int col)
              {
                   return "test";
              }
    
              public void setValueAt(Object aValue, int rowIndex, int columnIndex)
              {
              }
         }
    }
    Published by: 802416 on October 14, 2010 04:29
    added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    See http://download.oracle.com/javase/6/docs/api/javax/swing/table/TableColumn.html#setHeaderValue (java.lang.Object)
    When the TableColumn is created, the default headerValue is null
    So the header ends up rendered empty label (probably of size 0 if the JTable calculates its size of header based on the size of the default rendering tool).

    It worked:

         private static DefaultTableColumnModel createTestColumnModel()
         {
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
                    TableColumn col = new TableColumn(0);
                    col.setHeaderValue("Header Title");
              columnModel.addColumn(col);
                    return columnModel;
         }
    

    Published by: jduprez on October 14, 2010 14:09
    Beaten by a fraction of a second!

    Published by: jduprez on October 14, 2010 14:10
    OK, by a split of 17 minutes, specifically: o)

  • ADF table selected displayRow does not display the selected line

    Hello

    JDev 11.1.2.4

    I have a table with selection enabled and displayRow property the value selected. In the workflow, I have an ExecuteWithParams activity, and then a method activity that restores the current iterator of the line. Finally the activity view that displays the table.

    Restore the current line with key

    Iterator DCIteratorBinding = ADFUtils.findIterator ("MyIterator");

    iterator.setCurrentRowWithKey (currentKey); currentKey is a string

    The question I have is that the current line is properly restored, but the table does not display the page of "range" of the current line while the displayRow is the selected value. My table has 500 rows, the table displays the top 25 while the current line is the 500th line. I expect the table to display the line 475 to 500 line.

    What I am doing wrong?

    Thank you

    You can save the index lines before executing your method and then set the iterator to this index.

    The technique is described in this blog https://tompeez.wordpress.com/2016/02/12/naviagting-an-aftable-in-pagination-mode-from-a-bean/

    Timo

  • Form does not display the 'new' SQL database records

    I have a PDF form that retrieves data from a SQL Server.  The fields of
    the PDF are filled from the database after you have selected a specific
    record in a menu drop down and clicking a button called 'bridge '.
    The problem is that the drop-down list does not display new records that
    have been recently added to the database.  I have to open the form
    in the designer, and then save it, (* note - I change anything at this point.)
    Then, when the form is opened upward in Adobe drop-down list show all
    the documents, including the new ones.  I even put a manual on refresh
    form to try to solve the computer problem has not helped. Seriously left speechless.

    Any help is greatly appreciated.


    Here is my code for the menu drop down.

    ++++++++++++++++++++++++++++

    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC" example - var sDataConnectionName
    = 'Test ';
    var sColHiddenValue = "ContractAdmin_Key"; example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription". example - var
    sColDisplayText = "Dept_ID".

    Search for sourceSet node that match the name of DataConnection
    var nIndex = 0;
    While (xfa.sourceSet.nodes.item (nIndex) .name! = sDataConnectionName)
    {
    nIndex ++;

    }

    oDB var = xfa.sourceSet.nodes.item (nIndex);
    oDB.open ();
    oDB.first ();

    Search with the command 'class name' node
    var nDBIndex = 0;
    While (oDB.nodes.item (nDBIndex) .className! = 'command')
    {
    nDBIndex ++;

    }

    Save the original settings before you assign it, BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item (nDBIndex).query.recordSet.getAttribute ("bofAction");
    var sEOFBackup =
    oDB.nodes.item (nDBIndex).query.recordSet.getAttribute ("eofAction");

    oDB.nodes.item (nDBIndex).query.recordSet.setAttribute ("stayBOF",
    "bofAction");
    oDB.nodes.item (nDBIndex).query.recordSet.setAttribute ("stayEOF",
    "eofAction");

    Clear list
    this.clearItems ();

    Find the record with the corresponding data connection name
    nIndex = 0;
    While (xfa.record.nodes.item (nIndex) .name! = sDataConnectionName)
    {
    nIndex ++;

    }

    var oRecord = xfa.record.nodes.item (nIndex);

    Find the value
    var oValueNode = null;
    var oTextNode = null;
    for (var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex ++)
    {If (oRecord.nodes.item (nColIndex) .name is sColHiddenValue)
    {oValueNode = oRecord.nodes.item (nColIndex) ;} on the other
    If (oRecord.nodes.item (nColIndex) .name == sColDisplayText) {oTextNode
    = oRecord.nodes.item (nColIndex); } }

    While (!) ODB. IsEOF())
    {
    this.addItem (oTextNode.value, oValueNode.value);
    oDB.next ();

    }

    Restore the original settings
    oDB.nodes.item (nDBIndex).query.recordSet.setAttribute (sBOFBackup,
    "bofAction");
    oDB.nodes.item (nDBIndex).query.recordSet.setAttribute (sEOFBackup,
    "eofAction");

    Close connection
    oDB.close ();

    ++++++++++++++++++++++

    Here is the code for the button refresh

    +++++++++++++++++++++

    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery ();

    +++++++++++++++++++++

    The other thing that could happen is a problem of refreshment in the DropDownList control. Try to add the command xfa.layout.relayout () after the database connection has been closed.

    Paul

  • Windows does not display the CD-ROM drive

    A week ago, my computer stopped showing me an icon for my DVD player. When I go into the Device Manager there is no option for CD/DVD players. I tried Microsoft Fix It, and he told me that there is no CD drive. I can not re - install a driver because the Device Manager does not display the CD players.

    I did not major changes to my computer I know so I can't imagine what the problem is. Help?

    Trevor

    Hello

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================================

    After the foregoing:

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Firefox does not display the changes on the site after the remote host; Refresh does not work

    I recently had to reinstall Windows 7 on my machine, and since it has been wiped off I installed CS5, reconfigured my Dreamweaver site and made changes to our page index.html (so far).  After you put the files on my remote server, I noticed that Firefox does not display the changes I made to this file - it is to show the page previously recorded on my CS4 version.  Thinking it was a cache problem, I emptied, refreshed/reloaded several times, restarted Firefox - nothing has worked.

    I checked the page in IE8 and all changes are not displayed correctly.  I used BrowserLab to display a preview in IE, Firefox (same version 3.6 which I use) and Safari, and all 3 display correctly version update of the page.  Visualization in 'live' of Firefox seems to be the problem, and I've looked everywhere for answers. Help is needed and appreciated!

    It is possible that you redefined the site incorrectly and put the files to the wrong address on the server. Carefully check both your local and remote sites definitions.

  • My Firefox has just automatically updated itself to the version 42. The extention under modules page does not display the extensions I have installed.

    My Firefox has just automatically updated itself to the version 42. The extention under modules page does not display the extensions I have installed. The plug in page shows the plug ins I installed. How can I fix it? This happened on my 64 bit Windows 7 partition. I installed the extension "classic add-on" to see if she could solve the problem. There is unfortunately no. I have a screenshot. I'm not sure if I have permission to upload it to the media gallery. I also use Linux, but I did not upgrade that are still there.

    It is possible that there is a problem with the files that store the registry extensions.

    Delete the files (extensions.json, extensions.sqlite, extensions.ini) extensions.* and compatibility.ini in the profile folder of Firefox to reset the extensions registry.

    New files will be created if necessary.

    See "extension corrupted files:

  • my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    Hello

    Follow the instructions here:

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • My firefox does not display the icon fonts!

    I use fontello.com for my web design project. But recently it does not display the icon.

    and the strange thing is that its OK my Firefox friends and just my PC have the problem.

    for example, this page shows icon on my friends firefox but I can't see the icons
    https://DL.dropboxusercontent.com/u/28793409/fontello-d3b0f38a/demo.html

    That's what I see
    https://DL.dropboxusercontent.com/u/28793409/shot.jpg

    If Safe Mode is good, the more likely culprits are one of your extensions or incompatibility of the graphics driver. To work around the second question, you can disable use of the hardware acceleration Firefox to see if that helps.

    "3-bar" menu button (or tools) > Options > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    It takes effect the next time you exit and restart Firefox.

  • After installation or upgrade to Firefox 31, starting Firefox does not display the home page, personalize displays a blank page and the radio button does not work

    I am the admin of Windows for a University Department and install PC with Firefox all the time. This problem does not occur with every PC I would maintain, only a selection bit (model different laptops with Windows and update 1 8.1.) Until today, it has happened with the new user (with admin rights) accounts that I place on laptops for our staff. Today, this happened with the account administrator while setting up a new laptop. In all cases so far, I have install Windows from a registered image that was created by using sysprep.

    I tried many suggestions to reset Firefox, removing the profile of Firefox users, removing the Windows profile users, uninstalling/reinstalling Firefox, uninstall/reinstall of Firefox and the latest Java, but nothing helped. After uninstalling, I run an application to delete the caches and temporary files and even remove manually the keys to register HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. I restart and make sure that the installation folder is deleted after uninstalling.

    Results are the same: after installing Firefox 31, the initial settings for migration, IE or Chrome pop up and after having clicked on the button finish, Firefox starts but does not display the home page of the new user, only a blank page. By clicking on the Options (3 bars) button does nothing. Right click in the appropriate box, the shortcut menu appears, so I can choose to customize, but which opens another tab with subject: Customize the URL and the page is blank. In the right click context menu, I can activate the menu bar and get options from that.

    My last attempt helped a little. I uninstalled Firefox 31, cleaned, removed the profile user Firefox, rebooted and then installed Firefox 30. Initial start-up runs and tells me that I'm not up-to-date and the works of button Options. But I can't always customize.

    Then I upgraded to Firefox 31, but then it's back to no start page, no options button and no customization. I can go down to 30 and get customize practically works again.

    Addon only is for McAfee Scriptscan to Firefox 15.1.0, just after installation is disabled.

    Any help would be appreciated. Thank you.

    You can try a different theme of Windows?

    Have you tried to start the computer using Windows safe?

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) as a test.

  • When I open a link in a new window does not display the web address.

    When I open a link in a new window does not display the web address. What have I done wrong? It used to work and it works if I open the link in a new tab, the problem is that I hate to use tabs prefer a new window every time... Help!

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • URL address box does not display the current page.

    With the 4.0.1 update, the URL address box does not display the current page.

    All that shows is the text: «Go to web site»

    To now see the url of the current page, you need to make a right click the empty space is the address box and press the button "esc".

    Is there a way to display the url of the current page?

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Navigation toolbar does not display the URL

    When I go to a website, the section of the navigation toolbar that displays the URL of the page is no longer indicates the URL http://www as he always did in the past. The size of the part has been reduced. Has expanded the area where you type URL for search engine. I have no problem with the navigation, history, bookmarks, tabs bar, etc. Only problem is that the URL does not display the page. Even this page has no URL displayed in the navigation bar. It has the logo for mozilla and when I put the cursor on it, it says it all "Web site does not provide identity information." The same shows for each site than go. Yes, I can to bookmark the page without any problem and can use bookmarks to return to the page. But no URL appears in fact as he always did in the past. Oh, I have an IMac and use a keyboard of razor.

    Hello.

    You should be able to resize the address bar, if the search bar is to the right by simply sliding the space between the address bar and the search bar.

    If that does not solve your problems, it is possible that you have a problem with some Add on Firefox which is an obstacle to the normal behavior of your Firefox. Have you tried to disable all add-ons (just to see) to see if Firefox goes back to normal?

    Whenever you have a problem with Firefox, whatever it is, you must make sure that it is not caused by one (or more) of your installed modules, whether an extension, a theme or a plugin. To do this easily and cleanly, start Firefox in safe mode (remember to select disable all add-ons when you start safe mode). If the problem goes away, you know that it's an add-on. Disable them all in normal mode and allow them one by one until you find the source of the problem. See this article for more information on troubleshooting extensions and themes and this one for plugins.

    If you need help with one of your modules, you will need to contact the author.

    If the problem does not disappear when all add-ons are disabled, tell me please, then we can work from there. Please be afraid not to follow my instructions to the line, as everything can be easily undone.

  • Save dialog box under does not display the list of files

    Terminal Server R2 of 2012.  Dialog box "Save as" for a user does not display the list of files.  The address bar shows the way, there is a form for the file name box, and the user can save the file successfully.  But the space that would show the files in the selected directory is empty.  There is no form for the list of files box, it's just the grey box dialog box space - that is to say, it is not that it looks like an empty folder, there is simply no display form box.

    The 'Open' dialog box appears normal, showing the list of files in the selected folder.

    I had the user close the session on the Terminal Server and access it from another PC, even if I was not expecting to make a difference, and it didn't.  I have also connected on myself and has not experienced the same problem.  So it seems to be user-specific.

    What a setting, the user has selected by mistake, or a mistake any?

    Thanks for any help.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • my pc does not display the sound icon and I have no sound of my speakesrs are pluged

    sound works when last used. PC does not display the icon of audio and have no sound

    Hello jeffreysarver,

    Thanks for choosing Windows and thank you for providing an opportunity to help you.

    According to the description, it seems that you are having problems with the sound. As I understand well you can't listen to audio.

    I need to ask you some questions to help you better.

    1. were there any changes (hardware or software) to the computer before the show?

    2. the problem when you play system sounds?

    Perform the steps suggested by Sebastian M from the link below and check.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-pictures/no-sound-in-my-Windows-XP-computer/b2ad45d8-3242-4837-A728-b233ffd3f73c

    Answer to us if you are having problems with the sound or any other problem of Windows, and I'd be happy to help you.

    Good day!

    Hope this information helps.

Maybe you are looking for