Work around / fix for making a list of drop down boxes

Dear experts,
When lists are created, its cells act like top-level views. Because of this, everything attempting to go past the border of the list item is clipped. This is a problem when making a list of drop down boxes. Is there a known work around for this or maybe a fix?
Regards,
Olivier

thank you saish, moving 'the artists are' helps visually, as for the fix, i really needed to store it in an arrayList, resultSets aren't very happy about being manipulated!
here's the fix:
writer.println("<select name=\"userList\" size=\"1\">");
ArrayList a = new ArrayList();
ResultSet r=null;
// this is just my way of accessing the database and the correct method with the artist names in it
r = factory.getCustomersDAO().get_Artist_Names_Only();
while(r.next())
// retrieve artist names as String variables
String artist = r.getString("artist_name");
// add to ArrayList
a.add(artist);
for(int i=0; i<a.size(); i++)
Object art = a.get(i);
art = (String)art;
writer.println("<OPTION VALUE=\"" +art+ "\">" art "</OPTION>");
writer.println("<tr><td colspan = \"2\"><h2>Enter Artist Name to be booked: </h2></tr></td>");
writer.println("</SELECT></TD></TR>");
thanks again, i've got another problem now that i'm just about to post about, how to register when one particular cell in a html table has had its link clicked!
jenxx

Similar Messages

  • Drop down boxes are not working in joomla

    on a joomla website which i am an admin for actually i am an admin for multiply one but the drop down boxes are not working on any of them it is kind of being a pain

    Are there any error messages in the Web Console (Firefox/Tools > Web Developer) about this?
    *https://developer.mozilla.org/Tools/Web_Console

  • 10.4.9 Printing Work-Around Fix - 10 Steps

    VonB has already listed a fix in this thread.
    http://discussions.apple.com/thread.jspa?messageID=4234084&#4234084
    Unfortunately the links he provided there are for a paid site, and if you don't have a membership you're outta luck. I've taken his info, used it and written what I think are clear instructions to help you be able to print in 10.4.9 until Apple releases an update patch. Special thanks to Vonb for pointing me in the right direction.
    Hope this helps...
    Jim
    10.4.9 Printing Work-Around Fix - 10 Steps
    Problem - Many programs will not print in OSX 10.4.9.
    What This Fix Does - Allows you to print in TEXT EDIT. You can then save MS Word files as Text Edit files and print them. Hopefully a fix will soon be released by Apple for OS 10.4.9 or MS for office 2004.
    What This Fix Does Not Do - It won't allow you to print in MS Word if you currently can't, and it won't allow Appleworks to work if it currently doesn't.
    Difficulty - easy to moderate. Can you paint by numbers or do you tend to draw outside the lines? If you follow the directions closely you'll be ok.
    Disclaimer - I typed this fix out for myself and have applied it to my 5 personal macs and 4 at work. It hasn't crashed any of them, but I don't want you to get ****** off at me if it does... so if you screw your mac up by doing this don't say I didn't warn you. This fix isn't for newbies.
    Time to complete - about 1/2 an hour.
    Special Instructions -
    A. You'll need to be logged in as the administrator of the computer you're working on. I've written this help missive in real plain language. If it seems like I'm speaking down to you I'm not, I'm just trying to make sure you don't screw it up and send me nasty emails.
    B. Check to see if TEXT EDIT already prints for you, if it does then skip to #10. (TEXT EDIT can be found in your APPLICATIONS FOLDER on your Macintosh HD.)
    OK... here we go, THE TEN STEPS! (cue dramatic music)
    1. Delete all of your printers in the PRINT & FAX set up in SYETEM PREFERENCES by following this path - BLUE APPLE / SYSTEM PREFERENCES / PRINT & FAX. If the plus and minus button on the bottom left of the dialog window that appears is grey'd out, you need to CLICK ON THE LOCK and UNLOCK it. You'll need the administrator password to do this. Once the lock is unlocked, click on each printer listed there and then click the minus button. Repeat the process until all printers in the print & fax dialog are deleted.
    2. Download two programs from the net. (REMEMBER where you download these files on your computer.)
    A. Download a program called CUPS from this site. http://www.cups.org/software.php?VERSION=1.3svn-r6326&FILE=cups/1.2.8/cups-1.2.8 .dmg
    CUPS is a unix program that Apple uses within Mac OSX to print. Download version 1.2.8 only. When you get to the site, you will have FTP and HTTP buttons to select where to download from. If you're already in a browser, click on one of the HTTP sites. That way you don't have to open an ftp program.
    B. Download and install a program called PRINTER SETUP REPAIR (VERSION 5.0.5) from this site. http://www.fixamacsoftware.com/software/index.html
    PRINTER SETUP REPAIR is a shareware program we'll use to fix some issues... if this works I suggest you go back to this site and be a good net citizen and purchase the software. If it doesn't then don't buy it.
    3. Install CUPS by clicking on the CUPS.DMG file twice. This will open the DMG file on the desktop as a hard disk image. Open the CUPS HD image and click on the CUPS.pkg twice to install the program. Follow the instructions to the end. After installation click close button.
    4. Open psr505te.dmg by clicking on it twice. (it might be called psr505TE.dmg.zip. if it is, click on the psr505TE.dmg.zip file twice to open it, then click on the psr505TE.dmg file twice to open it.) Once the psr505TE.dmg is open, open the PRINTER SETUP REPAIR HD on your desktop. Inside is a program by the same name. Open it by clicking on it twice.
    5. Click the "TRY IT" button, type in your admin password, and click the CONTINUE button
    6. On the left side of the Printer Setup Repair dialogue window, click CUPS TOOLS icon. in the middle of the dialogue box, if the screen reads " cupsd is running" click the STOP button located just to the left.
    7. On the lower right hand side of the Printer Setup Repair dialogue window, under the words "replace current cupsd.conf file with", SELECT "new cupsd.conf file". Then click GO. Then click CONTINUE in the next dialog box that appears.
    8. On the left side of the Printer Setup Repair dialogue window, click on the FILE PERMISSIONS ICON. Make sure that all of the boxes in the middle of the Printer Setup Repair dialogue window are checked except for OMIT LOCALIZED FILES and both of the FOR ALL USERS boxes. At the top of the screen in the middle click on the PRINTER ICON THAT HAS A QUESTION MARK on it. In the window that pops up click CONTINUE. This will run VERIFY AND REPAIR PERMISSIONS from inside the Printer's Setup Repair Program. (I know, there is a repair permissions in the Disk Utility Program already on the mac, it doesn't do something that this program does. I don't know what it does, but this works and Disk Utility doesn't.)
    9. Run it AGAIN! (the second time does the trick for some reason. just once didn't do it on three out of 5 macs that I used this work around on). This should allow you to print in TEXT EDIT.
    10. If you are using Microsoft Word and you want to print something, you need to SAVE AS a text only file (File menu / Save As / Format - Text Only) and print by opening the document in TEXT EDIT and printing from that application. So far this fix has worked on 1 intel iMac, 1 lamp stand iMac, an eMac, a Macbook and an iBook. (Funny enough, my G4 sawtooth Mac running 10.4.9 works fine and prints from MS word without a hitch.)
    If this fix works for you, i encourage you to go back to printer's setup repair's website (http://www.fixamacsoftware.com/software/index.html) and purchase their software.

    Use the install disk that shipped with your Mac to "Repair Disk"
    Steps for using Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair.
    If you repair errors run it until no errors found.
    Let us know.
    -mj
    [email protected]

  • When I am on Safari, the page randomly goes back to the previous page I was on. This is really frustrating when I am writing something online because it does not save my work. Fix for this?

    When I am on Safari, the page randomly goes back to the previous page I was on. This is really frustrating when I am writing something online because it does not save my work. Fix for this?

    (A) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Reset all settings
    Settings>General>Reset>Reset all settings
    Note: Data will not be affected but settings will be reset.

  • Using Yahoo Basic Mail w/FF, no drop down box of my e-mail contacts as I type an e-mail address - but it works in IE 8, plz fix ...

    I use Yahoo Basic Mail. When composing an e-mail, Yahoo has an "e-mail address autocomplete" function. As I begin to type an e-mail address in the To CC, or BCC boxes - if there are addresses in my Yahoo Contact list with the same string of characters, a drop down box appears and I can click on the desired address and it populates the To, CC, or BCC box. This is an extremely convenient feature.
    And, it works with IE 8. BUT, this feature DOES NOT work with FF 30.
    Obviously, this is a problem with FF 30 - can you plz advise as how to correct the problem?
    FYI: Java plug-in is always activated and JavaScript is default enabled in FF 30 on my PC.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Click the menu button [[Image:New Fx Menu]] and click History button, and then Clear Recent History... .
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Drop down boxes like the ones used for dates don't work and hav'nt work for quite a while. What's going on?

    Drop down boxes have not worked for the last few revisions of
    Firefox. I've tried eliminating all add ons etc. bit to no avail. It does
    not seem like this should be such a big problem to fix, since these
    objects used to work fine in the past. I really like Firefox otherwise
    and would hate to have to resort to another browser. The drop down box shown below does not work either, but that may be due to lack of content.

    Yes, I've disabled everything. Even changed Windows 7 Themes, but no luck.
    After sending this reply, it occurred to me that Actual Window Guard might be
    the problem. When I excluded the Firefox window from Actual Window Guard
    control the drop down boxes worked. Wish I would have thought of it sooner. Thanks to everyone who made suggestions and tried to help. I really do appreciate your time and effort.

  • At the top of my Mozilla home page, it lists the current URL site I am on. How do I delete them and the others in the drop down box? Highlighting and hitting delete does not work

    At the top of my Mozilla home page, it lists the current URL site, such as http://www.safeco.com, I am on plus the others in the drop down box. How do I delete them. Highlighting and hitting delete does not work.
    I am using windows Vista 007 and Mozila 3.6.1.3

    Do those entries have a yellow star at the far right?
    If they have then they are bookmarks. You can remove them if you open that link and click the star to open the Edit This Bookmark dialog and click the Remove button in that dialog.
    * [[Clearing Location bar history]]
    * [[Cannot clear Location bar history]]

  • Need to sort drop-down box list

    How do we go about sorting in ascending/decending order a drop-down box list of text/name items?

    Christian,
    Thanks for pointing this out. It looks like Acrobat 8.0 broke something that prevents my sample form from working correctly.
    It has to do with the call to
    resolveNodes("#items[*]")
    Fortunately, the bug will be fixed in Acrobat's next release.
    As a workaround, I would encourage you to have a look at the
    new list object properties and methods now available in Acrobat 8.0. You should be able to use a combination of those new properties/methods along with some of the original script in this sample in order to come-up with an update solution that works.
    Stefan
    Adobe Systems
    More answers on
    FormBuilder.

  • My drop-down list won't appear anymore so every time I want to go to a new site I have to type it in where before my drop-down box would appear and I could just click it and hit search and go there how do I make my drop-down box come back

    somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe

    It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
    I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
    And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason.

  • Is this a bug for drop down box in DS1.3?

    I found that if there were many items (e.g. 50), when I clicked the arrow of the drop down box, it showed the items and then disappeared all the items except "ALL". I have to use "F4" key to display all the items and use scroll bar to show the items.
    It is OK when there are few items and no scroll appears in the list.
    Did anybody meet with the same problem?
    Thank you.

    Roam,
    Thanks again for your suggestion,
    "Furthermore one should always Repair Permissions both before doing a Software Update and again afterwards."
    I honestly dont know anything about this "Repair Permissions" from the name, i though it is a verification of authentication to repair OS or some kind of credential issue, and since i m admin user then there is no point to verify it, i should be allowed to do so. Again it is my first time to do this thing in 3 - 4 years of using panther, every time i update software i never ever do this! If this step is essential for every update and installation why dont apple put them as one of TODO step during the processes (as licensing agreement) instead of keep them as an option (just my thought) Anyway, I m glad u tell me about it, and i will give it a shot tonight.
    "That may because you didn't have sufficient disk space. In fact running out of disk space can create all sorts of problems. Please tell me how disk space is available on your
    start up drive."
    That what I thought coz i have only 5.x GB left in 60 GB HD. Thats why I claimed as whining and have to scarify the lost of data by reinstall panther in order to get my mac back to work
    "So are you saying it is a bug or it is a hacker, I don't believe it is either"
    Please see second update info about password, and i m not impose anyone to believe, thats why the topic is a questioning sentence "Is this a bug.."
    "This Discussion site is not Applecare. The people here give their time voluntarily to those who are receptive to help."
    Thats why i ask for "mac expert" not "apple authority/technician" and always appreciate any suggestion.
    Anyway, that great to hear from you and i have learned new thing from your suggestion. I will let u know when i have tried it.

  • AppleScript how to use "get" for field information and drop-down boxes?

    Hi all,
    First post.
    Looking to use the "get" function or similar for getting information in a list or from a drop-down box or a field.
    Example, you open keychain, open the info. for a cert and want to read the currently selected trust setting for "When using this certificate" drop-down.
    Or, you want to check the Common Name field under details.
    How would I return these specific values?
    Thank you,
    -b

    The exact question being asked here: http://forum.soft32.com/mac/select-table-row-ftopict101735.html
    But, that doesn't work with the latest AppleScript.

  • How to set default value for drop down box in jsf

    Hi,
    Can anyone help me to set the default value in drop down box using <af:selectManyChoice> ?
    As I know there is an unselectedLabel attribute in <af:selectOneChoice> but not valid attribute for <af:selectManyChoice>.
    Any help must be appreciated.
    Regards,
    AK

    Hi Frank
    My entity type is a List in managed bean. I have set the entityType in the constructor of the managed bean. I have attached my code here.
    TPSearchCriteriaBean.java****************************************
    /** Constructor */
    public TPSearchCriteriaBean() {
    super();
    entityType=new ArrayList<String>();
    entityType.add(UIConstants.LIST_ITEM_ALL);
    authorizationType=new ArrayList<String>();
    authorizationType.add(UIConstants.LIST_ITEM_ALL);
    companyType=new ArrayList<String>();
    companyType.add(UIConstants.LIST_ITEM_ALL);
    mrgStatus=new ArrayList<String>();
    mrgStatus.add(UIConstants.LIST_ITEM_ALL);
    legalStatus=new ArrayList<String>();
    setEntityType(entityType);
    setAuthorizationType(authorizationType);
    setCompanyType(companyType);
    setMrgStatus(mrgStatus);
    country = "0";
    //address = new AddressBean();
    UIConstants.java***********************************************************
    public static final String LIST_ITEM_DEFAULT = "select";
    public static final String LIST_ITEM_ALL = "0";
    LOVManager.java*****************************************************************
    public List<SelectItem> getLovList(String lovType, boolean requiredOption_SELECT, boolean requiredOption_ALL)
    log.debug("LOV loading for " + lovType + ": START");
    List<SelectItem> lovList = new ArrayList<SelectItem>();
    //check validity of lov loading request
    validLov:
    for (int i = 0; i < lovTypeArray.length; i++)
    if (lovTypeArray.equals(lovType))
    break validLov;
    log.debug("ERROR: LOV Type not valid.");
    return lovList;
    //First select is replaced by ALL here
    //<-- Select --> should be an option
    if (requiredOption_SELECT)
    lovList.add(new SelectItem(UIConstants.LIST_ITEM_DEFAULT, "--Select--"));
    LOVDao dao = new LOVDao();
    dao.loadLOVValues(lovType, lovList);
    log.debug("LOV Loading successful!");
    //<ALL> should be an option
    if (requiredOption_ALL)
    lovList.add(new SelectItem( UIConstants.LIST_ITEM_ALL, "ALL"));
    return lovList;
    Kindly help me.
    Regards,
    AK

  • When I'm on Facebook and play Fish World, sending gifts is no longer working, the drop down box won't open enough to see the "send" button. It works in other games, but not in Fish World, and I contacted Fish World who said it was a browser problem.

    starting yesterday I cannot get the drop down box to open to send gifts to my friends. Fish world told me a few weeks ago it was due to some updates with Facebook, but now that has been fixed and I can't get the game inFB to work. It works with other browsers - Chrome and IE9. Is there something I need to do on my end to fix this? Other facebook games work fine with drop down boxes, it's only fish world.

    problem solved

  • Crystal report Chose from List or drop down value in parameter from UDT

    Hi Experts,
    I had face a issue while creating a report for my client in crystal report , I had create a report and in the parameter field I want to select the value from the chose from list or drop down value from the User define table.
    In parameter had written field as : Code@Select * from dbo. [@UDT] ;  but in the report filled I am not able to select the value.
    Please Help me ! Thanks in Advance. :

    HI
    Welcome to the Forum...
    You cannot put all the values in a single parameter field so you need to select each field for each parameter...
    Better you post it in this link for more reponses:
    Reporting and Printing

  • I go to a website that has drop down boxes to select videos they do not work in Firefox but do in IE

    I am working in a site called Niche Proffit Classrooms. They require me to use Firefox. I have installed Firefox 11.2. Their drop down boxes to choose a video to watch work fine in IE but not in Firefox when using my desktop. They only drop down to expose 1 video out of 8. If using my laptop, they work in Firefox. I have uninstalled and reinstalled Firefox 11.2 on my desktop but it still does not work.

    ''"I have installed Firefox 11.2"'' - There's no such Firefox version. It could be either Firefox 11 or Firefox 12.
    * see this article to find-out your Firefox version -> [[Finding your Firefox version]]
    Regarding your problem, perform the suggestions mentioned in the following articles:
    * Make sure that you are using the '''"Remember History"''' setting as described in this article -> [[Settings for privacy, browsing history and do-not-track]]
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    Check and tell if its working.

Maybe you are looking for