How do I properly map my electronic drums to GarageBand?

Hello,
I have a set of Yamaha DTXplorer (DTXPL) midi drums, and have a problem using them with the majority of samples for GarageBand.
The biggest issue is that the Snare Drum doesn't seem to be mapped from the drum set to the software instruments. (Hitting the snare doesn't produce any sound). The other drum parts seem to work fine, just not the Snare Drum.
Is there any information on how to map my drum set to be completely in synch with GarageBand standards?

Mapping DTXPLORER MIDI using GarageBand
Here is the (hopefully) definitive guide for getting a Yamaha DTXPLORER (a.k.a. DT-Explorer, DTXPL) electronic drum set to connect to Apple's GarageBand via MIDI.
SYMPTOM: When connecting DTXPLORER to GarageBand using MIDI, the snare drum is silent and the bass drum triggers a sort of snare roll instead of a bass hit.
PROBLEM: The DTXPLORER (for whatever reason) sends out the snare note on G2 (key 31) and the kick note on A2 (key 33). This is a non-standard MIDI key mapping for these instruments.
SOLUTION: Remap the snare and kick MIDI notes using the freeware app MidiPipe from SubtleSoft (http://homepage.mac.com/nicowald/SubtleSoft/) to the standard GarageBand MIDI keys using the following steps:
(Note: These settings were tested using GarageBand 3.0.2 and MidiPipe 1.4.1.)
1. Connect your DTXPLORER via MIDI to GarageBand and verify that GarageBand can record the drum sounds.
2. Close GarageBand.
3. Launch MidiPipe. You will create a Pipe that looks like this:
Midi In
Key Mapper
Key Mapper
Midi Out
Do so by dragging the appropriate components from the Tools column to the Pipes column in the appropriate order.
4. Once you've assembled the pipe (with the components in the correct order listed above), configure the settings as follows:
Midi In:
- Midi Input: (Your USB or FireWire MIDI device)
- Options: check "hijack"
Key Mapper (kick drum):
- Key In: A2 (33)
- Key Out: C3 (36)
- Options: UNcheck "Solo selected "Key In""
Key Mapper (snare drum):
- Key In: G2 (31)
- Key Out: D3 (38)
- Options: UNcheck "Solo selected "Key In""
Midi Out:
- MIDI Output: MidiPipe Output 1
- Options: UNcheck "Pass Through" and UNcheck "Use Note Off Velocity"
5. Choose File: Save As and save your pipe to a memorable location. You will need to retrieve this file every time you wish to record your drum set using GarageBand.
6. Relaunch GarageBand and attempt to record your drum set. The snare and the bass drum should now be mapped correctly!
Note: If you have having difficulties with the pipe and would like to verify that the key mapping is taking effect, add a "Keyboard" component to the pipe after the "Key Mapper"s. That will give you a visual representation of which key is being triggered for each drum pad.
MacBook Pro 17"   Mac OS X (10.4.6)   2GB RAM

Similar Messages

  • How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
    If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB.

  • How can I record and edit using an electronic drum kit to midi on a windows based PC (That I will eventually use in Garageband)?

    Hi there
    I know this isnt really a Garagband question and possibly a little off GB topic, but in the end I will be using the midi file in Garageband so it kind of is
    I'm new to Midi recording so please bare with me.
    I am looking to do the following.
    Have my drummer record from his Session Pro DD505 electronic drum kit (which has a midi out) into his windows based computer via midi (He owns a usb to midi cable), so that he can then email me the midi file, so I can add it to a song in Garageband on my Mac. I will then choose the sound of the drum kit myself from Garageband.
    He needs to be able to correct any errors he has made in the midi file before emailing it me, either by re-recording sections or by moving the incorrect drum notes to the correct beat.
    I guess he would need to be able to hear the song that he is playing along to, and possibly have a click track playing at the same time.
    So I guess what I am looking for is some FREE windows software to be able to record midi drum files into, that can also be used to edit the midi file after. A separate free piece of software could also be used to edit the drum midi files instead though.
    I know that I can correct the midi drum files myself in Garageband, but I would rather my drummer spent the time doing this, not myself.
    I've spent a bit of time googling this today but keep bringing up the wrong things as I'm probably using the wrong search terms.
    So, any ideas?
    thanks

    You will be able to use the Cubase AI4 with any audio interface. Another option is to look for a 30 day demo of software like Reaper http://www.reaper.fm/index.php It won't stop after 30 days... just your concience needs to respond
    Problem is though that if all you want to record is the MIDI then your drummer will also need some drum sounds in the form of a software instrument or a 3rd party VST to load into the recording software. So another program that comes uncrippled but has drum sounds in it is Ableton Live http://www.ableton.com/products However this can be an intimidating piece of software and it also cripples itself after 30 days.

  • How do I change the voices of my electronic drum set?

    Yesterday I purchased a Roland TD-9KX electronic drum set and an M-Audio MIDISport Uno interface and got them all plugged in and playing nice with each other.
    In Garageband, I can toggle the drum kits from Big Beat to Electro to Hip Hop to Rock and so on, but I want to change just one voice of the drum at a time. Say for example I want to load the Hip Hop Kit, then change just the High Hat or change just the Kick Drum to some other sound.
    Garageband seems to have a preloaded arrangement of notes that the drums will play for each set and I can't see anywhere to change it. Like what if I wanted to make the kick drum sound like a dog barking, assuming that sound was in the kit? And what if it was in another kit?

    you can't, you'd have to build your own instrument:
    http://www.bulletsandbones.com/GB/Tutorials.html#buildaninstrument

  • Garageband and Electronic Drum DTXPlorer300

    i have a macbook pro whit garageband 08 installed and i have a electronic drum Yamaha DTXPlorer300, my problem is that i am connecting my drum using a "M-audio Midisport UNO" it is an midi interface (midi-usb)... it is detected by GB but when i play my drum the sound that GB recognises is other than what i expected, for example if a play the Kick bass drum pad, garagaband recognise it as Snare pad, i don't know what to do, or what setting can change to assign another value into the midi Channel, please help me thank you....

    ok i used the Midipipe software and i fixed the mapping on the snare, but in the bass drum, i did it too, just that i still listen a sort of snare and the bass that i mapped, i followed the process from this page
    http://www.bigbluelounge.com/forums/viewtopic.php?p=263533&sid=ec53ce5387045d1da 8511dd937071746
    and it works but i don't know how can i do to just use the key that i am mapping insted of using both simoustanesly... thank you and ill be waiting for our help

  • MIDI Electronic Drums

    I am not very well versed in both MIDI and Logic so please consider this a newbie question. A friend of mine has electronic drums that he would like me to record. The output of the module has both stereo and midi. I don't want to use the stereo outs because I want to have as much control of each drum sound as possible, so I assume using the MIDI out would be the way to go. I've been reading the mapped instruments section in the manuel but don't quite get it yet. I guess my question is, given the outputs of the module, how can I record/seperate each drum sound to it's own channel. Thanks.

    I don't want to use the stereo outs because I want to have as much control of each drum sound as possible, so I assume using the MIDI out would be the way to go.
    Yes, that's right.
    But there are many ways to achieve what you want;
    1) Most eDrum kits use (GM) General MIDI (Extended) formats, so they transmit the MIDI data on Channel 10, using a 'standard' pad assignment to trigger a virtual instrument (V.I) in Logic. For example, the kick is on C1 (note #36), the snare is on D1 (#37) etc. Again, most eDrum kits let the user reassign those outputs to match a software instrument if you need to - often you don't, if you're using a standard kit in your V.I.
    If you record the MIDI data in Logic, and use a drum sampler [(such as EZ Drummer or Superior drummer)|http://www.toontrack.com/products.asp?] the MIDI notes will play the correct drum sound, as these instruments understand which note plays the kick, snare, hi-hat etc. Using one of these drum instruments also enables you to create multi-channel outputs so you can process and mix the tracks individually, or you could use one of the drum sampler instruments in Logic's EXS24.
    2) If you don't have a dedicated V.I. you still have many options. You can separate out the MIDI notes contained in your MIDI region to separate tracks. You'll find a command in the 'Region' menu in Logic's arrange window which is 'demix By note pitch.' Using this on your MIDI region will create new tracks - one for all the kick notes (C1), one for all the snare notes etc. Then you can assign multiple instances of a V.I each of which will play the only sound you have assigned to that note.
    3) Mapped Instrument. This is an instrument that you can create in Logic which will take all of one MIDI note, and reassign it to another note to match your V.I. Usually, you don't have to use it, unless you have a non-standard MIDI layout for either the eDrums or your V.I. It can be convenient to have anyway, to save as templates for various setups you might want to use, but as you say you're just starting out, you may not need this feature yet. It's also useful if your eDrum kit doesn't have the ability to change it's pad assignments to different notes, or you're using a non-standard custom set of samples, such as a percussion kit, where you may want to assign your snare MIDI pad to a shaker, for example.
    If you're sure you need to use a mapped instrument, then post again for details on how to set it up. Meanwhile, more details about the eDrums you are using, together with which V.I. you're planning to use, would help to give you more specific answers.

  • How do I import Map Info Tab files into Spatial for a map of europe?

    How do I import Map Info Tab files into Spatial for a map of europe via FME and have oracle spatial draw the map without problems?
    So far I've got to the stage where I can import the data, spatially index it (in oracle 9i) and get my SVG (scaleable vector graphics) application to view the map.
    The problem is that countries that have more than one polygon (more than one row in the database) do not draw properly.
    When I view the Map Info tab file in the FME viewer I can see that the data is fine, but I can also see that some of the polygons used to draw a country are donugts and some aren't.
    This seems to cause a problem when I import the data into oracle spatial as I don't know if a row in the table needs to be inserted as an independent SDO_GEOMETRY or if it should form part of a larger SDO_GEOMETRY (as in 2 or more rows make up the polygon shape for a country).
    I have a feeling that I'm not using FME correctly, because at the moment I have to import the tab file into Oracle then re-insert the data into a spatially formatted table (one with a spatial index) - I get the impression that FME should do that for me but as I'm new to this I don't really know.
    Any Help welcome :|
    Tim

    Tim,
    MapInfo has a free utility called EasyLoader that allows you to upload a table directly to Oracle. EasyLoader creates the geometries and spatial index. You can download it free from http://www.mapinfo.com/products/download.cfm?ProductID=1044
    Andy Greis
    CompuTech Inc.

  • Electronic drums

    electronic drums: I am trying to connect my alesis triggerio to garageband on the latest osx. I thought I saw something on the web about what settings or drivers I need. Please help :-(
    I can see the triggerio in the midi devices in audio midi set up.
    I thought I saw something where the usb connection would show up in the choices for input source?
    THanks

    Yes. GB seems to indicate that it is connected to the midi. But no sound.
    Do I need to do something like this ???
    http://www.vdrums.com/forum/showthread.php?54532
    First of all You got a Mac.... It's perfect!
    Now i'll tell you how to use it.
    Plug all MIDI device you want to use and turn it on. Don't forget to plud your USB to MIDI device!
    Go in the appliction folder.. You'll see another folder cll UTILITIES.
    Get in there and you'll see AUDIO MIDI SETUP. Double click on it!
    Click on the ON THE FIELD OVER CONFIGURATION and put it on NEW.
    Give it the name you want... Ex: Test config Midi
    You should see your USB to MIDI device.
    Click on ADD DEVICE and configure it well...
    EX: You'll see a new KEYBOARD... double click on it and change the icone to the one that you want . I've take the second one that look like my TD-12. Enter the DEVICE NAME (V-DRUM), MANIFACTURER (ROLAND) AND THE MODEL (TD-12) and put the chanel you use. Click on APPLY
    What's next.....
    Do you see the little arrow on the buttom of the USB-MIDI device and at the top of your V-DRUM... click on it and DRAG UNTIL OU CONNECT IT TO YOUR DEVICE.... THIS IS THE WAY TO CONNECT YOUR DEVICE VIRTUALY. THIS IS VERRY IMPORTANT. ENTER EACH DEVICE END PLUG IT VIRTUALY ON EACH OTHER.
    Now open garage band and you'll get a message that you've got a new midi device. GREAT.
    Create a new project..
    click on the + icone on the buttom left and choose Software instrument.Click on CREATE.
    You'll see a new GRAND PIANO track. click on it and change it to DRUM KITS and chose the want you want!
    Now save your project.
    Take your drum stics click on the record button and play.

  • Please Help::How to display a Map with LIsts as Keys and Values using JSTL

    Hi,
    I need some assistance on how to display a Map in JSP using struts or core JSTL. I have a HashMap which has a List of keys and each key maps to a value of an ArrayList.i.e I have an ArrayList of taxCodes and each taxCode maps to a value of taxDetails which is an ArrayList of details for for that particular taxCode. I have some trouble to display each taxCode then display taxDetails for each taxCode. Here is my code below:
    OrderDetails.java
    package orderitems;
    import java.sql.*;
    import java.util.*;
    public class OrderDetails {
        private LineOder lineOrder;
        private Map lineItems;
        //returns an item number, key_item, from its unique keys
        public int getItemNumber(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            int itmNum = 0;
             * key_item a unique number for an item.
             * key_year,key_office,key_client,key_company unique keys
             * for each order where this key_item is taken
             * from.
            String select = "SELECT key_item FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + key_item +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                if(rst.next()){
                    itmNum = Integer.parseInt(rst.getString("key_item"));
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itmNum;
        //get a list of item number(item codes)
        public List getAllItemNumbers(String key_year,
                String key_office,String key_client,String key_company){
            List itemNumbers = new ArrayList();
            LineItem itemNumber = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            String select = "SELECT key_item FROM "+ Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    itemNumber = new LineItem();
                    itemNumber.setKey_item(Integer.parseInt(rst.getString("key_item")));
                    itemNumbers.add(itemNumber);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemNumbers;
        //get a list of tax codes
        public List getAllTaxCodes(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            ItemTax taxCode;
            List taxCodes = new ArrayList();
            int itemNum = getItemNumber(key_item, key_year,
                    key_office,key_client,key_company);
            String select = "SELECT key_tax_code FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + itemNum +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    taxCode = new ItemTax();
                    taxCode.setKey_tax_code(rst.getString("key_tax_code"));
                    taxCodes.add(taxCode);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return taxCodes;
        /////This methode returns a Map which am trying to display in JSP
        //use tax code to get tax details
        public Map getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
                System.out.println();
                System.out.println("*********CONSOLE OUTPUT*************");//display on console
                Set set = itemTaxDetails.keySet();
                Iterator iter = set.iterator();
                System.out.println("Key\t\tValue\r\n");
                while (iter.hasNext()) {
                    Object taxCode=iter.next();
                    Object details=itemTaxDetails.get(taxCode);
                    System.out.println(taxCode +"\t" + details);
                System.out.println("************************************");
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemTaxDetails;
        //details of an item with all its taxes
        public List getAllItemDetails(String key_year,
                String key_office,String key_client,String key_company){
            List lineItems = new ArrayList();
            List itemNumbers = new ArrayList();
            Map taxDetails = new HashMap();
            LineItem item = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //A list of all item numbers in the declaration
            itemNumbers = getAllItemNumbers(key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator itemIter= itemNumbers.iterator(); itemIter.hasNext();){
                    LineItem itemNum = (LineItem)itemIter.next();
                    int itemNumber = itemNum.getKey_item();
                    String select = "SELECT item_description,item_mass," +
                            "item_cost" +
                            " FROM " + Constants.WEB_TABLE +
                            " WHERE key_year = '"+key_year+"'" +
                            " AND key_office = '"+key_office+ "'"+
                            " AND key_client = '"+key_client+ "'"+
                            " AND key_company = '"+key_company+ "'"+
                            " AND key_item = " + itemNumber;
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        item = new LineItem();
                        item.setItem_description(rst.getString("item_description"));
                        item.setItem_mass(Float.parseFloat(rst.getString("item_mass")));
                        item.setKey_item(Integer.parseInt(rst.getString("item_cost")));
                        //////other details records ommited//////////////////////////
                        /* A HashMap of all itemTaxeCodes as its keys and an
                         * ArrayList of itemTaxedetails as its values
                        taxDetails = getItemTaxDetails(item.getKey_year(),item.getKey_office(),
                                item.getKey_client(),item.getKey_company(),item.getKey_item());
                        //item tax details
                        item.setItmTaxes(taxDetails);
                        //list of items with tax details
                        lineItems.add(item);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineItems;
        public Set getOrders(String key_year,String key_office,
                String key_client,String key_company){
            List lineItems = new ArrayList();
            Set lineOrders = new HashSet();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            LineOder lineOrder = null;
            String select = "SELECT * FROM " + Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    lineOrder = new LineOder();
                    lineOrder.setKey_year(rst.getString("key_year"));
                    lineOrder.setKey_office(rst.getString("key_office"));
                    lineOrder.setKey_client(rst.getString("key_client"));
                    lineOrder.setKey_company(rst.getString("key_company"));
                    ////list of items with all their details
                    lineItems = getAllItemDetails(lineOrder.getKey_year(),lineOrder.getKey_office(),
                            lineOrder.getKey_client(),lineOrder.getKey_company());
                    //setting item details
                    lineOrder.setItems(lineItems);
                    //a list of order with all details
                    lineOrders.add(lineOrder);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineOrders;
    Controller.java
    package orderitems;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Controller extends HttpServlet {
        private Map taxDetails = new HashMap();
        private OrderDetails orderDetails = null;
        protected void processRequest(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            String key_year = "2007";
            String key_office = "VZX00";
            String key_company = "DG20";
            String key_client =  "ZI001";
            int key_item = 1;
            String nextView = "/taxdetails_list.jsp";
            orderDetails = new OrderDetails();
            taxDetails = orderDetails.getItemTaxDetails(key_year,key_office,
                    key_company,key_client,key_item);
            //Store the collection objects into HTTP Request
            request.setAttribute("taxDetails", taxDetails);
            RequestDispatcher reqstDisp =
                    getServletContext().getRequestDispatcher(nextView);
            reqstDisp.forward(request,response);
        protected void doGet(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>Simple Tax Detail Diaplay ::</title>
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <jsp:useBean id="taxDetails" class="java.util.HashMap" scope="request"/>
            <table>
                <c:forEach items="${taxDetails}" var="hMap">
                    <tr>
                        <td><c:out value="${hMap.key}" /></td>
                        <!--td><%--c:out value="${hMap.value}" /--%></td-->
                    </tr>
                </c:forEach>
            </table>
        </body>
    </html>am displaying taxCodes(in this case i have VAT and ICD) fine but cant figure out how to display a list of value for each taxCode.Here is the output am getting
    both in my JSP and on the console:
    *******************************CONSOLE OUTPUT****************************
    Key          Value
    ICD     [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    VAT [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    Edited by: aiEx on Oct 8, 2007 6:54 AM

    hi evnafets,
    yes i need a nested for loop.I have tried your advice but my bean properties are not found.Am getting this error:
    javax.servlet.ServletException: Unable to find a value for "key_item" in object of class "java.lang.String" using operator "."
    I have tried this as stated earlier in the post:I have tried to make the method getItemTaxDetails return a List and get the returned list value as taxDetails. I then tested to display this list on JSP and its displaying fine.
    public List getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            //return itemTaxDetails;
            return taxDetails;
        }And my JSP
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <table>
                <c:forEach var="curRecord" items="${taxDetails}" varStatus="rowCounter">
                        <c:choose>
                            <c:when test="${rowCounter.count % 2 == 0}">
                                <c:set var="rowStyle" scope="page" value="odd" />
                            </c:when>
                            <c:otherwise>
                                <c:set var="rowStyle" scope="page" value="even" />
                            </c:otherwise>
                        </c:choose>
                        <tr class="${rowStyle}">
                            <td>${curRecord.key_item}</td>
                            <td>${curRecord.tax_value}</td>
                            <td>${curRecord.tax_limit_val}</td>
                        </tr>
                    </c:forEach>
            </table>
        </body>
    </html>I can't see where am going wrong even with your advice.Please help.
    Thnx.

  • How do I properly zero out or erase the hard drives in my early 2009 Mac Pro 4,1 tower?

    How do I properly zero out or erase the hard drives in my early 2009 Mac Pro 4,1 tower?
    I assume there are already instructions on Apple.com someplace but haven't seen them yet… I have to one terabyte drives one the operating system the other is blank I want to start fresh I want to zero out both drives but I didn't want to make any mistakes
    I know I can use disk utility to 0 Out Dr., #2 that means I will have to take out the operating system hard drive out of my 2008 Mac Pro and put it into my 2009 Mac Pro to use the disk utility to zero out drive one the OS drive in my 2009 Mac Pro am my correct
    I just need a little bit a help I want to go slow so I don't make any mistakes with the sleds or with the erasing process which journaled to choose encrypted or not etc. etc.
    Furthermore is there instructions on the site on how to change the hard drive into a different sled because the sleds and my 2009 are different than my 2008 any advice
    Thank you

    I'm doing this because my friend told me that zeroing out the drive can nap bad sectors and also later for some kind of diagnostics usage of the drive or something like that he wasn't really clear
    My friend was really specific he said choose the option that writes zero's once over the drive that is plenty good enough I was inclined to use the maximum seven write ...I just want to make sure the drive has no bad sectors and that's it's it's zeroed out for possible future diagnostics usage or something that he said was usable later
    he also advised me to run a test on it but I don't have the software you mentioned or the software that he has… So I may have to take the drives over to his house unless you have some kind of free software that's easy to use that you could suggest that will not only zero out the drive but test the drive completely
    I am completely new to Mac I'm no dummy but at the same time I'm not super technically capable I mean I can surprise myself I'm pretty good but I need a good teacher… How expensive is this lifeguard software?
    Thank you

  • How to integrate bing map for including or displaying multiple locations at the same time

    how to integrate bing map for including or displaying multiple locations at the same time

    Have you aware of the geolocation field that's been introduced with SharePoint 2013?  You can store location data within a list and then integrate this within Bing.  The second tutorial on this Bing team blog will show it well.
    https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do i properly erase an iphoto folder?

    unfortunately (and ironically), in my paranoia to not lose any photos, i've imported similar photos several times into iphoto. i then used iphoto diet, but it does strange things sometimes - in my experience, it doesn't always remove the proper duplicate (but the thumbnail), etc. so i've resorted to manually sorting each of 15K (ouch!) photos to remove the correct duplicate. i do this by sorting through the photos for different years. i've started working on 2004, and wanted to start with a clean slate and erase all the photos, then only import the orinigals i want, but iphoto 'residually' shows the saved thumbnails (i think they're thumbnails b/c they are only about 16kb, and don't open to full size - i get the 'white screen' that others have mentioned). i entered the iphoto folder (i know - a no no, but didn't know how else to erase 2004 photos) and deleted the 2004 folder.
    sorry for being so wordy - can you suggest a way to eliminate my 2004 photos in a way that would be iphoto-friendly ?
    thanks for any suggestions.
    -vince

    There are several ways to erase photos, slideshows and albuns from iPhoto.
    First of all, to make you more feel secure all you photos are actually in your iPhoto library- that means they have been copied to you pictures folder. Whatever you do with them, the originals are kept. I mean, if you have one photo in a certain album and if you erase it from that album, the original is kept in the Library and pictures folder. All iPhoto does is like an alias to the Library, so it is perfectly safe to erase an album or slideshow in iPhoto, since the real photos are in the Library, and the most real ones are still kept in the pictures folder on the finder.
    ..."how do i properly erase an iphoto folder?"- select it and press "delete" or on the "edit" menu--> "erase/delete/cut"... again... don't worry about the content of this folder/album, because they will remain either on the iPhoto Library and pictures folder on the Finder.
    Sorry to be so confusing...
    Hope I've been helpfull.
    Kisses from Portugal
    CV

  • How to use Google Maps by Visual Composer?

    Hi all,
    I'm creating some simple applications by Visual Composer in which I wanna use a Google Maps in VC,
    and i have now successfully got to the STREET, POSTL_CODE, CITY and COUNTRY came from the BAPI.
    (i am trying to use the Bapi_Customer_Getdetail2.)
    but,i didn't get how to connect Table View and Html View.
    I have already checked the below links. but i fail to understand how to do it.
    Re: Google Map and VC
    Help on google maps
    https://wiki.sdn.sap.com/wiki/display/VC/Using%2bGoogle%2bMaps
    I have many unknowns, could you tell me how to use Google Maps by VC.
    (* About Our VC viersion : SAP NetWeaver Visual Composer EHP1 SP2 for SAP NetWeaver 7.1)

    Some thread are say that create the URL fields. like the below messages.
    The STREET, POSTL_CODE, CITY and COUNTRY come from your BAPI. The other variables url* are default values to create the URL that is requiered for walweb.
    URL1 'http://walweb.nl/walweb/picsfromspace/maps.php?LanguageRadio=dutch&AddressInput='
    URL2 '&ZipcodeInput='
    URL3 '&StateInput=&CitycodeInput=&CityInput='
    URL4 '&CountrySelect='
    URL5 '&ZoomSelect=17&PoiInput=hidden&PoiButton=Interessante+Punten'
    Where should I create those fields? at the Table Vies?
    and also i dont get where should i set the below. is that setting at the [[Map Data]]-[[Assigned Value]]??
    STORE@Url1 & @STREET & STORE@Url2 & @POSTL_CODE & STORE@Url3 & @CITY & STORE@Url4 & @COUNTRY & STORE@Url5
    best regards,
    Masahiro Minagawa

  • How to remove a mapped drive

    Hi all,
    i created a mapping in my iMac pointing to a folder on my notebook with windows.
    When I start Parallels to run a Windows VM and my notebook is not connected to the lan, the system stays popping up a message saying "The connection fails, maybe the server Notebook doesn't exists or blablabla...".
    I would like to know how to remove this mapping because it doesn't appear on my Mac Desktop if my notebbok is connected to the lan, but when using Parallels, is almost impossible to work with the message popping up all the time.
    TIA,
    Alano.

    The drive doesn't appear on the list...
    That's the problem...I don't know where should I go to exclude this configuration...

  • How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0).

    Hi,
    I am looking for this document: How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0), and not able to find it.
    Can anybody please point me the location, to look for, or post the document.
    Thanks,
    Namadev

    Hi Namadev Chillal  ,
    These r the links containing PDF docs which u r looking for:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

Maybe you are looking for

  • Looking for ways to safeguard my Mac against malware - which I introduced - guilty

    I was prompted to read this chatline in my search for Mac malware detection software, after someone recommended this.  Reading from someone's post that  “Cracked” copies of commercial software downloaded from a bittorrent are likely to be infected.”

  • No longer have access to data directories after installing 2008 Express

    I installed SQL Server 2008 Express on a virtual 2008 R2 Server, configured with separate drives for the various data directories (database, Temp DB and Backup) I am part of an Admin group and had access to the these drives prior to the install. Afte

  • GR G/l Accounts

    When doing a goods receipt I am not getting any balance sheet posting for inventory bought. How can I check/change this?

  • Using LR5 on two computers and sync catalog

    Hi, I have LR5 on my iMac and have purchased a MacBook Pro for travelling - how do I get the photo's I've edited in LR5 on my MBP back into my LR5 on my iMac when I return home.Q

  • Choppy playback in Premiere CC2014

    After upgrading from CC to CC2014 playback is very choppy and inaccurate. Same project worked great in CC. Also cannot get Directlink to AE to work ( greyed out). Would I need to upgrade my current AE CC to the newer version 2014? 2008 MACPRO, ATI ra