When using the placholder attribute in an input field with a dark background, why can't the blinking caret be white on focus?

Chrome and Safari both do this, making it clear to the user that they're in the field and ready to type. Currently the caret will take the color property but only once the user has started typing. This seems like it would be a worthwhile feature to bake into the next build of FF.

I have a separate java class that gets my data and returns a Result object. Do you mean java.sql.ResultSet?
In my main servlet I do the following:
request.setAttribute("supporttracker",
supporttracker.findsupporttracker(monthYear));
and then in my JSP I can iterate through the Result
like the following with no problems:
<c:forEach var="supporttracker" begin="0"
items="${supporttracker.rows}" varStatus="counter">
My problem is that I can only iterate through this
once in the page whereas I have no problem doing
multiple forEach loops through other types of
lists/collections such as an ArrayList. Right, because a ResultSet is a database cursor and doesn't act the same way that an ArrayList does. It's more like an InputStream - once you read it, you close it. If you want to re-read it, you have to re-initialize it again.
Iterators behave that way, too. Once you walk through them, you have to re-initialize them.
I've looked
on the web and in a couple of books, I first thought
it may be scope or some attribute in forEach that I
was missing but I'm stumped. It seems like it's
because the pointer to the result set is at the end
of the result set when trying the second iteration,
but I thought by using the begin="0" would put the
pointer at the first row again, on my second
iteration I'm getting no rows/data outputed.
Please help and thanks in advance!The better thing to do is for your method to return a List of objects, one per row, that represent what the ResultSet returns. Have that method iterate through the ResultSet, loading the rows into the List, and close it before you leave in a finally block. A database cursor is a scarce resource, so it's a good idea to close it as soon as you can.
%

Similar Messages

  • My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea pig the specifics with a log. Why can't the crash reports generated by the computer itself be used?

    My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea-pig the specifics with a log. Why can't the automatic crash reports generated by the computer itself be used?  I would think they would be the most accurate and specific record of incidents, and could easily be identified with the computer serial number.  What am I missing in this scenario?

    What you're missing is that diagnostics software doesn't cover everything in any laptop made by anyone.
    Intermittent problems, and genuine hardware induced faults typically, or course, are hard to pinpoint.
    jet fighter planes contain 1000s of sensors and multimillion dollar live diagnostics and still can't "see" more than 60% of hardware potential faults.
    Lucky you, the Air however contains extremely few parts, there isnt much to diagnose on one.
    The Air contains 90% fewer parts than a typical laptop from a mere 7 years ago.  

  • When I save a photo as a jpeg in PE 13 the file size is much smaller than with PE 12. Why?

    when I save a photo as a jpeg in PE 13 the file size is much smaller than with PE 12. Why?

    Are the image all the same size the % files open into a document seems to vary with the number of pixels the image being opened has.  Check the Image size.

  • Mac user, PS CC 2014 latest version. When using "Save for Web" I bring my 900 x600px @72 ppi in to SFW and the output becomes 300ppi. The only way it stays at 72ppi is if I check "none" for metadata. I know to should not matter much, but I would prefer to

    Mac user, PS CC 2014 latest version. When using "Save for Web" I bring my 900 x600px @72 ppi in to SFW and the output becomes 300ppi. The only way it stays at 72ppi is if I check "none" for metadata. I know to should not matter much, but I would prefer to keep all my web jpgs @ 72ppi. Any solutions?

    It opens up as 900x600 @300ppi
    Here's a screenshot-

  • JS error while using input fields with type=file on XP SP2

    Hi all,
    we found a new problem in applications which use input fields with type=file running in a browser on Microsoft Windows XP with SP2.
    A typical test layout might look like:
    <html>
      <head>
        <title>File-Upload</title>
      </head>
      <body>
        <form action="/cgi-bin/upload.pl" method=post
              enctype="multipart/form-data">
          <input type=file size=50 maxlength=100000 name="file"
                 accept="text/*"><br>
          <button onclick="document.forms[0].submit();">Send</button>
        </form>
      </body>
    </html>
    When you add a link without the fully qualified path (for example pic01.jpg instead of c:\pictures\pic01.jpg) and click on the 'Send' button, nothing happens and you get a Javascript error 'Access denied'.
    The solution can be found in the MS Knowledge Base article 892442:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;892442
    We still investigate this issue and will inform you about the further proceeding.
    Regards,
    Rainer

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can is the the firefox button on the t

    When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can see the the firefox button on the top left corner, when I go to it the drop down list drops and there is no text, if I move down the drop down I hit where there is a slide out in that drop down and no text is there. So, to start in safe mode you need to go to the firefox button, and click on start in safe mode. I can't See safe mode or click on anything were safe mode should be.

    hello, close all firefox windows & hold the shift-key while opening firefox in order to launch it in safemode. in the first dialog just choose "continue in safemode" and go to firefox > options > advanced > general. in there disable hardware acceleration, restart firefox normally again and see if this has changed anything.
    also see [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]

  • I'm trying to reverb an audio clip in my timeline and I can't find the effect tab in the browser to drag to my audio clip to reverb. I can reverb the clip in the viewer but can't it won't drag to the timeline. I'm using FCE

    I'm trying to reverb an audio clip in my timeline and I can't find the effect tab in the browser to drag to my audio clip to reverb. I can reverb the clip in the viewer but it won't drag to the timeline. I'm using FCE

    You cannot drag the effects themselves to the timeline.  You add them to a clip in the Viewer, just as you have done. 
    If the clip was already in the timeline when you  opened it in the Viewer (by double-clicking it in the timeline to open it in the Viewer) and then added the reverb effect, there is nothing further to do, you have added the effect to the clip.  You don't drag it back to the timeline.
    You only have to drag the clip to the timeline if the clip was not already in the timeline (for example, if you opened the clip from the FCE Browser; or set different In and Out points in a master clip to use a different portion of the master clip in a different location in your timeline).
    Depending on the effect you add, you may have to render the timeline after adding the effect.  But I don't think reverb requires immediate rendering.  One other note, you said you were working with an audio clip ... audio clips need to be AIFF (not MP3 or something else) and preferably 16-bit stereo.

  • When downloading a pdf file I get a message that I must download Adobe Reader. When I do that I am told that it is already installed. Why can't I use it if it's already installed. I-Mac OsX 9.3

    When downloading a pdf file I get a message that I must download Adobe Reader. When I do that I am told that it is already installed. Why can't I use it if it's already installed. I-Mac OsX 9.3

    g -
    I was able to fix the problem with some help from Apple. Whenever I last downloaded Reader, I apparently didn’t complete the process by accepting the Reader contract. I was able to go right to that point in the process and complete the installation. The messages that I needed Reader but it was already installed were quite confusing. It would have been nice if the Adobe installation process that I was re-trying this morning had been able to detect a partial installation. The Troubleshooting page almost had me doing some ridiculous things that wouldn’t have helped.
    MP

  • I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    You should have bought one with a larger SSD. You can regain some space by disabling the sleepimage file:
    To disable safe sleep, run the two following commands in Terminal:
    $ sudo pmset -a hibernatemode 0
    $ sudo nvram "use-nvramrc?"=false
    When done, restart your computer. Now go delete the file "/private/var/vm/sleepimage" to free up some hard drive space. When you put your computer to sleep it, should happen in under five seconds; my MacBook now goes to sleep in two seconds.
    [robg adds: To state the obvious, with safe sleep disabled, a total power loss will wipe out whatever was open on your machine. To enable safe sleep mode again, repeat the above commands, but change hibernatemode 0 on the first line to hibernatemode 3, and =false to =true on the second line. You'll then need to reboot again. Personally, I prefer the safe sleep mode, even with the slower sleep time and hard drive consumption -- even if for no other reason than it's great when changing batteries on a flight.]
    You can also delete unneeded files:
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Controlling the space between label and Input field in SELECT-OPTION

    Hi ,
    I am using WDR_SELECT_OPTIONS as a used component in order to dynamically generate the Select option in my WD Component.
    Can any one tell me if there is a way to control the spacing between Label and Input field?  This is because rest of the UI elements are in one particular order but for this dynamically generated UI.
    Please help me.
    Thanks,
    Kavitha

    Hi Kavitha,
    The label is required for accessibility reasons. It's not possible to remove it and to use your own label from outside the component to point to it. Labels cannot point to targets across views (and hence acress component) boundaries.
    Best regards,
    Thomas

  • I can transfer pictures from my SD card when I don't have transfert it to my pc first. But why can't I transfer from pc via SD? I'm using Apple camera connection kit.

    I can transfer pictures from my SD card when I don't have transferred it to my pc first. But why can't I transfer from pc via SD and then into my iPad2? I'm using Apple camera connection kit.

    If you are adding the photos yourself, then you need to create a DCIM directory off the root of the card, with the photos underneath it with filenames exactly 8 characters long (no spaces) plus their file extension i.e. in the same format as if your digital camera had written them.

  • I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.   I have been searching every other day for over a month trying to find a fix in Windows Safari with n

    I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.
    I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy.  I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval.  Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
    Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
    the funny behaviour of the trackpad/cursor still persists. any suggestion???
    thanks again

  • I have PSE13 on my system.  It was functioning properly and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to c

    I have PSE13 on my system, Windows 8.1, 64-bit.  It was functioning properly after installation and now I get these messages when I go to print:  "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You need to check your printer settings before printing."  and then this statement:  "Default printer could not be opened."  I have reloaded drivers for both printers and made any upgrades possible.  It was working fine before and now all of a sudden, nothing.  Would prefer to have old PSE v.12 back, it worked with no problems.

    See this thread
    My Photoshop Elements 13 doesn't recognize my Canon PRO-10 printer. I've tried EVERYTHING. Reinstalled all my software, didn't fix anything. Can anyone help?

  • Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video?

    Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video? How can I fix this?
    Baffled in SB

    What format of MPG is this?  Is this an MPEG1 or MPEG2 video?  How was the video created?

  • Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

    Why can't I find events with cmd-F? I can see the appointment I am searching for, but the search cmd-F function does not find it. Why is this. It used to work...

Maybe you are looking for

  • BADI for defaulting the ITEM data

    Hi, I have to default a field in Item level for shopping cart  but the default value should be editable to the user. I tried using the BADI BBP_DOC_CHANGE_BADI but does not helps because it is gets triggered when even any item is changed. The require

  • Just recieved my replacement iphone and can`t restore `unable to restore iphone is in recovery mode`???

    Ater picking my iphone up from the store i returned home and tryed to sync it back with my computer. but with no luck. I then tryed to restore the iphone and after 5mins of waiting an alert came up saying `unable to rstore iphone as it it in recovery

  • Field Selection in PO

    Dear All, In creation PO i am getting No of reminder/expeditors field grayed which is in delivery tab. I want it input field (white field). I have tried in PO field selection but there is no such field for selction, How can I make it white filed? Thn

  • Do we have any views to know about ORACLE HOME?

    Hi experts, Do we have any views in oracle 9i to see the oracle_home,oracle_base. Thanks in advance

  • Need Help Finding Windows XP Pro Service Pac

    This is day four, and I still can't get my brand new Creative Zen M Vision to work at all. I don't have Service Pack 2, and it was suggested to me that I need it for the player to be recongized on my computer. I'm on dial-up, and last night I was quo