Multiple selction in the dropdownlistbox

Hi All
Can any one help me out that I am implementing the Drobdownlist for box for the multiple selections and to save the selected items in a database table.
I have written code for the oninputprocessing. But I am getting error. unable to proceed further.
            <% DO.
                DATA: listbox    TYPE REF TO CL_HTMLB_LISTBOX,
                      selection  TYPE STRING,
                      selections TYPE STRING,
                      next_id   TYPE STRING.
              next_id = %_testSuite->next_restore_id( ).
              IF next_id IS INITIAL. EXIT. ENDIF.
                listbox ?= CL_HTMLB_MANAGER=>GET_DATA( request = request id = next_id name = 'listBox' ).
                CLEAR selections. LOOP AT listbox->selections INTO selection. CONCATENATE selections ',' selection INTO selections. ENDLOOP.
                IF strlen( selections ) > 0. selections = selections+1. ENDIF.
            %>
              <tr> <td><%=next_id%></td> <td><%= cl_http_utility=>escape_html( listbox->selection ) %> </td> <td><%= cl_http_utility=>escape_html( selections ) %> </td> </tr>
            <% ENDDO.%>
Kindly help me out...
Suneetha

I love Macs as much as anyone and I've never used anything MS. (My first Apple was an Apple lle) but I hear there are some tasks MS handles better. The Mac GUI was created to be point and click.
That was the beauty of it and it still is. "Uhhh.... I want that! CLICK!". MS copied Apple on the GUI implementation but did it with no finesse, too many security flaws and too many patches. Mac's move to OS X was their acknowledgment that to truly break new ground a whole new system was needed.
Mac has always been simple, works out of the box, plug and play and yes, point and click. It is a different system than windows. "Think Different". If you wanted the same system as Windows then you probably would have bought a Windows box, right?
It takes a while to get used to a new system. I know, OS X was quite a learning curve for me coming from Mac OS 9. And yes, there were features in OS 9 that I wish were still in X. But I'd never want my OS 9 back!
You can also usually find free utilities or trialware that do what you want at macupdate.com another advantage of open source.
-mj
[email protected]

Similar Messages

  • How to get multiple values from the list

    I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
    <%     // clicked on Select District Button
    Vector vselectedDistrict = new Vector();
    Vector vdistrictID = new Vector();
    String tmpSelectDistrict = "";
    tmpSelectDistrict = request.getParameter("bSelectDistrict");
    if(tmpSelectDistrict != null)
         // get multiple values from the list
         String[] selectedDistrict = request.getParameterValues("usrTDistrict");
         vselectedDistrict.clear();
         vdistrictID.clear();
         if((selectedDistrict != null) && (selectedDistrict.length != 0))
                             for(int i=0;i<selectedDistrict.length;i++)
                   vselectedDistrict.addElement(selectedDistrict);           
              vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
              for(int i=0;i<vdistrictID.size();i++)
                   out.println("district = " + selectedDistrict[i]);                         out.println("district ID= " + vdistrictID.get(i).toString());
    %>
    // get vdistrict from the database here......
    <select name="usrTDistrict" size="5" multiple>
    <%     for(int i = 0; i< vdistrict.size(); i++)
    %>
         <option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
    <%
    %>          
    </select>
    <input type="submit" name="bSelectDistrict" value="Select District">
    Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
    what I got is this error message:
    org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    So where is going wrong and what the message means?. Any help very much appreciated. Thanks

    These are just guesses that might hopefully steer you in directions you haven't looked in yet.
    I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
    Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
    expects a Vector as its second parameter? And returns a Vector?
    I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector?

  • Sharing one iTunes library across multiple accounts on the same Mac

    Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
    http://docs.info.apple.com/article.html?artnum=93195

    After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
    Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
    iMac G5, MacBook   Mac OS X (10.4.8)  

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to play one clip multiple times at the same time?

    I am writing a little game where a certain sound has to be played quite frequently. I load it as a Clip and play it with
    myClip.setFramePosition(0);
    myClip.loop(0);If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?
    Edited by: andrasz on Feb 27, 2009 12:37 AM

    If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
    A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
    Obviously, that's just a theory. In practice, it may not work that way...

  • There are multiple users with the same display name

    Hi,
    We have a user and when she get an item assigned to her she sees the following alert:
    "There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"
    Now I looked in the database and when I run the following query with the username:
     SELECT     
         [ProviderDisplayName]  
        ,[DisplayName]  
        ,[HasDisplayName]  
        ,[Domain]  
        ,[AccountName]  
        ,[UniqueUserId]  
        ,[LastSync]  
      FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  
    Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.
    We use VS2013 and TFS2013 update 4
    Best regards

    Hi DSW,  
    Thanks for your post.
    In your query result, please check if these two users have the same Account Name. if they are two different Account Name in result, it indicate there’s two users have the same display name in your AD, please check that two users’ information in
    your AD. We suggest change one user’s display name in AD.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multiple Users Mounting the Same Network Share?

    Hello, first time posting...
    I'll cut right to my main question: Is it possible, on OS X v10.3.9, for multiple users to simultaneously connect to the same network share?
    Here in my office, we have a single Mac that is used by multiple people throughout the day. It has two accounts on it, 'Communications' and 'Studio'. 'Communications' is an Admin account that is used by a co-worker who spends the most time on the Mac. He created the no-limitation 'Studio' account for the rest of us to use.
    There is a certain Windows network share that we both frequently use. We've found that if one user connects to the share first, the other user will not have access to it; using 'Go -> Connect to Server' will result in the share being greyed out in the list, and the share will not show up in the Finder.
    However, there is one way around it. If Studio connects to the share first and then Communications (the admin account) attempts to make a connection of it's own *through a shortcut on the dock*, then a 'clone' of the share will be created on Comm's desktop, with a "-1" after the name (though it might be some other number).
    This may sound like I've answered my own question, but what I'm looking for is a way for the non-Admin account to access the share after the Admin account already has (so that we don't have to log-in and disconnect Communications everytime Studio needs to manage files on the share).
    We have Thursby Software's DAVE installed on the Mac, but I'm not sure how it fits into all this.
    Any thoughts, suggestions or advice?
    Thanks.

    Bizarre. It turned out I could merge them, but only in to the mapped drive - L: - and only by explicitly clicking on the drive icon - if I typed L:\series in to dialog box it converted it back to \\nas\share\series... Not helpful.

  • How do you stop multiple users executing the same calc script at the same time?

    We have an issue when  users uplaod a spreadsheet and then run a calc script. at one time we have multiple exectuions of the script running.
    This slows up the system and we have to go cancel all the executions and run it again.
    Can we stop this and put them on a queue, so only one execution of the calc happens at one time. Or stop multiple executions getting submitted at all.

    You could use EXCLUSIVECALC to stop more than one calc running at the same time, although this will apply to all applications on your server.  And it doesn't just stop the same calc being launched twice.  Easier than the alternatives I can think of though, if it works for you.

  • How open multiple responsibilities in the same user login session in R12 ?

    Dear All,
    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?
    Thanks..
    Edited by: G-oracle on Sep 18, 2011 11:22 AM

    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?What do you mean by open multiple responsibilities in the same session? You can only see the menu of one responsibility at a time, so how to do you expect the application to let you see multiple responsibilities/menus in one session?
    You could open another session and this way you can access more than one responsibility at the same time.
    Thanks,
    Hussein

  • How do I open the same ports on an Airport Extreme Base Station for multiple computers at the same time?

    As the title suggests...
    I have a mix of five Mac and PC's at home using an Airport Extreme Base Station as the router.   I need many ports opened on the AEBS for all of the computers- not just one computer.  (for example: three people want to play TF2 on Steam at the same time; each machine needs the correct ports open on the router).   Port forwarding  only allows me to forward a given port to a single IP, yet I need that port open for five differnt IP's, all at the same time. 
    How do I do that on an AEBS?
    In the same way, I have a small office of four iMacs using an old airport with the same exact issue.   I would like to be able to connect to all of them remotely with Apple Remote Desktop, but the port forwarding on the airport only allows a port to forward to a single IP.   I want to be able to tunnel into the office network and log onto any machine behind the Airport extreme... not just a single IP.    I currently have it set up where I can tunnel into the office from my house, I can find the one machine that the port forwarding has been assigned to, I can log on and everything is just fine... with one machine.    How do I open the firewall for the other machines? 
    TL,DR version:  How do you open ports on an Airport Extreme Base Station instead of forwarding ports?   Forwarding ports doesn't work for multiple IP's.  

    You can open a single or multiple ports to a single device or different ports to different devices, but you cannot open the same port to multiple devices via the AirPort Utility for the Apple routers.

  • Can you use sync on multiple computers at the same time? ie have someone else logged into your firefox account for you whilst you are also logged in

    I am trying to sign up to something but there is only a short window so was going to ask a friend to sign in at the same time using my account to try to sign up (with my password being saved into my firefox account)

    Hi. Yes, you can use Sync on multiple devices at the same time. I use it to keep my bookmarks in sync across my desktop and Android versions of Firefox.

  • How can I combine multiple variations of the same library?

    While I have become accustomed to the new Library format/function there are still things that boggle my mind.  Case in point is that I now somehow have multiple versions of the same event showing up although I didn't create them.  And there is also a combination of 2 separate events that I just don't understand.  My current main concern/question is how to combine the duplicitous events?:
    At the top you'll see "Perlick" as the Library and "Beer Cooler" as the Event.  Then down below there is the "Perlick 20140502_1515_CDT".  When I opened the media drive that contains the Perlick event I found a total of 3 "extra" libraries with various long titles as the one just listed.  So, my question is can I somehow combine all of this into one, all-inclusive Library and if so, how?
    Thanks in advance...

    Hello There,
    Try and use tcode VT01N.
    Provide the collective shipment there
    and then click on deliveries & select multiple deliveries there.
    Hope it can assist you
    Thanks & Regards
    JP

  • How can multiple files for the same genre be consolidated

    I organize my iTunes files in genre folders for easy access. ITunes creates multiple folders for some genres and allows a single (preferred) genre file for other much larger files. How can I consolidate multiple files with the same genre?

    Thanks. I've done what you selected. The problem is that despite all files being identified with the same genre, iTunes groups some genres in two separate folders. Thus, I have two "Country" folders, for example. More perplexing is that iTunes groups my largest genre folder, "Jazz", in a single folder.

  • How can I save multiple titles under the same DVD?

    I use HandBrake to rip DVD's into iTunes. How can I save multiple titles under the same DVD? For instance, I have a Jimi Hendrix documentary that comes with special features, such as concert performances. I would like to have the main feature and the special features saved in my iTunes under the same title, perhaps as different 'tracks' (kind of like how different songs can be saved under the same album).
    Is there a way for me to do this, or am I chasing phantoms?

    *This response is for iPhoto 11 (v9). If you're using an earlier version, please post back and let us know. Troubleshooting steps are not the same for different versions. To find out which iPhoto you have: iPhoto Menu -> About iPhoto)*
    Duplicate the photo first. (Photos -> Duplicate). This means that you will have multiple copies of the master as well as the edited version.
    If you use versions like this often and wish to have only one master then you can do this with Aperture.
    Regards
    TD

  • Is there a way to delete multiple pictures at the same time from the iphone4s?

    Is there a way to deleter multiple pictures at the same time, from my iphone4s? I know how to delete one at a time. Thanks

    Open your Photos App > Camera Roll > At the top right corner you will see a rectangle with a right arrow, select that. Now you can select as many photos as you want and you can hit the red Delete button on the bottom right.

Maybe you are looking for

  • One characteristc for multiple plants

    Hello All, In our project we have two company codes and two plants in each company code. In first company QM module is already implemented and we are doing roll out for second company codes. Major QM activities and batch charactristics are same as pr

  • Error while deploying CMP Bean

    hi all, i'm very new in J2EE Technology .I was trying one of the sample application available in sun one examples and sample applicationsm site. I have registered a datasource called hari in my server instance when im deploying the J2EE Application w

  • I just got a 4S but wife has one already & itunes account.  Need advice on how to proceed

    We have Windows 7 and only use one user account.  I am not opposed to creating a new one if need be.  She has itunes & her own account for her iPhone.  We have always used that account for music & sharing it on my iPod.  I now have an iPhone also.  D

  • Question about swapping hard drives...

    Hi there, I recently swapped the harddrive out from my old macbook pro 17" (post 2009 model) into a brand new macbook pro 13". I wanted to see if the OS would still run, and it did. My question is, do I have to perform a re-install of the OS or can I

  • H:panelGrid and td tag attributes

    Hi, I am using h:panelGrid for a static table with just 2 columns and a few rows. My UI designer created two styles for alternating rows. I added following to the panelGrid: rowClasses="rowbg1, rowbg2". The UI designer does not like the fact that tho