JSF conditions and loop

Dear programmer
I'm new to JSF. I have almost finished to read all the tutorial and there is something that bothere me. In all the the examples, there is no use of condiion statements (if) or loops (for, while). How is it possible to program without them?
I guess that with renderer I can do things that I could do with if statement and with UIData component I can create loop, but is it enough? It seems very odd to me that there are no conditions or loops.
(Or maybe there are and I just not aware to it)
For example I have a frame that is compounded from 2 forms. The first enable to user to search something. The second shows the results. I don't want the form of the results to be shown if there are no results. Can it be done with renderer?
In order to show the results I need a loop. Is UIData enough?

I have a frame that is compounded from 2
forms. The first enable to user to search something.
The second shows the results. I don't want the form
of the results to be shown if there are no results.
Can it be done with renderer?
In order to show the results I need a loop. Is UIData
You should have had more extensive JSF tutorial or an introductory book.
I recommend Hans Bergsten's JavaServer Faces from O'Reilly, in which you could see
many example code for conditionals and loops without using 'if', 'while' nor 'for'.

Similar Messages

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    This tutorial explains how to build a multi threaded gui.

  • Check condition in Loop step in BPM

    Hi All,
      Need urgent help... I have to specify the condition in loop in such away I need to receive and bundle IDOC1 till I get IDOC2.  Please let me know how to specify the condtion in loop.
    Thank you in advance

    See the below link
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
    Also we have Collection of messages based on the message a pattern in SAP BASIS see the BpmPatternCollectMessage and check for correct IP config..

  • Condition in loop

    Hi Experts,
    I have a procedure, in which has a for loop.
    for ... loop
    end loop;
    I need
    for ... loop
    ( check the condition for each and every value. if the condition satisfies I need to update the flag. I don't want to update the flag each time.) ---> this is an extra condition.
    end loop;
    the for loop has to run for each every value.
    Suggestions please.

    940443 wrote:
    Hi Experts,
    I have a procedure, in which has a for loop.
    for ... loop
    end loop;
    I need
    for ... loop
    ( check the condition for each and every value. if the condition satisfies I need to update the flag. I don't want to update the flag each time.) ---> this is an extra condition.
    end loop;
    the for loop has to run for each every value.
    Suggestions please.
    Depends on your version, which you should always mention when posting.
    If you're on a recent version, look at the CONTINUE statement in the documentation, easily available on line.

  • I just finished creating a movie in IMovie and now want to burn it to a DVD and make it loop.  Since I just purchased this IMac it no longer comes with IDVD.  My question is how to burn and loop a dvd without IDVD.  Thanks for any help.

    I just finished creating a movie using IMovie and want to burn it to a DVD and loop it.  Since I just purchased this mac it looks like they no longer include IDVD.  Is there something out there to help me do this.  I am new to MAC and any help would be greatly appreciated.  Thanks

    There is free open source software called Burn that will burn DVDs. Here is a link.
    If you wish to pay for software, there are many, including TOAST TITANIUM from Roxio. Apple's retail copy of iLife 11, and Apple's Compressor.
    Of these, I would say that iDVD is known for being able to create very professional looking DVDs with intros, menus, lots of interesting templates.
    Toast is much simpler and the menus and templates are more plain.
    Compressor is a professional tool that does a lot more than make DVDs. Don't expect much in the way of menus or templates.
    Burn, I have never tried, since I have iDVD and Toast for those ocasions when I need to burn a DVD. However, since it is free, I think it is worth a try.
    Each software package is a little different, but in general, in iMovie, you can use the SHARE menu to SHARE/MOVIE in Large size. Save the movie to your desktop or someplace you can easily find it. Then drag it into the tool of your choice. You can alsouse SHARE/MEDIA BROWSER/LARGE if you have iDVD or Toast.

  • Possible to do conditional ands?

    I don't know if this is possible or not. so I thought I should ask the experts.
    I have a function and I need to create a query that has conditional ands.
    what I'm looking for is something like this:
    the function has a few in variables. one of them is p_view
    in my where clause I was hoping to do something like this:
    where a.course_id = b.course=id
    if p_view = 1 then
    and a.supervisor = p_super
    elseif view = 2 then
    and a.emplid = p_emplid
    and a.emplid = b.emplid
    end if;
    and a.role = b.role;
    now this is not real code, I've tried a decode and that did not work, then tried case, that did not work. so I'm not sure if its possible or not.
    can this be done or is there some other way to do this I don't know about?

    I've tried a decode and that did not work, then tried case, that did not work.Why not? How did you try?
    When asking questions, be as specific, clear and concisive as possible, so we can help you as best as possible.
    'It didn't work' isn't adding anything to that.
    now this is not real codeDon't post unreal/syntactically wrong code, it only distracts and confuses, raises more questions.
    Post real code or a clear description of the requirement.
    can this be done or is there some other way to do this I don't know about?Hm...my guess is that it can be done, and I wouldn't rule out getting it done using case yet.
    If possible, please provide the real query and explain why 'it didn't work'.
    We need to know the requirement here.
    All I can think of with your given input is this wild shot in the dark, however it might give you an idea:
    where a.course_id = b.course_id
    and ( case
            when p_view = 1 and a.supervisor = p_super then 1
            when p_view = 2 and a.emplid = p_emplid then 1
        )  = 1
    and a.emplid = b.emplid --not sure about this here at all
    and a.role = b.role;Remember to use the tag before and after your examples.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Find Tax conditions and amounts while creating a PO from reference.

    Hi friends,
    I am creating a PO from another reference PO. When I create the PO the Tax conditions and
    amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
    is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
    conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
    (Condition Number) gets formed and then we can access this Condition types and Amounts data
    from KONV table by specifying the Condition number which is the Primary key of KONV table.
    But we need to access this data of Condition types and Amounts even before we press SAVe
    button on ME21N screen.
    Please help me on this.

    As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
    For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
    BAPI_PO_CREATE1 works with min. possible inputs successfully.
    Thanks to all!

  • Hello.... I already loaded logic 9 on my laptop hard drive... I would to load all the samples and loops on an external drive... Do I need to reinstall from DVD's or can I drag and drop?

    Hello.... I already loaded logic 9 on my laptop hard drive... I would to load all the samples and loops on an external drive... Do I need to reinstall from DVD's or can I drag and drop?

    Thank you.... Would you know where they would be on my hard dive? Are they all together?

  • Black screen and looping after installing and updating Mountain Lion on Macbook pro 2011 13 "i5 2.4Ghz

    After first installing the new Mountain Lion upgrading Lion on my Macbook Pro was a little slow, so I decided to format and install Mountain Lion via a thumb drive. After installation on my Macbook Pro was restarting all the time and showing a black screen with codes on the screen. I decided to reformat and reset the PRAM, and that seems to have worked. Occasionally a black screen appears with the codes and my macbook restarts again. Last night I updated the Mountain Lion and error and looping retornartam. I thought I had lost all my works, do more entered in the login screen. I turned off my macbook, went to sleep and this morning I called and finally worked Do not know what's going on in my friends' macbook not occur this problem. The macbook them is the 2011 13 "i5 2.0Ghz and another 2010 and they both work perfectly with the Mountain Lion.
    Below is the error that occurred this morning after login.
    Interval Since Last Panic Report:  1690 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    67D1DCE1-6759-7BF0-6682-40BCBB09D01B
    Thu Sep 20 07:24:10 2012
    panic(cpu 2 caller 0xffffff80206b7bd5): Kernel trap at 0xffffff8020687d02, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x00007ccd02000009, CR3: 0x00000000228a6000, CR4: 0x00000000000606e0
    RAX: 0x00007ccd02000001, RBX: 0x000000000000003e, RCX: 0xffffff8020cbd000, RDX: 0x000000000000003e
    RSP: 0xffffff8110da3720, RBP: 0xffffff8110da3740, RSI: 0xffffff8031ef80c8, RDI: 0xffffff8020cbd000
    R8:  0xffffff8031ef7750, R9:  0xffffff8031ef0438, R10: 0xffffff8020cbcc20, R11: 0xffffff814c6e0000
    R12: 0xffffff8033b0ec00, R13: 0xffffff8033b0ecb0, R14: 0x00000000000000c1, R15: 0xffffff8031ef0438
    RFL: 0x0000000000010296, RIP: 0xffffff8020687d02, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x00007ccd02000009, Error code: 0x0000000000000002, Fault CPU: 0x2
    Backtrace (CPU 2), Frame : Return Address
    0xffffff8110da33c0 : 0xffffff802061d626
    0xffffff8110da3430 : 0xffffff80206b7bd5
    0xffffff8110da3600 : 0xffffff80206ce4ed
    0xffffff8110da3620 : 0xffffff8020687d02
    0xffffff8110da3740 : 0xffffff802065f445
    0xffffff8110da38a0 : 0xffffff8020681b58
    0xffffff8110da3bf0 : 0xffffff802065e1b4
    0xffffff8110da3c50 : 0xffffff8020a52e4f
    0xffffff8110da3d40 : 0xffffff8020a53052
    0xffffff8110da3d70 : 0xffffff7fa1e35434
    0xffffff8110da3de0 : 0xffffff7fa1e2412f
    0xffffff8110da3e10 : 0xffffff7fa1e33afe
    0xffffff8110da3e60 : 0xffffff8020a3181b
    0xffffff8110da3ea0 : 0xffffff8020a3133e
    0xffffff8110da3f30 : 0xffffff8020a2d2d0
    0xffffff8110da3f70 : 0xffffff8020a31e99
    0xffffff8110da3fb0 : 0xffffff80206b26b7
          Kernel Extensions in backtrace:
             com.apple.driver.AppleIntelHD3000Graphics(8.0)[EAD976F9-7469-3F17-AB8E-6A039213 8DCB]@0xffffff7fa1e06000->0xffffff7fa1e67fff
                dependency: com.apple.iokit.IOPCIFamily(2.7.1)[9901C237-547C-3B52-99DE-C4870A19E2B5]@0xffff ff7fa0caf000
                dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7fa11fc000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7fa11b9000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x0000000020400000
    Kernel text base: 0xffffff8020600000
    System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
    System uptime in nanoseconds: 22884276012
    last loaded kext at 22356664762: com.apple.driver.AppleMikeyHIDDriver          122 (addr 0xffffff7fa1d76000, size 20480)
    loaded kexts:
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDAHardwareConfigDriver          2.3.1f2
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.AppleIntelHD3000Graphics          8.0.0
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleBacklight          170.2.3
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.iokit.IOBluetoothUSBDFU          4.0.9f33
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleSMCLMU          2.0.2d0
    com.apple.driver.AppleIntelSNBGraphicsFB          8.0.0
    com.apple.driver.AppleMuxControl          3.2.11
    com.apple.driver.AppleUSBTCButtons          235.4
    com.apple.driver.AppleUSBTCKeyEventDriver          235.4
    com.apple.driver.AppleUSBTCKeyboard          235.4
    com.apple.driver.AppleIRController          320.15
    com.apple.driver.AppleFileSystemDriver          3.0.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleSDXC          1.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.iokit.AppleBCM5701Ethernet          3.2.5b3
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.driver.AirPort.Brcm4331          602.15.22
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleUSBUHCI          5.2.5
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.driver.AppleThunderboltEDMSink          1.1.8
    com.apple.driver.AppleThunderboltEDMSource          1.1.8
    com.apple.driver.AppleThunderboltDPOutAdapter          1.8.5
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          235.7
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.1.1
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.1
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 1.68f98
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3034302E413031472020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (
    Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: Hitachi HTS545050B9A302, 500,11 GB
    Serial ATA Device: MATSHITADVD-R   UJ-8A8
    USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 7
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4
    Is there a hardware problem?
    thank you

    Before you upgrade, make sure all your software supports it based on post July, 25, 2012 reports on
    Reports prior to this date are unreliable, as they are likely with beta releases of Mountain Lion to developers. Other pitfalls to realize include:

  • I just bought 15' Mac book pro. as i work a lot on Garageband. I even downloaded all the drummers and loops to update the new Garageband 10.0.1 now my problem is that all my past work which i did on older version on GB, has missing sounds in it.

    I just bought 15' Mac book pro. as i work a lot on Garageband. I even downloaded all the drummers and loops to update the new Garageband 10.0.1
    now my problem is that all my past work which i did on older version on GB, has missing sounds in it. so here are my questions
    1. DO i have to install JAMPACKS on my new Macbook pro?
    2. Are JAMPACKS still compatable with the new GB?
    3. There is an UPDATE on the new GB on Appstore and once i click it, it goes to billing no detail is provided what this update is for so help!

    3. There is an UPDATE on the new GB on Appstore and once i click it, it goes to billing no detail is provided what this update is for so help!
    See: This document explains what the in-App purchase is about.
    Expanding GarageBand for Mac (v10.0) content with an in-app purchase
    Do you still have your old Mac?
    How did you migrate from the old Mac to the new Mac? Did you transfer your old software and documents using Setup Assistant? Then your old GarageBand '11 version should have been migrated, and all your instruments.
    if you did  not migrate GarageBand '11, copy your old Instruments Library and Loop Library over from the old mac. Copy the following folders to a thumbsdrive and merge the missing dontents into the corresponding folders on your new mac:  (from the system library - the top level library folder on your Macintosh HD):
    /Library/Application Support/GarageBand/
    /Library/Audio/Apple Loops/
    And if you would like to continue to use GarageBand '11 for access to missing features, copy also /Applications/GarageBand over, but to a subfolder of Applications. I recommend, to install the old GarageBand as well. It can be used in parallel to GB 10.0, and will come in handy, if your old projects are having problems.
    1. DO i have to install JAMPACKS on my new Macbook pro?
    2. Are JAMPACKS still compatable with the new GB?
    The JamPacks are nice to have, a terrific collection of instruments and loops, but if you did not have them previously, that will not help with your missing instruments. You can instll them by buying Mainstage 3. They work well with GarageBand 10.0
    -- Léonie

  • Is there any way to have a COMPLETE list of all samples and loops ( Logic 8

    I'm sure it's been posted previously, but anyway, I'm looking to buy new Apple Loops libraries and I have faced the fact , that many of the sounds and loops produced by third parties manufacturers have been already included in Logic installation discs.
    I have a list of Apple Loops DVD's that have been included with Logic somewhere, the problem is, Apple didn't post ( I believe) the credits of all 3rd party manufacturers that have produced these libraries that are included with Logic or Garage band. Is there any way to have a COMPLETE list of all samples and loops that are included with Apple DAW's so I wouldn't duplicate anything ? I'm pretty much positive that Apple had other companies to sound design and sample all libraries for them, so is there also a way to have a list of those manufacturers? Again, the objection is to start upgrading the sound library without any possible duplication?
    Thanks in advance!

    Chris, I certainly don't mind additional questions and postings.
    I believe there are many issues with Apple Loops and Logic that need to be resolved and people need to be aware of that. Unfortunately, in opposite to the old "german" version of Logic , there's no lifetime tech support, you can't even call and ask the question after 60 days , which isn't right for a professional software of this level, especially considering the fact that many things still remain vague in Logic even for developers and tech support people!( believe me, I've called and asked!)
    Issues like that need to be resolved over the phone with the company, period!
    One thing I also learned over the years as a Mac OSX user, if something doesn't work, don't mess with it. Delete your drive and re-install everything. This is very frustrating , I know, but unfortunately this is the only way to deal with OSX issues, if you got a problem with your system, don't try to fix it. It's never gonna be the same again. I know , it's off the topic a little bit, but if your content is missing from the system files, before installing your new Logic, back up your important files, wipe up your drive and clean install Mac OSX , run updates and then install the Logic. Most likely , everything will be in it's place, at least 90% or more. I gave up trying to make two system in my house to be compatible 100% , but it's OK if they're 90% or more identical. I spent enormous amount of time trying to find out what's missing and where, I visited most of the forums and there's no clean answer.
    Message was edited by: Moderator

  • Why can I only accept the new terms and conditions and keep getting sent back to agreeing (5 times and still going in circles)

    Seems that I can no longer install anything, as every time I get forced to a page to read and accept the new terms and conditions - and no matter if I accept them or not, I only get sent back to read them again.   Another reason my next smartphone will be android based!

    The iTunes and Mac App Store / iCloud problem spontaneously resolved for me as of 21:54 Pacific Standard Time on 9/30/2012.
    Someone at Apple was aware of and fixed the problem. Finally.

  • Pl/sql cursor and loop

    I need help creating a cursor and loop that will update a column based on data from another column. I keep getting the following errors. Any suggestions? These identifiers are valid tables in columns in my data base.
    3      CURSOR c1 IS
    4           SELECT SectionID, Coursename, StudentID, FinalGrade from Registration, Section, Grade WHERE registration.sectionid = grade.sectionid and registrationid.studentid = grade.studentid;
    6      v_SectionID number(10);
    7      v_CourseName varchar(20);
    8      v_StudentID number(10);
    9      v_FinalGrade varchar2(5);
    11 BEGIN
    13      OPEN c1;
    15      LOOP
    16           FETCH c1
    17           INTO v_SectionID, v_CourseName, v_StudentID, v_FinalGrade;
    18           EXIT WHEN c1%NOTFOUND;
    20           update grade
    22           SET FinalGrade = translate(substr(v_CourseName,-1,1),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','AAAAAABBBBBCCCCCDDDDEEEEEE')
    24           where Grade.StudentID = Registration.StudentID;
    26      END LOOP;
    27 CLOSE c1;
    28 END;
    29 /
              SELECT SectionID, Coursename, StudentID, FinalGrade from Registration, Section, Grade WHERE registration.sectionid = grade.sectionid and registrationid.studentid = grade.studentid;
    ERROR at line 4:
    ORA-06550: line 4, column 140:
    PL/SQL: ORA-00904: "REGISTRATIONID"."STUDENTID": invalid identifier
    ORA-06550: line 4, column 3:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 24, column 27:
    PL/SQL: ORA-00904: "REGISTRATION"."STUDENTID": invalid identifier
    ORA-06550: line 20, column 3:
    PL/SQL: SQL Statement ignored

    863737 wrote:
    I am taking a intro course online so I am trying to teach myself this. The most basic rule for designing and writing good Oracle code that will perform and will scale is to use SQL for what it is good at and using PL/SQL for what it is good at. And between the two, SQL is by far superior when it comes to crunching data in the database.
    The simple maxim is Maximize SQL. Minimize PL/SQL.
    What you want to do with that PL/SQL code can be done using SQL only. And since you are learning SQL and PL/SQL, it is very important that you learn the correct way to do this.
    Have a look at Oracle® Database SQL Language Reference guide.
    The update syntax supports:
    UPDATE <dml_expression_clause>
    Where this +<dml_expression_clause>+ is a SELECT statement (aka an in-line view) - that can contain joins.
    Simple example. You join tables t1 and t2 to identify the rows in t1 to update. The +<dml_expression_clause>+ will define this join. The actual update part (using the SET clause) will update the relevant rows in t1.
    This is also called an updatable view - though the +<dml_expression_clause>+ does not need to use an actual view.
    Have a look at AskTom for a discussion on this. Also note that you can also create a view and define an "instead-of" trigger on the view - this particular feature enhances the ability to update DML expressions - but is not a prerequisite.
    Note that there can be very significant performance degradation by NOT using an UPDATE on a +<dml_expression_clause>+ and instead coding that manually via PL/SQL.
    So do yourself a favour and learn the CORRECT way to resolve the type of UPDATE problem you have.

  • In cursor i have two queries where put the condition and how to print the d

    hi i have 2 tables 1 is emp(empid,empname,dept,grade)
    2 is salary(grade,salary)
    in cursor when ever grade is increased salary automatically increased
    in 2 diffrent queries where i will put the if condition and how to print the output.
    any one can please suggest me.
    finally my required out put is

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why exactly is a JSF IMP and a API, what is the difference?

    Why exactly is a JSF IMP and a API, what is the difference?
    I understand that JavaServer Faces technology is a framework for building user interfaces for web applications with a set of APIs for UI components and a custom tag library for expressing a JavaServer Faces interface within a JSP page.
    But, why is there a jsf-impl.jar and a jsf-api.jar?
    A clarification would be appreciated.

    CowKing: Thank you.
    In a discussion, when a developer refers to RI, they mean the jsf-api.jar only?
    I don't need the jsf-impl.jar in my compile class path nor in my SJSAS 8.2 domain library directory either?

Maybe you are looking for

  • Just one USB port on MacBook Pro 15"

    Hi, I just got a MacBook Pro 15" 2.33GHz. I may be silly but I find it has only one USB port! This is killing me because I need at least two USB port to connect my mouse and iPhone. Do I missed something? Thanks, ff

  • Invisible text in navigation bar

    When I type something in the navigation bar, I get a list of related pages that I have visited before. The problem is that in Nightly 18, I can see the pages' icons but not the text. All I get is a gray rectangle. If I use the keyboard or the mouse t

  • Is there a way to get texts off my phone?

    I have a support link to doing this, but I can't read the writing from the tech guy. So I'm pretty sure there is a way... the link looks like.... support.apple.com/kb/ht4137 Thanks, Blake919

  • Why does my layout keep changing when I make simple changes?

    I have made minor changes like changing the font size of a text style and my whole layout spreads all over the place when I publish it. I've tried to add a small section of copy and then all the text on that page squeezes into the first column of my

  • Compressor 3.5.3 YouTube Account Settings

    I am uploading a batch of 14 vids to Youtube. When will it prompt me for account settings? i.e. username and password. I am concerned the videos aren't going to the right account? Thanks B