Combo-box or OVS inside another OVS

Hello,
I have a question about OVS. I have created an OVS, it uses a BAPI to search the result. The problem is that I want to have a combo-box (“select” in html…) in one of the OVS input fields, the combo is filled with a other bapi results. Is this possible?
Other solution could be adding an OVS inside  another OVS, can I do this?
Regards and many thanks.
Pablo.

Pablo,
The UI generated for OVS is automatic, done by the webdynpro framework. So in my opinion and to my knowledge, there's no way to modify that UI, add a field or change a field.
Hope that helps.
Instead you can build a popup which looks similar to OVS UI, have your combo box in it and use OVS inside  this popup (if you require). This option gives you more control over the search help.
Cheers,
Rajit

Similar Messages

  • Ios 6.0 -Mobile Safari Crash on web page combo box - html select

    If the combo-box on web page is empty, selecting the combo box and swiping inside the empty space or pressing the ‘Done’ button is causing the crash
    Incident Identifier: EB3B67A4-174D-4A22-AF07-64621BDBDEC8
    CrashReporter Key:   b8f222c49c43977c429ecee0d77b10afeca93db2
    Hardware Model:      iPod4,1
    Process:         MobileSafari [944]
    Path:            /Applications/MobileSafari.app/MobileSafari
    Identifier:      MobileSafari
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2012-10-22 11:04:23.833 +0530
    OS Version:      iOS 6.0 (10A403)
    Report Version:  104
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0
    Last Exception Backtrace:
    0   CoreFoundation                          0x378da29e __exceptionPreprocess + 158
    1   libobjc.A.dylib                         0x353da97a objc_exception_throw + 26
    2   CoreFoundation                          0x378da158 +[NSException raise:format:arguments:] + 96
    3   Foundation                              0x399702aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86
    4   UIKit                                   0x37274ff6 -[UITableViewRowData rectForRow:inSection:] + 238
    5   UIKit                                   0x37292914 -[UITableView rectForRowAtIndexPath:] + 108
    6   UIKit                                   0x373fcb56 -[UIPickerTableView contentOffsetForRowAtIndexPath:] + 42
    7   UIKit                                   0x375cc2c2 -[UIPickerTableView scrollViewWillEndDragging:withVelocity:targetContentOffset:] + 342
    8   UIKit                                   0x373671e6 -[UIScrollView _endPanWithEvent:] + 3670
    9   UIKit                                   0x37380610 -[UIScrollView handlePan:] + 120
    10  UIKit                                   0x37361d2c _UIGestureRecognizerSendActions + 124
    11  UIKit                                   0x373293d8 -[UIGestureRecognizer _updateGestureWithEvent:] + 388
    12  UIKit                                   0x37516474 ___UIGestureRecognizerUpdate_block_invoke_0543 + 44
    13  UIKit                                   0x3724d832 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 214
    14  UIKit                                   0x3724c296 _UIGestureRecognizerUpdate + 1270
    15  UIKit                                   0x372571ea -[UIWindow _sendGesturesForEvent:] + 762
    16  UIKit                                   0x37256db6 -[UIWindow sendEvent:] + 86
    17  UIKit                                   0x37244804 -[UIApplication sendEvent:] + 376
    18  UIKit                                   0x3724411e _UIApplicationHandleEvent + 6150
    19  GraphicsServices                        0x354d759e _PurpleEventCallback + 586
    20  GraphicsServices                        0x354d71ce PurpleEventCallback + 30
    21  CoreFoundation                          0x378af16e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
    22  CoreFoundation                          0x378af112 __CFRunLoopDoSource1 + 134
    23  CoreFoundation                          0x378adf94 __CFRunLoopRun + 1380
    24  CoreFoundation                          0x37820eb8 CFRunLoopRunSpecific + 352
    25  CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    26  GraphicsServices                        0x354d62e6 GSEventRunModal + 70
    27  UIKit                                   0x372982fc UIApplicationMain + 1116
    28  MobileSafari                            0x0005e274 0x51000 + 53876
    29  libdyld.dylib                           0x36176b1c start + 0
    Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0   libsystem_kernel.dylib                  0x32bd3350 __pthread_kill + 8
    1   libsystem_c.dylib                       0x333ac11e pthread_kill + 54
    2   libsystem_c.dylib                       0x333e896e abort + 90
    3   libc++abi.dylib                         0x3606fd4a abort_message + 70
    4   libc++abi.dylib                         0x3606cff4 _ZL17default_terminatev + 20
    5   libobjc.A.dylib                         0x353daa74 _ZL15_objc_terminatev + 144
    6   libc++abi.dylib                         0x3606d078 _ZL19safe_handler_callerPFvvE + 76
    7   libc++abi.dylib                         0x3606d110 std::terminate() + 16
    8   libc++abi.dylib                         0x3606e594 __cxa_rethrow + 84
    9   libobjc.A.dylib                         0x353da9cc objc_exception_rethrow + 8
    10  CoreFoundation                          0x37820f1c CFRunLoopRunSpecific + 452
    11  CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    12  GraphicsServices                        0x354d62e6 GSEventRunModal + 70
    13  UIKit                                   0x372982fc UIApplicationMain + 1116
    14  MobileSafari                            0x0005e274 0x51000 + 53876
    15  libdyld.dylib                           0x36176b1c start + 0
    Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
    Thread 1:
    0   libsystem_kernel.dylib                  0x32bc3648 kevent64 + 24
    1   libdispatch.dylib                       0x338e44ec _dispatch_mgr_invoke + 792
    2   libdispatch.dylib                       0x338d6df4 _dispatch_mgr_thread$VARIANT$up + 32
    Thread 2 name:  WebThread
    Thread 2:
    0   libsystem_kernel.dylib                  0x32bc2eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib                  0x32bc3048 mach_msg + 36
    2   CoreFoundation                          0x378af040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                          0x378add9e __CFRunLoopRun + 878
    4   CoreFoundation                          0x37820eb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    6   WebCore                                 0x33e69a70 _ZL12RunWebThreadPv + 440
    7   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    8   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 3 name:  com.apple.NSURLConnectionLoader
    Thread 3:
    0   libsystem_kernel.dylib                  0x32bc2eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib                  0x32bc3048 mach_msg + 36
    2   CoreFoundation                          0x378af040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                          0x378add9e __CFRunLoopRun + 878
    4   CoreFoundation                          0x37820eb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    6   Foundation                              0x3992dbc8 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
    7   Foundation                              0x399b1678 __NSThread__main__ + 968
    8   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    9   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 4:
    0   libsystem_kernel.dylib                  0x32bd3d98 __workq_kernreturn + 8
    1   libsystem_c.dylib                       0x33383cf6 _pthread_workq_return + 14
    2   libsystem_c.dylib                       0x33383a12 _pthread_wqthread + 362
    3   libsystem_c.dylib                       0x333838a0 start_wqthread + 4
    Thread 5 name:  Safari::SafeBrowsingManager
    Thread 5:
    0   libsystem_kernel.dylib                  0x32bc2eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib                  0x32bc3048 mach_msg + 36
    2   CoreFoundation                          0x378af040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                          0x378add9e __CFRunLoopRun + 878
    4   CoreFoundation                          0x37820eb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    6   MobileSafari                            0x00068006 0x51000 + 94214
    7   JavaScriptCore                          0x33a90fb0 _ZN3WTFL19wtfThreadEntryPointEPv + 12
    8   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    9   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 6 name:  WebCore: CFNetwork Loader
    Thread 6:
    0   libsystem_kernel.dylib                  0x32bc2eb4 mach_msg_trap + 20
    1   libsystem_kernel.dylib                  0x32bc3048 mach_msg + 36
    2   CoreFoundation                          0x378af040 __CFRunLoopServiceMachPort + 124
    3   CoreFoundation                          0x378add9e __CFRunLoopRun + 878
    4   CoreFoundation                          0x37820eb8 CFRunLoopRunSpecific + 352
    5   CoreFoundation                          0x37820d44 CFRunLoopRunInMode + 100
    6   WebCore                                 0x33f04f9a _ZN7WebCoreL15runLoaderThreadEPv + 138
    7   JavaScriptCore                          0x33a90fb0 _ZN3WTFL19wtfThreadEntryPointEPv + 12
    8   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    9   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 7 name:  com.apple.CFSocket.private
    Thread 7:
    0   libsystem_kernel.dylib                  0x32bd3594 __select + 20
    1   CoreFoundation                          0x378b31f2 __CFSocketManager + 674
    2   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    3   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 8 name:  JavaScriptCore::BlockFree
    Thread 8:
    0   libsystem_kernel.dylib                  0x32bd308c __psynch_cvwait + 24
    1   libsystem_c.dylib                       0x33386d2a _pthread_cond_wait + 642
    2   libsystem_c.dylib                       0x33386aa0 pthread_cond_timedwait + 40
    3   JavaScriptCore                          0x3396cad0 ***::ThreadCondition::timedWait(***::Mutex&, double) + 104
    4   JavaScriptCore                          0x33a7e55a JSC::BlockAllocator::blockFreeingThreadMain() + 78
    5   JavaScriptCore                          0x33a90fb0 _ZN3WTFL19wtfThreadEntryPointEPv + 12
    6   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    7   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 9:
    0   libsystem_kernel.dylib                  0x32bd308c __psynch_cvwait + 24
    1   libsystem_c.dylib                       0x33386d2a _pthread_cond_wait + 642
    2   libsystem_c.dylib                       0x33390f14 pthread_cond_wait + 36
    3   MobileSafari                            0x000e10f0 0x51000 + 590064
    4   Foundation                              0x399b1678 __NSThread__main__ + 968
    5   libsystem_c.dylib                       0x3338e30e _pthread_start + 306
    6   libsystem_c.dylib                       0x3338e1d4 thread_start + 4
    Thread 10:
    0   libsystem_kernel.dylib                  0x32bd3d98 __workq_kernreturn + 8
    1   libsystem_c.dylib                       0x33383cf6 _pthread_workq_return + 14
    2   libsystem_c.dylib                       0x33383a12 _pthread_wqthread + 362
    3   libsystem_c.dylib                       0x333838a0 start_wqthread + 4
    Thread 0 crashed with ARM Thread State (32-bit):
        r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x3bf12534
        r4: 0x00000006    r5: 0x3bf12b88      r6: 0x1dd90584      r7: 0x2fdafad4
        r8: 0x1dd90560    r9: 0x00000300     r10: 0x00000000     r11: 0x00000000
        ip: 0x00000148    sp: 0x2fdafac8      lr: 0x333ac123      pc: 0x32bd3350
      cpsr: 0x00000010
    Binary Images:
       0x51000 -   0x12cfff +MobileSafari armv7  <421a6fabb915362d8b436167cd88245c> /Applications/MobileSafari.app/MobileSafari
    0x2fe9d000 - 0x2febdfff  dyld armv7  <75594988728831d98e1f7c4c7b7ca29d> /usr/lib/dyld
    0x32aa8000 - 0x32b5bfff  EventKit armv7  <8dbff0bfcf833661827a76b9adb64d70> /System/Library/Frameworks/EventKit.framework/EventKit
    0x32b5c000 - 0x32b5cfff  libunwind.dylib armv7  <85e7546accc23ae1a973da4758512b7f> /usr/lib/system/libunwind.dylib
    0x32b6e000 - 0x32b6efff  libsystem_blocks.dylib armv7  <993c9bfe8bf031548b9ddba63cc17015> /usr/lib/system/libsystem_blocks.dylib
    0x32b93000 - 0x32bc1fff  Security armv7  <be87724ccad837479efd45ca9f2c6b2c> /System/Library/Frameworks/Security.framework/Security
    0x32bc2000 - 0x32bd8fff  libsystem_kernel.dylib armv7  <f167dacec44b3a86a8eee73400ff7a83> /usr/lib/system/libsystem_kernel.dylib
    0x32bf7000 - 0x32dcffff  ImageIO armv7  <fdfa8aa6307235b29435e5c8f6bc9819> /System/Library/Frameworks/ImageIO.framework/ImageIO
    0x32dd8000 - 0x331ebfff  FaceCoreLight armv7  <0cb7a12beb3d32c1abd1834be8328b7c> /System/Library/PrivateFrameworks/FaceCoreLight.framework/FaceCoreLight
    0x331fa000 - 0x332c4fff  Celestial armv7  <1a048f93218d3551984b2d07e884694c> /System/Library/PrivateFrameworks/Celestial.framework/Celestial
    0x332d1000 - 0x332d6fff  CrashReporterSupport armv7  <7bde3532f2953f3894eb725379575926> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterS upport
    0x3337a000 - 0x3337cfff  libCoreVMClient.dylib armv7  <e57152bacb36350e8a023e0c1b540a0c> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
    0x3337d000 - 0x33403fff  libsystem_c.dylib armv7  <d45dc8901531343caf9b7e703d3eba50> /usr/lib/system/libsystem_c.dylib
    0x33404000 - 0x334f1fff  libiconv.2.dylib armv7  <faa5abb937e3306ab87c7f7c38315839> /usr/lib/libiconv.2.dylib
    0x3361d000 - 0x33640fff  MobileSync armv7  <986186369add34f1be231f5a47d2fd2c> /System/Library/PrivateFrameworks/MobileSync.framework/MobileSync
    0x3365d000 - 0x336e2fff  MessageUI armv7  <acd711b4e9cb3bdba768a884c4d6976a> /System/Library/Frameworks/MessageUI.framework/MessageUI
    0x336e3000 - 0x336e8fff  Marco armv7  <755b00548c863f939bf1409f03f2b3ad> /System/Library/PrivateFrameworks/Marco.framework/Marco
    0x336e9000 - 0x33766fff  HomeSharing armv7  <9126a007a413357b8c0275cc505cb197> /System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
    0x33873000 - 0x33899fff  libtidy.A.dylib armv7  <134c41c587fb33dca014bd525f68a0c7> /usr/lib/libtidy.A.dylib
    0x338d3000 - 0x338f0fff  libdispatch.dylib armv7  <4abccf75caf33fa5a0c6037b2e1c5f41> /usr/lib/system/libdispatch.dylib
    0x33907000 - 0x33910fff  libbz2.1.0.dylib armv7  <5258dce78afc3fd7934a5674b92ad785> /usr/lib/libbz2.1.0.dylib
    0x33911000 - 0x33ab7fff  JavaScriptCore armv7  <6b14c224c0e0306aa9084679ec6a99d2> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
    0x33aba000 - 0x33b04fff  libc++.1.dylib armv7  <a361a382693032b9bdfb2860033b3024> /usr/lib/libc++.1.dylib
    0x33b05000 - 0x33ba5fff  UIFoundation armv7  <795a2f216cc3379c95eb645c633cc527> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
    0x33cf8000 - 0x33cfffff  MobileIcons armv7  <c7b5eb7ec2283f0b9611448ddccdd352> /System/Library/PrivateFrameworks/MobileIcons.framework/MobileIcons
    0x33d42000 - 0x33d8bfff  IOKit armv7  <c4786e65ac913839b1bb3b85a9c951fa> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x33d8e000 - 0x33e5efff  IMGSGX535GLDriver armv7  <94e05325c7613391a1dbc0c503bd5eb0> /System/Library/Extensions/IMGSGX535GLDriver.bundle/IMGSGX535GLDriver
    0x33e5f000 - 0x3478efff  WebCore armv7  <cd34aedf72653d1dbef6b14fdfd0c053> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
    0x347db000 - 0x34939fff  iTunesStoreUI armv7  <45d7f194c61532e784660659cb2aef65> /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI
    0x3493b000 - 0x34940fff  libcopyfile.dylib armv7  <15aa2c3c8d523273913d4fc6717d3b7c> /usr/lib/system/libcopyfile.dylib
    0x34998000 - 0x34ad6fff  vImage armv7  <a7fd7fcd7041356db2ca297402ab6e8c> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vIm age
    0x34ed9000 - 0x34eeafff  libvMisc.dylib armv7  <a3d025234d1a3880a0e5f87879633ee0> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/lib vMisc.dylib
    0x34eeb000 - 0x34ef0fff  IOMobileFramebuffer armv7  <3a351ca1d4ae3146a787f3e13564294b> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebu ffer
    0x34ef1000 - 0x34ef3fff  OAuth armv7  <d3e2bc9ae64b31f0a89c52dc1c2797fc> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
    0x34f01000 - 0x34f04fff  MobileInstallation armv7  <e6b6ae9d4f5f3831a40fcc370afc1429> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallati on
    0x34f06000 - 0x34f0bfff  AITTarget armv7  <24e69161f92d323594700aff61769829> /System/Library/PrivateFrameworks/AITTarget.framework/AITTarget
    0x34f0c000 - 0x34fc5fff  Message armv7  <c854843dec583b33a72a9fe047d20f0c> /System/Library/PrivateFrameworks/Message.framework/Message
    0x34fd8000 - 0x34fd8fff  vecLib armv7  <66204595f7653ef29e5e26cb8629177a> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vec Lib
    0x34fd9000 - 0x34fe5fff  AccountSettings armv7  <0b7524e9a8ef36bf9e9f6a5c445478af> /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
    0x35080000 - 0x35081fff  libsystem_sandbox.dylib armv7  <46cd200d99323aebbf6d81e5fb16424f> /usr/lib/system/libsystem_sandbox.dylib
    0x350ec000 - 0x35126fff  iTunesStore armv7  <4ff9158eb0583316b34506904b21a4f3> /System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore
    0x35133000 - 0x35281fff  MusicLibrary armv7  <262f509dae9f3c128f25163a7029685b> /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
    0x352bb000 - 0x352bcfff  libremovefile.dylib armv7  <6a0dd04f0710329b9c1722db2235f5c3> /usr/lib/system/libremovefile.dylib
    0x352bd000 - 0x352bdfff  liblangid.dylib armv7  <a04b639c18593885bd81bfa623a6f07c> /usr/lib/liblangid.dylib
    0x352be000 - 0x3537ffff  GLEngine armv7  <b95361c429d13847886c46ad8d58ea0c> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
    0x35380000 - 0x35387fff  OpenGLES armv7  <e035b741746c316dba8f1e59a568bf17> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
    0x3539b000 - 0x353d1fff  MIME armv7  <32427c81a9933c4796d1a37a88a3ac44> /System/Library/PrivateFrameworks/MIME.framework/MIME
    0x353d2000 - 0x354d0fff  libobjc.A.dylib armv7  <5224e803eca737a4b2c6451d136b3d28> /usr/lib/libobjc.A.dylib
    0x354d1000 - 0x354dcfff  GraphicsServices armv7  <c5879083e8693aba827c78a32abe2391> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
    0x354dd000 - 0x354e7fff  IAP armv7  <6703a23c7d263f33992f15c7f407b50a> /System/Library/PrivateFrameworks/IAP.framework/IAP
    0x35539000 - 0x3558cfff  PassKit armv7  <c0bb9c8aa86430bfbe848843a2443af5> /System/Library/Frameworks/PassKit.framework/PassKit
    0x3564f000 - 0x35656fff  libsystem_notify.dylib armv7  <6e39f8511ecc3c3489829714eb6fde12> /usr/lib/system/libsystem_notify.dylib
    0x35657000 - 0x3580cfff  CoreData armv7  <a42aa4f0f01833c390bc8c6c394dda1c> /System/Library/Frameworks/CoreData.framework/CoreData
    0x3580d000 - 0x35812fff  liblaunch.dylib armv7  <021ff140d6003f3281dfa29b79fa9e6e> /usr/lib/system/liblaunch.dylib
    0x35813000 - 0x35901fff  GeoServices armv7  <6af26ce81030330b97122ba8c1deaaa2> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
    0x35936000 - 0x35a4bfff  QuartzCore armv7  <d96571a6986c3012b315cb860f4d65ca> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
    0x3606c000 - 0x3607ffff  libc++abi.dylib armv7  <c5a5f03138353747b539e620ef2bb5c0> /usr/lib/libc++abi.dylib
    0x36089000 - 0x360c6fff  FTServices armv7  <aa7fe75a69d538b2a80efa63e3484b2a> /System/Library/PrivateFrameworks/FTServices.framework/FTServices
    0x360c7000 - 0x36174fff  libxml2.2.dylib armv7  <ef245c0afc113f54b6f30921671edab2> /usr/lib/libxml2.2.dylib
    0x36175000 - 0x36176fff  libdyld.dylib armv7  <3a149b4730663b1ea84e4a0a68ccc689> /usr/lib/system/libdyld.dylib
    0x3623c000 - 0x3623cfff  Accelerate armv7  <22bee3e96cbc3538bfc50ca5be618cc0> /System/Library/Frameworks/Accelerate.framework/Accelerate
    0x3628a000 - 0x3628cfff  MessageSupport armv7  <44d449b4959a33b99d4ab4a9cd161ee6> /System/Library/PrivateFrameworks/MessageSupport.framework/MessageSupport
    0x3628e000 - 0x362dafff  QuickLook armv7  <ac70bd1a745e3402b9bcd484f34c4203> /System/Library/Frameworks/QuickLook.framework/QuickLook
    0x362db000 - 0x36303fff  PrintKit armv7  <a8ef6136b9773d42ac20f7eb54279039> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
    0x3633f000 - 0x36398fff  libvDSP.dylib armv7  <ad4c53081a263f0d96f63b9a80f2ae91> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/lib vDSP.dylib
    0x363cb000 - 0x363cbfff  PhoneNumbers armv7  <b50c6d10d4663bc8bbf0c631dd18dafe> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/PlugIns/PhoneNumb ers.plugin/PhoneNumbers
    0x363ee000 - 0x363fdfff  CoreVideo armv7  <092f3aa965803a1aaea69af2ac5143f5> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
    0x3642f000 - 0x36445fff  libCRFSuite.dylib armv7  <9b3fd56781103f209be2c43e48c1efc9> /usr/lib/libCRFSuite.dylib
    0x36453000 - 0x364b5fff  CoreText armv7  <4a0bece315e9316fa1aa1b5923740f55> /System/Library/Frameworks/CoreText.framework/CoreText
    0x364b6000 - 0x364ebfff  libcorecrypto.dylib armv7  <ebd023957d853fa8bd35309592e92dac> /usr/lib/system/libcorecrypto.dylib
    0x36b1b000 - 0x36dd0fff  libLAPACK.dylib armv7  <dd6f3958c3d536d6be90836682d2ffee> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/lib LAPACK.dylib
    0x36eb4000 - 0x37139fff  MediaToolbox armv7  <a1df6dd0733233d3b1cba9cddf3991f6> /System/Library/Frameworks/MediaToolbox.framework/MediaToolbox
    0x3713a000 - 0x371fffff  CFNetwork armv7  <3e973794a4d13428bb974edcb2027139> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
    0x37212000 - 0x3722afff  EAP8021X armv7  <034c653573c233f08edf67e516d66097> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
    0x37241000 - 0x37794fff  UIKit armv7  <98789fe7c21b3fe0bf5c0bb36648147f> /System/Library/Frameworks/UIKit.framework/UIKit
    0x37795000 - 0x3780dfff  IMCore armv7  <552805a4634630bbaad2bc9d862d7196> /System/Library/PrivateFrameworks/IMCore.framework/IMCore
    0x37813000 - 0x37817fff  libGFXShared.dylib armv7  <6a8f59f89218372d9f24c4193a179008> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
    0x37818000 - 0x3794afff  CoreFoundation armv7  <e30fc309df7b3c9f8ac57f0f6047d65f> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x37950000 - 0x37952fff  libCoreFSCache.dylib armv7  <7122f7d4bbfe3a098a4dc90f03642839> /System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib
    0x3796a000 - 0x3796cfff  TCC armv7  <f641dd0500fa3f0087d93da665ea84b8> /System/Library/PrivateFrameworks/TCC.framework/TCC
    0x3796d000 - 0x3797bfff  libsystem_network.dylib armv7  <d0fb0eda6cb53a4da859d598c59e7522> /usr/lib/system/libsystem_network.dylib
    0x3797c000 - 0x379e1fff  CoreMedia armv7  <d227864b757e3a7ea5d7d96dcbb948fe> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
    0x379e2000 - 0x379e3fff  DataMigration armv7  <25f8874067393208acc083124bc3eb86> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
    0x379e4000 - 0x379f0fff  libz.1.dylib armv7  <a3bba3842596315a81aa171a8bbda7b5> /usr/lib/libz.1.dylib
    0x37bdf000 - 0x37bfafff  libRIP.A.dylib armv7  <6e5f3b4c18e137e0a464fe13095b7dab> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
    0x37bfb000 - 0x37c04fff  MobileWiFi armv7  <43de6d03af0838f2a1eeec10d4149e9d> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
    0x37c05000 - 0x37c17fff  DataAccessExpress armv7  <131d8cf4df333df3b8487ef93438e27c> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
    0x37c18000 - 0x37c1cfff  IOSurface armv7  <1f598a3806073bdaa906c51dccc9429e> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
    0x37c1d000 - 0x37c23fff  libcommonCrypto.dylib armv7  <690aaa493b5c3f9582499f174adf4964> /usr/lib/system/libcommonCrypto.dylib
    0x37c24000 - 0x37c98fff  ProofReader armv7  <cc89a352199a393ba0e46af69e670ef9> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
    0x37c99000 - 0x37d71fff  StoreServices armv7  <9da3466c9cf13402a9f0412065f0ada7> /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
    0x37df4000 - 0x37f8cfff  MediaPlayer armv7  <45ee55956c693d8cb16dc4c4e85075e4> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
    0x38013000 - 0x38016fff  AggregateDictionary armv7  <20bde7d58a573f2fbd5d6458d4e50ef8> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictio nary
    0x38017000 - 0x38028fff  Accounts armv7  <07b95faa96e73ffeb52694cbad7f3528> /System/Library/Frameworks/Accounts.framework/Accounts
    0x38029000 - 0x38030fff  XPCObjects armv7  <5bc4f7282e9d3945a6c1885217670667> /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects
    0x38031000 - 0x380dcfff  MediaControlSender armv7  <fba51e235adc368b8132db578723a8fa> /System/Library/PrivateFrameworks/MediaControlSender.framework/MediaControlSend er
    0x3815a000 - 0x381b0fff  CoreAudio armv7  <a3a2eb3a29443b42a23aa8ecb1232846> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
    0x381d5000 - 0x381d8fff  libmacho.dylib armv7  <2a9fe0b48f473d0f8fe2bf076cd12753> /usr/lib/system/libmacho.dylib
    0x381f5000 - 0x38213fff  WebBookmarks armv7  <012ed1a1f54a3d6d836e2836781d4f73> /System/Library/PrivateFrameworks/WebBookmarks.framework/WebBookmarks
    0x384ac000 - 0x38566fff  AddressBookUI armv7  <5c030d99a0113ceda2ae375d348e4cdb> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
    0x385ba000 - 0x385d1fff  BackBoardServices armv7  <e3eb5191f83339a1abad4c332c1b9d83> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
    0x385d2000 - 0x385ebfff  DictionaryServices armv7  <e1f8d258d02c344cb0d17cec31818d3f> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServic es
    0x38614000 - 0x38629fff  libxpc.dylib armv7  <9fbb123276823c2383fc34b7a55404d7> /usr/lib/system/libxpc.dylib
    0x38690000 - 0x386e5fff  CoreTelephony armv7  <54708e241c5c3e2297c2fca0d685497d> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
    0x3870a000 - 0x38710fff  libsystem_dnssd.dylib armv7  <6c1c1aaf9a3537d7ada4b519d14da7ab> /usr/lib/system/libsystem_dnssd.dylib
    0x38711000 - 0x38798fff  CoreMotion armv7  <537e5776244f3ef5a355f8fd14a72a22> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
    0x38799000 - 0x387f2fff  MobileCoreServices armv7  <d831f1f9285535acac5035a29d84aaaf> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
    0x387f3000 - 0x38813fff  libxslt.1.dylib armv7  <7f6f63b31f333c41952f685fdd54a6cb> /usr/lib/libxslt.1.dylib
    0x38838000 - 0x38854fff  libsystem_m.dylib armv7  <7b2a25c750063de480f6a691f716b9d7> /usr/lib/system/libsystem_m.dylib
    0x3885e000 - 0x3885efff  libCVMSPluginSupport.dylib armv7  <1fd63e8305ab3ca190b1ef6ab2555f9d> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
    0x38994000 - 0x38c1afff  AudioToolbox armv7  <6a4804d0e35e362dbad6f047c25227ca> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
    0x38c3b000 - 0x38c4afff  MobileDeviceLink armv7  <5c91ef875c5931a1a26e227ddfd7262d> /System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink
    0x38cca000 - 0x38cd7fff  ApplePushService armv7  <60dbc7ab243435e099e19bdd3fa83dbb> /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
    0x38cd8000 - 0x38d23fff  libstdc++.6.dylib armv7  <55a7612b28c43cfcad7089b688591b80> /usr/lib/libstdc++.6.dylib
    0x38d24000 - 0x38d61fff  libGLImage.dylib armv7  <7db25f3d55b93f31868e37326fba1e57> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
    0x38d74000 - 0x38d7bfff  CaptiveNetwork armv7  <c1a469c6ca4a3718bef325ec0f4e1885> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
    0x38d7c000 - 0x38d84fff  ProtocolBuffer armv7  <359ccc7700c93d58adbbd74ecfda80d9> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
    0x38da6000 - 0x38db0fff  MailServices armv7  <f31a7844317a3f2484cffe092e9fd7c2> /System/Library/PrivateFrameworks/MailServices.framework/MailServices
    0x3904e000 - 0x39057fff  AssetsLibraryServices armv7  <e51cbfefefbc30b6b47d99739123033e> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibrary Services
    0x39058000 - 0x3905efff  MobileKeyBag armv7  <a81d768a49cf37a1a111594d39cea3fe> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
    0x39065000 - 0x39092fff  MobileAsset armv7  <23e6b8ea85dd3dea84d8c295b4777753> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
    0x39093000 - 0x390b0fff  PersistentConnection armv7  <8e4d21f987d4334e927222c28ff1130b> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConn ection
    0x390f9000 - 0x391d5fff  WebKit armv7  <73fa195f63bc32c29060ac0fecabdca6> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
    0x39357000 - 0x3936cfff  libresolv.9.dylib armv7  <e79b59a3406f34d9b37f8085955115ce> /usr/lib/libresolv.9.dylib
    0x393a4000 - 0x393a4fff  libkeymgr.dylib armv7  <8a2e3a8fdf9335e2867a33e2d1a9baf8> /usr/lib/system/libkeymgr.dylib
    0x393aa000 - 0x393b9fff  StoreKit armv7  <906d82194db23f03b584859ca0a1ed93> /System/Library/Frameworks/StoreKit.framework/StoreKit
    0x393ba000 - 0x393f5fff  AppSupport armv7  <74ed50d2f7d23ce696b029dd817749c0> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
    0x393f6000 - 0x393fafff  FTClientServices armv7  <13aa63aa5e2e348ea289e0fd16585890> /System/Library/PrivateFrameworks/FTClientServices.framework/FTClientServices
    0x393fb000 - 0x39533fff  CoreGraphics armv7  <903960bfcfe93adb943752851f88491e> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
    0x39535000 - 0x39535fff  libSystem.B.dylib armv7  <f2cad3bd15f63f448a9c5be732c65819> /usr/lib/libSystem.B.dylib
    0x39536000 - 0x39537fff  CoreSurface armv7  <b3f9d4e8dd803a48b88c58a0663d92a3> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
    0x396f3000 - 0x39818fff  libGLProgrammability.dylib armv7  <9415f64ffb583dec8105bc072d2887dc> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
    0x39819000 - 0x398fffff  AVFoundation armv7  <23a8a62a06b03cbcbe7659918951c9f3> /System/Library/Frameworks/AVFoundation.framework/AVFoundation
    0x39900000 - 0x39ac3fff  Foundation armv7  <2e1ac190c4f837e2a1059043dd7b1c63> /System/Library/Frameworks/Foundation.framework/Foundation
    0x39ac8000 - 0x39b99fff  RawCamera armv7  <943611c67c033d798ddb213009b02c71> /System/Library/CoreServices/RawCamera.bundle/RawCamera
    0x39ba6000 - 0x39babfff  libGPUSupportMercury.dylib armv7  <a3a953f684173450b0530768d2dd6e7d> /System/Library/PrivateFrameworks/GPUSupport.framework/libGPUSupportMercury.dyl ib
    0x39bad000 - 0x39bb6fff  MediaRemote armv7  <dbc251adcad43e72a31427f836a060cd> /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
    0x39bbb000 - 0x39bc1fff  libAccessibility.dylib armv7  <9e8bfe02e370375ea8439ab895528982> /usr/lib/libAccessibility.dylib
    0x39bc2000 - 0x39be6fff  Bom armv7  <c76b4156e0463ecb922608d44c126d86> /System/Library/PrivateFrameworks/Bom.framework/Bom
    0x39be7000 - 0x3a004fff  TextInput armv7  <ee57be9a7f723604afa6f27f85ea8b1d> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
    0x3a04c000 - 0x3a058fff  libbsm.0.dylib armv7  <e98708fbfa683df2a91d45dc765071a7> /usr/lib/libbsm.0.dylib
    0x3a08a000 - 0x3a1d3fff  libicucore.A.dylib armv7  <0253932c1b9038a0849ef73c38e076ca> /usr/lib/libicucore.A.dylib
    0x3a1d4000 - 0x3a1dbfff  StoreKitUI armv7  <5a5feaf49028341696cbb2ccd31de7a4> /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI
    0x3a1dc000 - 0x3a1edfff  SpringBoardServices armv7  <22255260ec6436d19176696422441c40> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServ ices
    0x3a1f0000 - 0x3a248fff  ManagedConfiguration armv7  <9d006173bfcc3001b45c44b8e78833ed> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfigu ration
    0x3a249000 - 0x3a25cfff  AirTraffic armv7  <b588b9fdc83d369db76f1ad5ebf2a4fa> /System/Library/PrivateFrameworks/AirTraffic.framework/AirTraffic
    0x3a25d000 - 0x3a298fff  iCalendar armv7  <d5f593ead35b38a98d6cfd4a243e0172> /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
    0x3a310000 - 0x3a316fff  SyncedDefaults armv7  <8c95dd5930703ffe947f192b636379c5> /System/Library/PrivateFrameworks/SyncedDefaults.framework/SyncedDefaults
    0x3a319000 - 0x3a355fff  DataAccess armv7  <bd40f7ec5a9c3df7b4a575fffc25c14f> /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
    0x3a392000 - 0x3a3aafff  libsystem_info.dylib armv7  <be3d5625aed733ffb2d53400655fe110> /usr/lib/system/libsystem_info.dylib
    0x3a3c2000 - 0x3a3f5fff  AppleAccount armv7  <2af09d814a5a382192613b68b9327d49> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
    0x3a45a000 - 0x3a498fff  VideoToolbox armv7  <bfc75ceef01e366e8335949abf037d4b> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
    0x3a4ce000 - 0x3a4fefff  ContentIndex armv7  <25cc27c7fdac34e6ae5e057c048a3e21> /System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex
    0x3a508000 - 0x3a50ffff  liblockdown.dylib armv7  <257ecb171a363e4298a63f72d7fffea2> /usr/lib/liblockdown.dylib
    0x3a8c4000 - 0x3a8d0fff  WebUI armv7  <8a6a10ee42e83e96972eddd54b388e4c> /System/Library/PrivateFrameworks/WebUI.framework/WebUI
    0x3a8de000 - 0x3a8f3fff  libmis.dylib armv7  <3afeeea531013420af75315d8d6dd332> /usr/lib/libmis.dylib
    0x3ac41000 - 0x3ac4efff  TelephonyUtilities armv7  <0e07c7484ca63c189fd19790eb48bb28> /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtiliti es
    0x3ac76000 - 0x3ac8bfff  DataDetectorsCore armv7  <f15e924939fa39bbb9f57391824f8ce9> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore
    0x3ad1f000 - 0x3aed0fff  libmecabra.dylib armv7  <b59b3ee949633384bf5612da5cc73781> /usr/lib/libmecabra.dylib
    0x3b059000 - 0x3b05dfff  CertUI armv7  <7e4aee03dc3735559f1270e504d94f02> /System/Library/PrivateFrameworks/CertUI.framework/CertUI
    0x3b05e000 - 0x3b05ffff  libdnsinfo.dylib armv7  <6c912cedc1e938ad914dfce91a529b68> /usr/lib/system/libdnsinfo.dylib
    0x3b0a9000 - 0x3b0b5fff  libMobileGestalt.dylib armv7  <0338ce49444332ec88cfc45c624bb39b> /usr/lib/libMobileGestalt.dylib
    0x3b0e3000 - 0x3b1c6fff  libBLAS.dylib armv7  <56d8e00447133cd89457deec007327cb> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/lib BLAS.dylib
    0x3b1f4000 - 0x3b240fff  IMFoundation armv7  <b1a5542b977e3ae683f40ee5755d5b32> /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation
    0x3b285000 - 0x3b287fff  libcompiler_rt.dylib armv7  <7add7c91a2673641b0c5f0433a203da6> /usr/lib/system/libcompiler_rt.dylib
    0x3b2bf000 - 0x3b2cbfff  GenerationalStorage armv7  <74d50f4c8d243a35ad3ae89d85f2793a> /System/Library/PrivateFrameworks/GenerationalStorage.framework/GenerationalSto rage
    0x3b2d1000 - 0x3b2d2fff  IOAccelerator armv7  <de8af6be681832008d180d7424d55f0d> /System/Library/PrivateFrameworks/IOAccelerator.framework/IOAccelerator
    0x3b2d5000 - 0x3b2eefff  Notes armv7  <b8fb864f5973319083f926d9a570734e> /System/Library/PrivateFrameworks/Notes.framework/Notes
    0x3b328000 - 0x3b32bfff  libcache.dylib armv7  <e08b913e17753180b91728a8bd5dda7b> /usr/lib/system/libcache.dylib
    0x3b34f000 - 0x3b352fff  ActorKit armv7  <64235ea1a8b73d23a4a9836410424b6b> /System/Library/PrivateFrameworks/ActorKit.framework/ActorKit
    0x3b353000 - 0x3b3d8fff  libsqlite3.dylib armv7  <759ca29f533a33e88a81fddc3364bf19> /usr/lib/libsqlite3.dylib
    0x3b708000 - 0x3b747fff  SystemConfiguration armv7  <44d84d23d10f344c90b4d9e9611ec976> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
    0x3b753000 - 0x3b78efff  libCGFreetype.A.dylib armv7  <7a68e65e523030faa9d91478e939bc00> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dyl ib
    0x3b824000 - 0x3b849fff  OpenCL armv7  <f7706501012430fc94ed99006419fba9> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
    0x3b84a000 - 0x3b84dfff  MobileSystemServices armv7  <6edd9c74c5a73c33809152446abe1538> /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemSe rvices
    0x3b876000 - 0x3b8cefff  CoreLocation armv7  <3235bde1608331bebc291891405896c6> /System/Library/Frameworks/CoreLocation.framework/CoreLocation
    0x3b8cf000 - 0x3b933fff  AddressBook armv7  <3c0d5a3207cf3771b0beb0cd8e8a6e12> /System/Library/Frameworks/AddressBook.framework/AddressBook
    0x3b978000 - 0x3b97dfff  CommonUtilities armv7  <cb484bdaf5003e4baa13f83bafff62a9> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
    0x3bb3f000 - 0x3bbf4fff  CoreImage armv7  <ba744c4f6a1c3c0598de9d429022093a> /System/Library/Frameworks/CoreImage.framework/CoreImage

    We see the same thing on an iPad 8.1.2.
    If we disable Safari from saving credit cards, it works fine.  But we cannot really tell customers to do that:
    http://www.imore.com/how-stop-icloud-keychain-storing-passwords-or-credit-cards- safari

  • Problem in refreshing the combo box on selection of an item in another comb

    I have a situation where values to be displayed in 2nd combo box depends on the selection of an item from the 1st combo box.
    Problem observed:
    The 2nd combo box is not getting refreshed if the selected item from the 1st combo box has mapping to more than 10 items.
    for ex:
    A - AA, AB, AC, AD, AE, AF
    B - BA, BB, BC, BD, BE, BF, BG, BH, BI, BJ, BK, BL, BM, BN, BO, BP
    C - CA, CB, CC
    D - DA, DB, DC, DD
    1st combo box list:
    A
    B
    C
    D
    2nd combo box list:
    If the value selected from the first combo box is A, C, or D then 2nd combo box refreshes with repective values. But when the value selected is B, then 2nd combo box is not getting refreshed with respective values.
    Combo Model for 1st combo box:
    public class proCLMLossTypeComboModel implements javax.swing.ComboBoxModel
    package nz.co.towerinsurance.quantum.claims.pro;
    import javax.swing.*;
    import java.util.*;
    import CoreProduct.mbsoPRDLossCauseTypeList;
    import javax.swing.event.*;
    public class proCLMLossTypeComboModel implements javax.swing.ComboBoxModel
    Vector vector = null;
    mbsoPRDLossCauseTypeList mbsoPRDLossCauseTypeListInst0 = null;
    public void setData(Vector vector)
    this.vector = vector;
    public int getSize()
    if(vector != null)
    return this.vector.size();     
    else
    return 0;
    public void addListDataListener(ListDataListener l)
    public void removeListDataListener(ListDataListener l)
    public Object getElementAt(int index)
    return this.vector.elementAt(index);     
    public Object getSelectedItem()
    return this.mbsoPRDLossCauseTypeListInst0;     
    public void setSelectedItem(Object anItem)
    mbsoPRDLossCauseTypeList mbsoPRDLossCauseTypeListInst1 = (mbsoPRDLossCauseTypeList)anItem;
    this.mbsoPRDLossCauseTypeListInst0 = mbsoPRDLossCauseTypeListInst1;
    public Vector getData()
    return this.vector;     
    Combo Model for 2nd combo box:
    package nz.co.towerinsurance.quantum.claims.pro;
    import javax.swing.*;
    import java.util.*;
    import CoreProduct.mbsoPRDCauseTypeList;
    import javax.swing.event.*;
    public class proCLMCauseTypeComboModel implements javax.swing.ComboBoxModel
    Vector vector = null;
    mbsoPRDCauseTypeList mbsoPRDCauseTypeListInst0 = null;
    public void setData(Vector vector)
    this.vector = vector;
    public int getSize()
    if(vector != null)
    return this.vector.size();     
    else
    return 0;
    public void addListDataListener(ListDataListener l)
    public void removeListDataListener(ListDataListener l)
    public Object getElementAt(int index)
    return this.vector.elementAt(index);     
    public Object getSelectedItem()
    return this.mbsoPRDCauseTypeListInst0;     
    public void setSelectedItem(Object anItem)
    mbsoPRDCauseTypeList mbsoPRDCauseTypeListInst1 = (mbsoPRDCauseTypeList)anItem;
    this.mbsoPRDCauseTypeListInst0 = mbsoPRDCauseTypeListInst1;
    public Vector getData()
    return this.vector;     
    The Panel inside which these combo boxes are used:
    package nz.co.towerinsurance.quantum.claims.pro;
    import nz.co.towerinsurance.quantum.logger.MessageLogger;
    import nz.co.towerinsurance.quantum.claims.vmo.*;
    import nz.co.towerinsurance.quantum.utility.uhoUTLDialogueContext;
    import nz.co.towerinsurance.quantum.utility.uhoUTLModelHolder;
    import nz.co.towerinsurance.quantum.utility.uhoUTLInteraction;
    import nz.co.towerinsurance.quantum.utility.uhoUTLNotesContext;
    import nz.co.towerinsurance.quantum.utility.uhoUTLPrivacyContext;
    import nz.co.towerinsurance.quantum.utility.uhoUTLProcessImpContext;
    import nz.co.towerinsurance.quantum.help.*;
    import nz.co.towerinsurance.quantum.document.*;
    import nz.co.towerinsurance.quantum.task.*;
    import nz.co.towerinsurance.quantum.qtm.*;
    import nz.co.towerinsurance.quantum.claims.uhoCLMClientModel;
    import nz.co.towerinsurance.quantum.claims.utility.*;
    import MCType.*;
    import Claim.*;
    import Client.*;
    import Policy.*;
    import CoreProduct.*;
    import Security.*;
    import MCUtil.*;
    import java.awt.*;
    import java.util.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import javax.swing.ButtonGroup.*;
    import java.text.*;
    public class proSummaryPanel extends proCLMPanelBase implements proCLMRefreshInterface, proCLMDeclineReasonInterface
    private static final MessageLogger msgLogger=MessageLogger.getLogger("claims.pro.proSummaryPanel");
    uhoCLMClientModel uhoCLMClientModelInst0 = null;
    Vector VectorInst0 = new Vector();
    JRadioButton jRdBtnSummaryPM = new JRadioButton();
    JRadioButton jRdBtnSummaryAM = new JRadioButton();
    ButtonGroup ButtonGroupInst0 = new ButtonGroup();
    JButton jBtnSummarySearch = new JButton();
    JLabel jLblSummaryCompanyName = new JLabel();
    JLabel jLblSummaryCauseType = new JLabel();
    JTextField jTxtFldSummaryAmountSaved = new JTextField();
    JTextField jTxtFldSummaryDateNotified = new JTextField();
    JTextField jTxtFldSummary = new JTextField();
    JTextField jTxtFldSummarySuburb = new JTextField();
    JLabel jLblSummaryCatCode = new JLabel();
    JLabel jLblSummaryLossDesc = new JLabel();
    JLabel jLblSummaryDateNotified = new JLabel();
    JLabel jLblSummaryCity = new JLabel();
    JLabel jLblSummaryTime = new JLabel();
    JLabel jLblSummaryDeclineReason = new JLabel();
    JCheckBox jChkBxNcbLost = new JCheckBox();
    JCheckBox jChkBxLegal = new JCheckBox();
    JCheckBox jChkBxNoBlameBonus = new JCheckBox();
    JLabel jLblSummaryPostCode = new JLabel();
    JTextField jTxtFldSummaryStreetName = new JTextField();
    JTextField jTxtFldSummaryLossDate = new JTextField();
    JTextField jTxtFldSummaryCity = new JTextField();
    JTextField jTxtFldSummaryTime = new JTextField();
    JLabel jLblSummaryLossType = new JLabel();
    JTextField jTxtFldSummaryPhone = new JTextField();
    JTextField jTxtFldSummaryCompanyName = new JTextField();
    JLabel jLblSummarySuburb = new JLabel();
    JTextArea jTxtArLossDescription = new JTextArea();
    JScrollPane jScrPnSummaryLossDesc = new JScrollPane(jTxtArLossDescription);
    JTextField jTxtFldSummaryDeclineReason = new JTextField();
    JPanel jPanel2 = new JPanel();
    JPanel jPanel1 = this;
    JLabel jLblSummaryPhone = new JLabel();
    JTextField jTxtFldSummaryPostCode = new JTextField();
    JLabel jLblSummaryAmountSaved = new JLabel();
    JPanel jPnlSummaryCoy = new JPanel();
    JLabel jLblSummaryStreetName = new JLabel();
    Vector lossTypeVec = new Vector();
    JComboBox jCmbBxSummaryLossType = new JComboBox(lossTypeVec);
    proCLMLossTypeComboModel lossTypeComboModel = new proCLMLossTypeComboModel();
    Vector causeTypeVec = new Vector();
    JComboBox jCmbBxSummaryCauseType = new JComboBox();
    proCLMCauseTypeComboModel causeTypeComboModel = new proCLMCauseTypeComboModel();
    Vector CatCodeVec = new Vector();
    JComboBox jCmbBxSummaryCatCode = new JComboBox();
    proCLMCatCodeComboModel catCodeComboModel = new proCLMCatCodeComboModel();
    JLabel jLblSummaryLossDate = new JLabel();
    JButton jBtnSave = new JButton();
    JButton jBtnCancel = new JButton();
    Border border1;
    TitledBorder titledBorder1;
    Border border2;
    Border border3;
    TitledBorder titledBorder2;
    Border border4;
    TitledBorder titledBorder3;
    GridBagLayout gridBagLayout1 = new GridBagLayout();
    GridBagLayout gridBagLayout2 = new GridBagLayout();
    Border border5;
    TitledBorder titledBorder4;
    GridBagLayout gridBagLayout3 = new GridBagLayout();
    GridBagLayout gridBagLayout4 = new GridBagLayout();
    Component component1;
    Component component2;
    * @parameter uhoUTLInteraction ,mbsoSEMPrivilege
    * @return
    public proSummaryPanel(proQTMBase parent, uhoUTLInteraction inter,mbsoSEMPrivilege services)
    super(parent,inter,services);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    * Component initialization
    * @parameter
    * @return void
    private void jbInit() throws Exception
    component1 = Box.createHorizontalStrut(8);
    component2 = Box.createHorizontalStrut(8);
    jCmbBxSummaryLossType.setMinimumSize(new Dimension(225, 25));
    // set the combo models
    jCmbBxSummaryLossType.setModel(lossTypeComboModel);
    jCmbBxSummaryCauseType.setModel(causeTypeComboModel);
    jCmbBxSummaryCatCode.setModel(catCodeComboModel);
    // renderer for the loss type combo
         jCmbBxSummaryLossType.setRenderer(new DefaultListCellRenderer()
         public Component getListCellRendererComponent(JList list, Object value,
         int index, boolean isSelected, boolean cellHasFocus)
         mbsoPRDLossCauseTypeList mbsoPRDLossTypeListObj = (mbsoPRDLossCauseTypeList) value;
         String v = (mbsoPRDLossTypeListObj == null) ? null:mbsoPRDLossTypeListObj.GetLossTypeName().toString();
         return super.getListCellRendererComponent(list,v,index,isSelected,cellHasFocus);
         // key selection manager for loss type combo
         jCmbBxSummaryLossType.setKeySelectionManager(new javax.swing.JComboBox.KeySelectionManager()
         public int selectionForKey(char aKey,ComboBoxModel aModel)
         try
         Vector vector = lossTypeComboModel.getData();
         // prepare a character array witht the first letter of loss types in lower case
         char[] characterArray = new char[vector.size()];
         for(int i=0;i<vector.size();i++)
         mbsoPRDLossCauseTypeList mbsoPRDLossCauseTypeListInst0 = (mbsoPRDLossCauseTypeList)vector.elementAt(i);
         char charac = mbsoPRDLossCauseTypeListInst0.GetLossTypeName().toString().toLowerCase().charAt(0);     
         characterArray[i] = charac;
         Character char1 = new Character(aKey);
         int index = 0;
         if(char1.isUpperCase(aKey))
         char char2 = char1.toLowerCase(aKey);
         index = java.util.Arrays.binarySearch(characterArray,char2);
         else
         index = java.util.Arrays.binarySearch(characterArray,aKey);
         if(index > 0)
         jCmbBxSummaryLossType.setSelectedIndex(index);
         else
         jCmbBxSummaryLossType.setSelectedIndex(0);
         jCmbBxSummaryLossType.repaint();
         if(index > 0)
         return index;
         else
         return 0;
         catch(Exception e1)
         msgLogger.fatal("Exception     : proSumamryPanel     : loss type combo key sel mgr : "+e1.getMessage());
         return 0;
         // renderer for cause type combo
         jCmbBxSummaryCauseType.setRenderer(new DefaultListCellRenderer() {
         public Component getListCellRendererComponent(JList list, Object value,
         int index, boolean isSelected, boolean cellHasFocus)
         mbsoPRDCauseTypeList mbsoPRDCauseTypeListObj = (mbsoPRDCauseTypeList) value;
         String v = (mbsoPRDCauseTypeListObj == null) ? null:mbsoPRDCauseTypeListObj.GetCauseTypeName().toString();
         return super.getListCellRendererComponent(list,v,index,isSelected,cellHasFocus);
         // key selection manager for loss type combo
         jCmbBxSummaryCauseType.setKeySelectionManager(new javax.swing.JComboBox.KeySelectionManager()
         public int selectionForKey(char aKey,ComboBoxModel aModel)
         try
         Vector vector = causeTypeComboModel.getData();
         // prepare a character array witht the first letter of loss types in lower case
         char[] characterArray = new char[vector.size()];
         for(int i=0;i<vector.size();i++)
         mbsoPRDCauseTypeList mbsoPRDCauseTypeListInst0 = (mbsoPRDCauseTypeList)vector.elementAt(i);
         char charac = mbsoPRDCauseTypeListInst0.GetCauseTypeName().toString().toLowerCase().charAt(0);     
         characterArray[i] = charac;
         Character char1 = new Character(aKey);
         int index = 0;
         if(char1.isUpperCase(aKey))
         char char2 = char1.toLowerCase(aKey);
         index = java.util.Arrays.binarySearch(characterArray,char2);
         else
         index = java.util.Arrays.binarySearch(characterArray,aKey);
         if(index > 0)
         jCmbBxSummaryCauseType.setSelectedIndex(index);
         else
         jCmbBxSummaryCauseType.setSelectedIndex(0);
         jCmbBxSummaryCauseType.repaint();
         if(index > 0)
         return index;
         else
         return 0;
         catch(Exception e1)
         msgLogger.fatal("Exception     : proSumamryPanel     : cause type combo key sel mgr : "+e1.getMessage());
         return 0;
    jBtnSummarySearch.setBorder(BorderFactory.createRaisedBevelBorder());
    jBtnSummarySearch.setMaximumSize(new Dimension(119, 23));
    jBtnSummarySearch.setPreferredSize(new Dimension(65, 23));
    jBtnSummarySearch.setMnemonic(KeyEvent.VK_E); // 20/12
    jBtnSummarySearch.setText("Search");
    this.setLayout(gridBagLayout4);
    ButtonGroupInst0.add(jRdBtnSummaryPM);
    ButtonGroupInst0.add(jRdBtnSummaryAM);
    border1 = BorderFactory.createEtchedBorder(Color.white,new Color(142, 142, 142));
    titledBorder1 = new TitledBorder(border1,"Where Is It Now?");
    border2 = BorderFactory.createEtchedBorder(Color.white,new Color(142, 142, 142));
    border3 = BorderFactory.createEtchedBorder(Color.white,new Color(142, 142, 142));
    titledBorder2 = new TitledBorder(border3,"Where Is It Now?");
    border4 = BorderFactory.createEtchedBorder(Color.white,new Color(142, 142, 142));
    titledBorder3 = new TitledBorder(border4,"Summary");
    border5 = BorderFactory.createEtchedBorder(Color.white,new Color(142, 142, 142));
    titledBorder4 = new TitledBorder(border5,"Location of Vehicle/Boat");
    jScrPnSummaryLossDesc.setToolTipText("");
    jScrPnSummaryLossDesc.setFont(new java.awt.Font("SansSerif", 0, 12));
    jScrPnSummaryLossDesc.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    jLblSummarySuburb.setText("Suburb");
    jLblSummarySuburb.setForeground(Color.black);
    jLblSummarySuburb.setPreferredSize(new Dimension(100, 17));
    jLblSummarySuburb.setFont(new java.awt.Font("SansSerif", 1, 12));
    jTxtFldSummaryCompanyName.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryCompanyName.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryCompanyName.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryCompanyName.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryPhone.setToolTipText("");
    jTxtFldSummaryPhone.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryPhone.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryPhone.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryPhone.setFont(new java.awt.Font("SansSerif", 0, 12));
    jLblSummaryLossType.setText("Loss Type");
    jLblSummaryLossType.setForeground(Color.black);
    jLblSummaryLossType.setPreferredSize(new Dimension(102, 17));
    jLblSummaryLossType.setFont(new java.awt.Font("SansSerif", 1, 12));
    jTxtFldSummaryTime.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryTime.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryTime.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryTime.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryCity.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryCity.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryCity.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryCity.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryLossDate.setBackground(Color.cyan);
    jTxtFldSummaryLossDate.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryLossDate.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryLossDate.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryLossDate.setFont(new java.awt.Font("SansSerif", 0, 12));
    jBtnSave.setToolTipText("");
    jBtnSave.setBorder(BorderFactory.createRaisedBevelBorder());
    jBtnSave.setMnemonic('S');
    jBtnSave.setText("Save");
    jBtnSave.setPreferredSize(new Dimension(100,23)); // 30/07
    jBtnSummarySearch.addActionListener(new java.awt.event.ActionListener(){
    public void actionPerformed(ActionEvent e) {
    jBtnSummarySearch_actionPerformed(e);
    //the listener for losstype combobox
    jCmbBxSummaryLossType.addItemListener(new java.awt.event.ItemListener() {
    public void itemStateChanged(ItemEvent e) {
    jCmbBxSummaryLossType_itemStateChanged(e);
    //Actioin listener for Save button
    jBtnSave.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(ActionEvent e)
    jBtnSave_actionPerformed(e);
    //Actioin listener for Cancel button
    jTxtFldSummaryStreetName.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryStreetName.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryStreetName.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryStreetName.setPreferredSize(new Dimension(100, 20));
    jLblSummaryPostCode.setText("Post Code");
    jLblSummaryPostCode.setForeground(Color.black);
    jLblSummaryPostCode.setPreferredSize(new Dimension(100, 17));
    jLblSummaryPostCode.setFont(new java.awt.Font("SansSerif", 1, 12));
    jChkBxNcbLost.setFont(new java.awt.Font("SansSerif", 1, 12));
    jChkBxNcbLost.setPreferredSize(new Dimension(130, 17));
    jChkBxNcbLost.setText("NCB Lost");
    jLblSummaryDeclineReason.setText("Decline Reason");
    jLblSummaryDeclineReason.setForeground(Color.black);
    jLblSummaryDeclineReason.setPreferredSize(new Dimension(102, 17));
    jLblSummaryDeclineReason.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryTime.setText("Time");
    jLblSummaryTime.setForeground(Color.black);
    jLblSummaryTime.setPreferredSize(new Dimension(35, 17));
    jLblSummaryTime.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryCity.setText("Town/City");
    jLblSummaryCity.setForeground(Color.black);
    jLblSummaryCity.setPreferredSize(new Dimension(100, 17));
    jLblSummaryCity.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryDateNotified.setText("Date Notified");
    jLblSummaryDateNotified.setForeground(Color.black);
    jLblSummaryDateNotified.setPreferredSize(new Dimension(102, 17));
    jLblSummaryDateNotified.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryLossDesc.setText("Loss Description");
    jLblSummaryLossDesc.setForeground(Color.black);
    jLblSummaryLossDesc.setPreferredSize(new Dimension(102, 17));
    jLblSummaryLossDesc.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryCatCode.setText("Catastrophe Code");
    jLblSummaryCatCode.setForeground(Color.black);
    jLblSummaryCatCode.setFont(new java.awt.Font("SansSerif", 1, 12));
    jTxtFldSummarySuburb.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummarySuburb.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummarySuburb.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummarySuburb.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryAmountSaved.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryAmountSaved.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryAmountSaved.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryAmountSaved.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryDateNotified.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryDateNotified.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryDateNotified.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryDateNotified.setPreferredSize(new Dimension(100, 20));
    jLblSummaryCauseType.setText("Cause Type");
    jLblSummaryCauseType.setForeground(Color.black);
    jLblSummaryCauseType.setPreferredSize(new Dimension(102, 17));
    jLblSummaryCauseType.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryCompanyName.setText("Company Name");
    jLblSummaryCompanyName.setForeground(Color.black);
    jLblSummaryCompanyName.setPreferredSize(new Dimension(100, 17));
    jLblSummaryCompanyName.setFont(new java.awt.Font("SansSerif", 1, 12));
    jCmbBxSummaryCatCode.setFont(new java.awt.Font("SansSerif", 0, 12));
    jCmbBxSummaryCatCode.setMinimumSize(new Dimension(225, 25));  // on 21/11
    jCmbBxSummaryCatCode.setPreferredSize(new Dimension(126, 25));
    jRdBtnSummaryPM.setFont(new java.awt.Font("SansSerif", 1, 12));
    jRdBtnSummaryPM.setPreferredSize(new Dimension(40, 17));
    jRdBtnSummaryPM.setText("pm");
    jTxtFldSummaryDeclineReason.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtFldSummaryDeclineReason.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryDeclineReason.setMinimumSize(new Dimension(225, 20));
    jTxtFldSummaryDeclineReason.setPreferredSize(new Dimension(225, 20));
    jChkBxLegal.setPreferredSize(new Dimension(130, 17));
    jChkBxLegal.setText("Legal");
    jChkBxLegal.setActionCommand("jChkBxLegal");
    jChkBxLegal.setFont(new java.awt.Font("SansSerif", 1, 12));
    jPanel2.setBorder(BorderFactory.createEtchedBorder());
    jPanel2.setLayout(gridBagLayout1);
    jPanel1.setLayout(gridBagLayout3);
    jLblSummaryPhone.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryPhone.setForeground(Color.black);
    jLblSummaryPhone.setPreferredSize(new Dimension(100, 17));
    jLblSummaryPhone.setText("Phone");
    jRdBtnSummaryAM.setPreferredSize(new Dimension(40, 17));
    jRdBtnSummaryAM.setText("am");
    jRdBtnSummaryAM.setFont(new java.awt.Font("SansSerif", 1, 12));
    jRdBtnSummaryAM.setSelected(true); // 20/12
    jTxtFldSummaryPostCode.setBorder(BorderFactory.createLoweredBevelBorder());
    jTxtFldSummaryPostCode.setMinimumSize(new Dimension(100, 20));
    jTxtFldSummaryPostCode.setPreferredSize(new Dimension(100, 20));
    jTxtFldSummaryPostCode.setFont(new java.awt.Font("SansSerif", 0, 12));
    jLblSummaryAmountSaved.setText("Amount Saved");
    jLblSummaryAmountSaved.setForeground(Color.black);
    jLblSummaryAmountSaved.setPreferredSize(new Dimension(102, 17));
    jLblSummaryAmountSaved.setFont(new java.awt.Font("SansSerif", 1, 12));
    jPnlSummaryCoy.setFont(new java.awt.Font("SansSerif", 1, 12));
    jPnlSummaryCoy.setBorder(titledBorder4);
    jPnlSummaryCoy.setLayout(gridBagLayout2);
    jLblSummaryStreetName.setFont(new java.awt.Font("SansSerif", 1, 12));
    jLblSummaryStreetName.setForeground(Color.black);
    jLblSummaryStreetName.setPreferredSize(new Dimension(100, 17));
    jLblSummaryStreetName.setText("Street Name");
    jCmbBxSummaryLossType.setBackground(Color.cyan);
    jCmbBxSummaryLossType.setFont(new java.awt.Font("SansSerif", 0, 12));
    jCmbBxSummaryLossType.setPreferredSize(new Dimension(225, 26));
    jCmbBxSummaryCauseType.setBackground(Color.cyan);
    jCmbBxSummaryCauseType.setFont(new java.awt.Font("SansSerif", 0, 12));
    jCmbBxSummaryCauseType.setPreferredSize(new Dimension(225, 26));
    jLblSummaryLossDate.setText("Loss Date");
    jLblSummaryLossDate.setForeground(Color.black);
    jLblSummaryLossDate.setPreferredSize(new Dimension(102, 17));
    jLblSummaryLossDate.setFont(new java.awt.Font("SansSerif", 1, 12));
    jTxtArLossDescription.setLineWrap(true);
    jTxtArLossDescription.setWrapStyleWord(true);
    jTxtArLossDescription.setBackground(Color.cyan);
    jTxtArLossDescription.setFont(new java.awt.Font("SansSerif", 0, 12));
    jTxtArLossDescription.setBounds(new Rectangle(124, 39, 394, 46));
    jChkBxNoBlameBonus.setPreferredSize(new Dimension(130, 17));
    jChkBxNoBlameBonus.setText("No Blame Bonus ");
    jChkBxNoBlameBonus.setFont(new java.awt.Font("SansSerif", 1, 12));
    jPanel1.setBorder(titledBorder3);
    jPanel1.setBounds(new Rectangle(23, 11, 810, 436));
    jPanel1.add(jLblSummaryCatCode, new GridBagConstraints(0, 6, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jScrPnSummaryLossDesc, new GridBagConstraints(1, 1, 6, 1, 0.9, 0.15
    ,GridBagConstraints.SOUTHWEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    jScrPnSummaryLossDesc.getViewport().add(jTxtArLossDescription, null);
    jPanel1.add(jRdBtnSummaryPM, new GridBagConstraints(5, 0, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jTxtFldSummaryDeclineReason, new GridBagConstraints(1, 8, 2, 1, 0.1, 0.1
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryLossDesc, new GridBagConstraints(0, 1, 1, 1, 0.1, 0.5
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryLossType, new GridBagConstraints(0, 3, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryCauseType, new GridBagConstraints(0, 4, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryDeclineReason, new GridBagConstraints(0, 8, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryLossDate, new GridBagConstraints(0, 0, 1, 1, 0.1, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jTxtFldSummaryTime, new GridBagConstraints(3, 0, 1, 1, 0.1, 0.05
    ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryTime, new GridBagConstraints(3, 0, 1, 1, 0.1, 0.05
    ,GridBagConstraints.NORTH, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 107, 7));
    jPanel1.add(jRdBtnSummaryAM, new GridBagConstraints(4, 0, 1, 1, 0.1, 0.05
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jCmbBxSummaryCauseType, new GridBagConstraints(1, 4, 2, 1, 0.1, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jTxtFldSummaryLossDate, new GridBagConstraints(1, 0, 1, 1, 1.0, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jTxtFldSummaryDateNotified, new GridBagConstraints(1, 7, 1, 1, 0.1, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jPanel2, new GridBagConstraints(0, 9, 6, 1, 1.0, 0.1
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(jChkBxNoBlameBonus, new GridBagConstraints(3, 0, 1, 1, 0.1, 0.0
    ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(jChkBxLegal, new GridBagConstraints(4, 0, 1, 1, 0.1, 0.0
    ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(jBtnSave, new GridBagConstraints(5, 0, 1, 1, 0.1, 0.0
    ,GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(jChkBxNcbLost, new GridBagConstraints(2, 0, 1, 1, 0.1, 0.0
    ,GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(component1, new GridBagConstraints(1, 0, 1, 1, 0.35, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel2.add(component2, new GridBagConstraints(5, 0, 1, 1, 0.35, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jCmbBxSummaryLossType, new GridBagConstraints(1, 3, 2, 1, 0.1, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jCmbBxSummaryCatCode, new GridBagConstraints(1, 6, 2, 1, 0.1, 0.05
    ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jPnlSummaryCoy, new GridBagConstraints(2, 3, 4, 6, 1.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummaryPhone, new GridBagConstraints(0, 6, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummarySuburb, new GridBagConstraints(0, 3, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummaryStreetName, new GridBagConstraints(1, 2, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummaryCity, new GridBagConstraints(1, 4, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummaryPostCode, new GridBagConstraints(1, 5, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummarySuburb, new GridBagConstraints(1, 3, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummaryPostCode, new GridBagConstraints(0, 5, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummaryPhone, new GridBagConstraints(1, 6, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jTxtFldSummaryCompanyName, new GridBagConstraints(1, 0, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummaryCompanyName, new GridBagConstraints(0, 0, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummaryStreetName, new GridBagConstraints(0, 2, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPnlSummaryCoy.add(jLblSummaryCity, new GridBagConstraints(0, 4, 1, 1, 0.5, 0.16
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jLblSummaryDateNotified, new GridBagConstraints(0, 7, 1, 1, 0.1, 0.05
    ,GridBagConstraints.EAST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jBtnSummarySearch, new GridBagConstraints(1, 5, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
    jTxtFldSummaryLossDate.grabFocus();
    jTxtFldSummaryLossDate.setNextFocusableComponent(jTxtFldSummaryTime);
    jTxtFldSummaryTime.setNextFocusableComponent(jRdBtnSummaryAM);
    jRdBtnSummaryAM.setNextFocusableComponent(jRdBtnSummaryPM);
    jRdBtnSummaryPM.setNextFocusableComponent(jTxtArLossDescription);
    jTxtArLossDescription.setNextFocusableComponent(jCmbBxSummaryLossType);
    jCmbBxSummaryLossType.setNextFocusableComponent(jCmbBxSummaryCauseType);
    jCmbBxSummaryCauseType.setNextFocusableComponent(jBtnSummarySearch);
    jBtnSummarySearch.setNextFocusableComponent(jCmbBxSummaryCatCode);
    jCmbBxSummaryCatCode.setNextFocusableComponent(jTxtFldSummaryDateNotified);
    jTxtFldSummaryDateNotified.setNextFocusableComponent(jTxtFldSummaryDeclineReason);
    jTxtFldSummaryDeclineReason.setNextFocusableComponent(jTxtFldSummaryCompanyName);
    jTxtFldSummaryCompanyName.setNextFocusableComponent(jTxtFldSummaryStreetName);
    jTxtFldSummaryStreetName.setNextFocusableComponent(jTxtFldSummarySuburb);
    jTxtFldSummarySuburb.setNextFocusableComponent(jTxtFldSummaryCity);
    jTxtFldSummaryCity.setNextFocusableComponent(jTxtFldSummaryPostCode);
    jTxtFldSummaryPostCode.setNextFocusableComponent(jTxtFldSummaryPhone);
    jTxtFldSummaryPhone.setNextFocusableComponent(jChkBxNcbLost);
    jChkBxNcbLost.setNextFocusableComponent(jChkBxNoBlameBonus);
    jChkBxNoBlameBonus.setNextFocusableComponent(jChkBxLegal);
    jChkBxLegal.setNextFocusableComponent(jBtnSave);
    jBtnSave.setNextFocusabl                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     &nbs

    the very simple strategy to do is to call removeAllItems() method for the 2nd combox box and then insert the contents. this is because the validate() method is not repeatedly called and so the contents are not updated immediately.

  • Box inside another box in SMARTFORM for hierarchical item data printing

    Hi All,
    I need to put a <b>box inside another box</b> and <b>both the boxes need to be bordered</b>. There are 2 levels of main data to be printed in the 2 boxes. Header data will be printed in the outer box and corresponding to each header row a number of line items will be printed in the inner box.
    There will be multiple numbers of headers as per requirement. How can this feature be implemented in SMARTFORM / SAP-script?

    Hi ,
    You can try using a combination of variable window and main window to achieve what you are lookoing for.
    You will have to use Main window instances such a way similar to newspaper printing.
    Cheers
    VJ

  • In a tubular form: how do you make one combo box reflect another

    For example:
    if there are two fields, one with combo box with bread, meat, juice and I select juice, I and the contents of another combo box in another field to say Orange, grape, lemon.
    field one field two
    bread orange
    meat grape
    juice lemon
    in field one there is just those 3 but in the table representing two there are many such as types of bread and meat and juice, all three.
    Hope you can understand this example. Thanks for your help.

    Your description is not very clear but looks like you want cascading select lists, where 2nd select list is populated based on value selected in the first select list.
    AJAX is a good solution if you are comfortable with it. Since I'm not very familiar with that, I end up using pl/sql.
    Someone had asked similar question few days back, and i had provided a detailed answer. You can check it out at:
    Re: select menu depends from selection
    Hope this helps.

  • Populate Combo Box field into another field

    I've got a form (form1) based off a table (table1).  In the form I have a field from table1 called
    bagtype that is a combobox type field with a row source from another table with two fields that show up in the drop down box when selected.  When I select a field from the dropdown box only the first field populates the actual form field
    (and underlying table) which is what I want.  What I'd also like to happen is the second field of the combo box that doesn't populate the bagtype field is for it to populate another field (from table1) on the same form and store that
    value in the underlying table as well.  The other field in the form is called
    AStd.   
    TAK

    Hi,
    you need 1 line of VBA code in the AfterUpdate event of the combo box:
    Me!NameOfTheTargetFieldOrControl = Me!BagType.Column(1)
    The column index is zero based i.e. 0 = first column of the combo box, 1 = second column etc.
    cu
    Karl
    Access FAQ (de/it): donkarl.com
    Access Lobby: AccessDevelopers.org

  • Combo Box inside dataGrid

    I have looked everywhere and I am having a hard time finding
    a good example of how to use a combo box in a datagrid. I want to
    use a dataprovider for my datagird but as soon as I get inside my
    itemRenderer it throws an error saying Access of undefined property
    model even though it is defined above. Can someone please help me.
    I may be way off??
    <mx:DataGrid x="10" y="10" width="840" height="120"
    dataProvider="{model.acProducts}">
    <mx:columns>
    <mx:DataGridColumn dataField="UPC Number">
    <mx:itemRenderer>
    <mx:Component>
    <mx:ComboBox
    dataProvider="{model.acProducts}"/>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn dataField="proddesc"
    headerText="Product Name" />
    <mx:DataGridColumn headerText="Lot Number" />
    <mx:DataGridColumn headerText="Product Category" />
    <mx:DataGridColumn headerText="EPA" />
    <mx:DataGridColumn headerText="AE Count">
    <mx:itemRenderer>
    <mx:Component>
    <mx:HBox horizontalAlign="center">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var selected:Boolean;
    ]]>
    </mx:Script>
    <mx:CheckBox id="displayCheckBox" click="selected =
    displayCheckBox.selected"/>
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>

    i got it. Heres the code for everyone who is wondering
    <mx:DataGrid x="10" y="10" width="840" height="120"
    dataProvider="{model.acProducts}" ro>
    <mx:columns>
    <mx:DataGridColumn dataField="UPC Number">
    <mx:itemRenderer>
    <mx:Component>
    <mx:HBox>
    <mx:Script>
    <![CDATA[
    import
    com.serg.reportingTool.model.SergReportingToolModelLocator;
    [Bindable] private var model:SergReportingToolModelLocator =
    SergReportingToolModelLocator.getInstance();
    ]]>
    </mx:Script>
    <mx:ComboBox
    id="occurenceCode"
    labelField="OccurrenceCode"
    dataProvider="{model.acOccurrences}"
    />
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn dataField="proddesc"
    headerText="Product Name" />
    <mx:DataGridColumn headerText="Lot Number" />
    <mx:DataGridColumn headerText="Product Category" />
    <mx:DataGridColumn headerText="EPA" />
    <mx:DataGridColumn headerText="AE Count">
    <mx:itemRenderer>
    <mx:Component>
    <mx:HBox horizontalAlign="center">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var selected:Boolean;
    ]]>
    </mx:Script>
    <mx:CheckBox id="displayCheckBox" click="selected =
    displayCheckBox.selected"/>
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>

  • Create combo box from another

    I currently have a combo box in my movie. The selections are 1, 2, 3,  and 4. I would like to generate another X combo boxes of the same structure based on that number. I.e. Someone choose 2 in ComboBoxA. So 2 of ComboxB's are generated below that.
    Can someone help with the syntax?
    Thanks,
    Brandon

    import mx.controls.ComboBox;
    var tl:MovieClip = this;
    var lo:Object = new Object();
    lo.close = function(eobj:Object) {
        for (var i = 0; i<eobj.target.selectedItem.label; i++) {
            var cba:ComboBox = tl.createClassObject(mx.controls.ComboBox,"cb_"+i,i);
            cba._x = cb._x;
            cba._y = cb._y+(i+1)*cba._height;
            cba.dataProvider = [whatever];
    cb.addEventListener("close",lo);

  • Combo Box Selection to Change Selection in another Combo Box

    I'm pretty familiar with excel and VBA, but when it comes to Adobe Acrobat, I am lost with Javascript.
    I am creating a form.
    My first field is a combo box named: Rent.booth
    My second field is also a combo box named: County.booth
    I need to know where and how I would implement a java command that states that if Rent.booth = Rent, then County.booth automatically = No.
    If No is selected for Rent.booth, then allow the user to choose any of the 3 values.
    Combo Box Options for Rent.booth:
    Select One
    Rent
    No
    Combo Box Options for County.booth:
    Select One
    Yes
    No
    Any leads would be appreciated.  So far I've only seen the Combo Box to Text box solutions, nothing for Combo box to Combo Box.

    You'll get the best help with Javascript in the Acrobat Scripting forum.

  • Fill a combo box based on the selection of another combo box

    Hi All,
    I am new to jsp & java script. I have a arraylist of communities and there are 2 combo boxes meant for source community & destination community.
    First user will select Source community , after that I've to remove that community from list and display the option for destination community combo box.
    Here the problem is I am getting the source community value in a java script function - "checkSource() " which I've written at the "onClick" of source community.
    Now java script variable has that community & list of community is a java variable, so I am not able to remove that community from java list.
    Please suggest in the same.
    I've written like this -
    function checkSource()
         var selIndex = document.targetForm.srcgroupname.selectedIndex;
    var srcCommunity = document.targetForm.srcgroupname.options[selIndex].value;
    alert("Selected Src Community-"+srcCommunity);
         <%
         alert("Community length-"+community.size());
         community.remove(community.getIndex( %> srcCommunity <%));
         alert(community.size());
         %>
    But this is not working. community is a java list.
    Please help....
    Thanks in Advance
    Sneha

    Do it with AJAX. Here -> http://www.iem.pw.edu.pl/~opalam/sample/TestAJAX.zip You can download a small, sample project that presents AJAX.
    In the project Servlet, Gson and Jquery is used. When onchange is fired in the first select box a js script method is invoked. This method uses ajax to get the json (gson is used to transfer java objects to json) data from the servlet depending on the value of selected option. When data are obtained the second select box is populated. Of course it might be written better but the general idea is clearly visible which was my goal. Hope this helps.

  • How do I populate one Combo box based on input from another

    Hi,
    I have a dynamic Combo box populated from a database. Now I want to use the onChanged event to dynamically populate a second combo box on the same page.
    Any ideas on how to do this?
    Robert
    [email protected]

    Here is an example:
    let us consider it not coming from the database:
    <html>
    <head>
    <title>New Page 1</title>
    <script>
    function popSub()
    var n = 1;
    var mainValue;
    mainValue = document.test.main.options[document.test.main.selectedIndex].value ;
    if (mainValue=="Age" )
                        document.test.sub.options[n].value = 'below18';
                        document.test.sub.options[n].text = 'Below 18';
                        n =     n + 1;
    if (mainValue=="Age" )
                        document.test.sub.options[n].value = 'over18';
                        document.test.sub.options[n].text = 'Over 18';
                        n =     n + 1;
    if (mainValue=="Sex" )
                        document.test.sub.options[n].value = 'male';
                        document.test.sub.options[n].text = 'Male';
                        n =     n + 1;
    if (mainValue=="Sex" )
                        document.test.sub.options[n].value = 'female';
                        document.test.sub.options[n].text = 'Female';
                        n =     n + 1;
    </script>
    </head>
    <body>
    <form method="POST" name="test">
    <p><select size="1" name="main" onClick="popSub()">
    <option value="Age">Age</option>
    <option value="Sex">Sex</option>
    <option selected>select one</option>
    </select></p>
    <p><select size="1" name="sub">
    <option value=""></option>
    <option value=""></option>
    <option value=""></option>
    </select></p>
    <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
    </form>
    </body>
    </html>
    If it coming from the database then you have to write the javascript function in jsp as follows:
    out.println('<script language="JavaScript">');
    out.println('function popSub()');
    out.println('{');
    out.println('var n = 1;');
    out.println('var mainValue;');
    out.println('mainValue = document.test.main.options[document.test.main.selectedIndex].value ;');
    // start one for loop from 1 to record count
    out.println('if (mainValue=="' + valuefrom the resultset + '")');
    out.println('{');
    out.println("document.test.sub.options[n].value = '" + value from the result set +"';");
    out.println("document.test.sub.options[n].text = '"+value from the result set+"';");
    out.println('n=n+1;');
    out.println('}');
    // end of the for loop
    finish the javascript function using out.println

  • How to get  Subvalues using Combo box ?

    Hi , friends,
    I have one Combo box :
    Having list of all Districts
    When i select one of District it will give all related villages
    regarding District that i selected in another combo box.
    How to achieve this ? in one page itself
    I have another idea but its not good..
    where
    1) first select District from Combo
    2) Press submit
    3) second page displays another combo and fetch perticular villages
    and display in another combo.
    but this technique requires more page navigation.
    I want it should be on one page itself
    PLEASE HELP ME ....
    Ghanshyam
    Message was edited by:
    Ghanshyam

    the brand old dependent combo issue..
    as far as i know i could tell you for every two days a similar post is being posted here on the same thread..
    you could have taken a look of them....
    Anyways there are many ways of doing it....
    In the days when XmlHttpRequest Object was not invented ppl used to achieve this using Hidden iframe and then updating parent frame dropdown by calling a javascript function onload of the page. or by auto refershing the page after saving the form state inside the scope of session.
    However,using XmlHttpRequest Object (AJAX) nowdays is one of the smater ways of acheving tasks as these.
    checkout one such examples where i've posted a similar example in the last reply
    http://forum.java.sun.com/thread.jspa?threadID=5170019
    hope this might help :)
    REGARDS,
    RaHuL

  • Disabled combo boxes don't display properly after loading a movie.

    Hi,
    I have a main movie that contains some combo boxes. Some of them may be disabled.
    By pressing a button I load another movie using loadMovie. The loaded movie also contains combo boxes.
    When the button is pressed, the clip that shows the combo boxes is removed from the stage and the loaded movie is displayed. By pressing another button, the loaded movie is unloaded and the clip with the combo boxes is displayed again.
    Well, once the other movie has been loaded, when I go back to the clip with combo boxes, the disabled combo boxes have a small gray button covering the black down arrow.
    I have determined that so long as the loaded movie contains combo box in the library, the problem occurrs, even if there is no actual instance of it.
    The combo boxes that are not disabled are not affected. The combo boxes are disabled by setting "cb_name.enabled=false".
    If the combo box is enabled, it displays correctly, but if disabled again, it goes wrong again.
    My project is targeting Flash 8, so it uses AS2.
    I'm using Flash CS4.
    This is a very simple example I did to make sure I wasn't doing anything funny:
    Initially:
    After pressing the button:
    After pressing the other button:
    The behaviour in a web browser is the same...
    I hope someone can help me with this. Thanks in advance!

    Thanks for the response.
    The "Load the movie" button:
    on(click)
        _parent.gotoAndStop(2);
    The 2nd frame:
    loadMovie("Test another child.swf",Container);
    stop();
    The "Unload and go back" button:
    on(click)
        unloadMovie(_parent.Container);
        _parent.gotoAndStop(1);
    Container is a movieClip with a dark gray square shape the size of the movie clip that is loaded. It doesn't exist on frame 1, only on frame 2.
    The combo boxes are inside a movie clip, and this is only on the stage on frame 1.
    This and the captures belong to a very simple test I did. If there is a way of posting files, I can post a zip file with the two .fla and the two .swf.

  • Connected Combo box problem !   please help me

    Dear Friends....!
    I am developing project in which i have 3 combo :
    1) District Selection
    2) Taluka Selection
    3) Village Selection
    Depend on village selection , perticular persons on that village is displayed on the page.
    This values must be fetched from DATABASE !
    <b> I tried with JAVASCRIPT but with it i can connect two combo and
    can't access database inside javascript. WHAT IS THE SOLUTION EXCEPT AJAX ( That i don't KNOW ) </b>
    may be i can put 3 combo together and on first OnChange event
    i can submit page and process another page and put values in
    another combo and forward page to combo page again.
    i am very much confused HELP ME !
    please i don't know AJAX else problem would be easily solved.
    EVEN I CAN"T MANUALLY PUT DATA IN JAVASCRIPT bcoz my villages
    are more than 400.
    how to put java database code in javascript OnChange event ???
    to fetch data of another combo ?
    HELP WITH EASY SOLUTION.
    Thanks
    GHanshyam
    ================================
    SOLUTION FOR TWO COMBO
    function populate(o) {
      d=document.getElementById('de');
      if(!d){return;}                
      var mitems=new Array();
      mitems['Choose']=[''];
      mitems['Salads']=['Select Item','Tuna Salad','Cesar Salad','Green Salad','Prawn Salad'];
      mitems['Main Courses']=['Select Item','Filet Mignon','Porterhouse','Flank','T-Bone'];
      mitems['Drinks']=['Select Item','Milkshake','Soda','Mixed Drink','Juice'];
      mitems['Desserts']=['Select Item','Ice Cream','Fresh Fruit','Pie'];
      mitems['Snacks']=['Select Item','Brownies','Cookies','Potato Chips'];
      d.options.length=0;
      cur=mitems[o.options[o.selectedIndex].value];
      if(!cur){return;}
      d.options.length=cur.length;
      for(var i=0;i<cur.length;i++) {
        d.options.text=cur[i];
    d.options[i].value=cur[i];
    <!-- Paste this code into the HEAD section of your HTML document.
    You may need to change the path of the file. -->
    <script type="text/javascript" src="dropdownBox.js"></script>
    <!-- Paste this code into the BODY section of your HTML document -->
    <form action="" method="get">
    <label for="or">Our menu:</label>
    <select name="or" id="or" onchange="populate(this)">
    <option value="Choose">Select from the Menu</option>
    <option value="Salads">Salads</option>
    <option value="Main Courses">Main Courses</option>
    <option value="Drinks">Drinks</option>
    <option value="Deserts">Deserts</option>
    <option value="Snacks">Snacks</option>
    </select>
    <label for="de">Select:</label>
    <select name="de" id="de"></select>
    <input type="submit" value="Show me" />
    </form>
    <p><div align="center">
    </div><p>

    may be i can put 3 combo together and on first
    OnChange event
    i can submit page and process another page and put
    values in
    another combo and forward page to combo page again.Almost there. What you should do is submit the page on the onChange event of the combo box; but submit to the same JSP. Then, depending on the values that each of the combo boxes contains, run a query for villages in that District and under that Talluka.
    And populate the third combo box. If any one of the ( first two ) boxes is empty i.e user didnt' select a value, then you'll automatically get no value for the combo boxes from the query.
    Something like this
    <%
        String selectedDistrict = request.getParameter("districtcombobox");
        String selectedTalluka = request.getParameter("tallukacombobox");
        //make sure you don't nulls
        selectedDistrict = selectedDistrict == null?"":selectedDistrict;
        selectedTalluka = selectedTalluka == null?"":selectedTalluka;
        PreparedStatement psFetchTallukas = con.prepareStatement("select tallukaname from tallukas where tallukadistrict = ?");
        PreparedStatement psFetchVillages = con.prepareStatement("select villagename from villages where villagetaluka = ?");
         psFetchTallukas.setString(1, selectedDistrict);
         psFetchVillages.setString(1, selectedTalluka);
       rsTallukas = psFetchTallukas.executeQuery();
       rsVillages = psFetchVillages.executeQuery();
    //now, print out your <option> elements under the corresponding <select> tags for each of the 3 select boxes
    %>For your onChange event you don't need to do anything except call form.submit() where the action should be the same JSP. In case your form is going to be submitted to another page on the final submit i.e after selecting all required values; then in the onChange event handler, before the submit(), you should change the action property of the form to the same page and then submit.

  • Need help dynamically building combo-boxes...

    How can I dynamically build drop down lists?
    I was thinking about using a dynamic page, with bind variables
    set for sql statements inside <oracle></oracle> tags, or passing
    the variable from the first selection to the second selection of
    another page (or the same page?)...
    Another thing I was thinking about would be to base a form on a
    DB procedure, and pass the selections to the procedure, and re-
    build the lists that way...
    I need to avoid client side processing (javascript) because of
    accessiblity concerns.
    Any ideas would be greatly appreciated...
    Ryan

    Ajay,
    The following is an excerpt of the code I used. Because of a
    lack of time, I haven't made the code generic. The code is used
    to interface with Oracle Reports 6i & Oracle Configurator. The
    configurator (config_hdr_id & config_rev_nbr) parameters are
    selected by the user and passed into Oracle Reports using related
    dynamic combo-boxes. Pay particular attention to the
    wwpro_api_parameters.get_value function as well as the onChange
    javascript. Hope you can take pieces of this for an example.
    The following is the code for a Portal dynamic page:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Configurator Reports</title>
    <SCRIPT LANGUAGE="JavaScript1.1">
    <!-- Comment out script for old browsers
    ** this function will open a new URL for the Reports CGI
    ** executable to run the report
    function runReport()
    // semi-constants for JavaScript
    var cgiexe = "runrep.sh";
    var slash = "/";
    var colon = ":";
    var qmark = "?";
    var paramsep = "&";
    ** URL parameter values
    ** We should check for nulls, http://, etc. but not for now
    var dtlist = document.REPFORM.WEBHOST;
    var WEBHOST = dtlist.options[dtlist.selectedIndex].value;
    var WEBPORT = document.REPFORM.WEBPORT.value;
    var dtlist = document.REPFORM.SERVER;
    var SERVER = dtlist.options[dtlist.selectedIndex].value;
    var dtlist = document.REPFORM.REPORT;
    var REPORT = dtlist.options[dtlist.selectedIndex].value;
    var dtlist = document.REPFORM.P_HEADER_ID;
    var P_HDR_ID = dtlist.options[dtlist.selectedIndex].value;
    var P_REV_NBR = document.REPFORM.P_REV_NBR.value;
    var dtlist = document.REPFORM.USERID;
    var USERID = dtlist.options[dtlist.selectedIndex].value;
    var dtlist = document.REPFORM.DESTYPE;
    var DESTYPE = dtlist.options[dtlist.selectedIndex].value;
    var dflist = document.REPFORM.DESFORMAT;
    var DESFORMAT = dflist.options[dflist.selectedIndex].value;
    var dtlist = document.REPFORM.MIMETYPE;
    var MIMETYPE = dtlist.options[dtlist.selectedIndex].value;
    // construct the final URL given the parameters
    var URL = "http://" + WEBHOST + colon + WEBPORT +
    "/dev60cgi/"
    + cgiexe + qmark +
    "server=" + SERVER + paramsep +
    "report=" + REPORT + paramsep +
    "p_header_id=" + P_HDR_ID + paramsep +
    "p_rev_nbr=" + P_REV_NBR + paramsep +
    "userid=" + USERID + paramsep +
    "destype=" + DESTYPE + paramsep +
    "desformat=" + DESFORMAT + paramsep +
    "mimetype=" + MIMETYPE;
    // alert("Opening a window with the following URL : \r\r" +
    URL);
    // open the new window with the constructed URL
    //runWindow = window.open(URL);
    //Point the current window to the URL to run the form
    this.window.location.href=URL;
    function getRevision(form)
    var l_config_hdr_id =
    form.P_HEADER_ID.options[form.P_HEADER_ID.selectedIndex].value;
    window.location.href =
    "/pls/portal30/!PORTAL30.wwpob_page_util.redirect?_pageid=61&_tab
    string=&_portletmode=&_cache=1&cz.p_config_hdr_id="+l_config_hdr_
    id;
    return false;
    //-->
    </SCRIPT>
    </head>
    <body>
    <form NAME="REPFORM" METHOD="GET" onSubmit="return false">
    <table BORDER=0 CELLSPACING="5" valign="top" align="left">
    <tr>
    <td ALIGN=LEFT COLSPAN="2"><font face="arial" size="-1"><B>Enter
    configuration data and click the button to submit the selected
    report.</B></font></td>
    </tr>
    <TR><TD> </TD></TR>
    <tr><td valign="top"><table BORDER=0 CELLSPACING="2">
    <TR><TD COLSPAN="3" ALIGN="LEFT">
    <FONT COLOR="#6666CC" FACE="arial,helvetica"
    SIZE="-1"><NOBR><B>Report Parameters</B></NOBR></FONT>
    </TD></TR>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Report:</font></td>
    <td><font face="arial" size="-1"><select NAME="REPORT">
    <option SELECTED
    VALUE="portal_test_report_6i.rdf">portal_test_report_6i.rdf
    </select></font></td>
    </tr>
    <ORACLE>
    -- Dynamically retrieving the Configurator Header ID's.
    -- kreierso 8-oct-01
    declare
    v_config_hdr_id oc_config_ord_qte_lookup.config_hdr_id%type;
    begin
    v_config_hdr_id :=
    to_number(portal30.wwpro_api_parameters.get_value('p_config_hdr_i
    d','cz'));
    htp.p('<TR><TD ALIGN="left"><font face="arial"
    size="-1">Configuration Header ID:</font></TD>');
    htp.p('<TD><font face="arial" size="-1"><SELECT
    NAME="P_HEADER_ID" onchange="getRevision(this.form)">');
    htp.p('<OPTION VALUE=" "> ');
    for r_get_hdr_values in (
    select cz.config_hdr_id, cz.config_rev_nbr
    from cz_config_hdrs cz
    order by cz.config_hdr_id desc
    ) loop
    if v_config_hdr_id = r_get_hdr_values.config_hdr_id then
    htp.p('<OPTION SELECTED
    VALUE="'||r_get_hdr_values.config_hdr_id||'">'||r_get_hdr_values.
    config_hdr_id);
    else
    htp.p('<OPTION
    VALUE="'||r_get_hdr_values.config_hdr_id||'">'||r_get_hdr_values.
    config_hdr_id);
    end if;
    end loop;
    htp.p('</SELECT></font>');
    htp.p('</TD></TR>');
    htp.p('<TR><TD ALIGN="left"><font face="arial"
    size="-1">Configuration Revision:</font></TD>');
    htp.p('<TD><font face="arial" size="-1"><SELECT
    NAME="P_REV_NBR">');
    for r_get_rev_values in (
    select cz.config_rev_nbr
    from cz_config_hdrs cz
    where cz.config_hdr_id = v_config_hdr_id
    order by cz.config_rev_nbr desc
    ) loop
    htp.p('<OPTION
    VALUE="'||r_get_rev_values.config_rev_nbr||'">'||r_get_rev_values
    .config_rev_nbr);
    end loop;
    htp.p('</SELECT></font></TD></TR>');
    end;
    </ORACLE>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Format:</font></td>
    <td><font face="arial" size="-1"><select NAME="DESFORMAT">
    <option SELECTED VALUE="RTF">RTF
    <option VALUE="PDF">PDF
    <option VALUE="HTML">HTML</select></font></td>
    </tr>
    <tr><td> </td></tr>
    <tr>
    <td ALIGN=RIGHT><FONT face="arial" size="-1"><input TYPE="SUBMIT"
    NAME="Runrep" VALUE="Run Report"
    onClick="runReport();"></FONT></td>
    <td ALIGN=RIGHT><FONT face="arial" size="-1"><input TYPE="RESET"
    NAME="Reset" VALUE="Reset"></FONT></td>
    </tr>
    </table></td>
    <td valign="top"><table BORDER=0 CELLSPACING="2">
    <TR><TD COLSPAN="3" ALIGN="LEFT">
    <FONT COLOR="#6666CC" FACE="arial,helvetica"
    SIZE="-1"><NOBR><B>Report Paremeters (Hidden
    Candidates)</B></NOBR></FONT>
    </TD></TR>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Userid:</font></td>
    <td><font face="arial" size="-1"><select NAME="USERID">
    <option SELECTED
    VALUE="kreierso/password@DEV11">kreierso/password@DEV11
    </select></font></td>
    </tr>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Type:</font></td>
    <td><font face="arial" size="-1"><select NAME="DESTYPE">
    <option SELECTED VALUE="cache">cache
    <option VALUE="Printer">printer
    <option VALUE="File">file
    </select></font></td>
    </tr>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Mimetype:</font></td>
    <td><font face="arial" size="-1"><select NAME="MIMETYPE">
    <option SELECTED VALUE="application/msword">application/msword
    </select></font></td>
    </tr>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Reports
    Server:</font></td>
    <td><font face="arial" size="-1"><select NAME="SERVER">
    <option SELECTED
    VALUE="Rep60_dev11_shane.dci.com">Rep60_dev11_shane.dci.com
    </select></font></td>
    </tr>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Web Host:</font></td>
    <td><font face="arial" size="-1"><select NAME="WEBHOST">
    <option SELECTED VALUE="shane.dci.com">shane.dci.com
    </select></font></td>
    </tr>
    <tr>
    <td ALIGN=LEFT><font face="arial" size="-1">Web Port:</font></td>
    <td><font face="arial" size="-1"><input type=hidden
    NAME="WEBPORT" VALUE="7500">7500</font></td>
    </tr>
    </td></tr></table>
    <TR><TD> </TD></TR>
    <TR><TD ALIGN="CENTER" COLSPAN="2">
    <font face="arial" size="+1" color="#000099">This is currently
    being developed.... ~Thanks, Kirk.</font>
    </TD></TR>
    </table>
    </form>
    </body>
    </html>

Maybe you are looking for