[10.1.2] Lov validate doesn't support bind params

Hi forum,
We were trying to use lov validate feature with a view object LOV that has parameteres in its query. Knowing that JHeadstart has the query bind field in Application Structure file, we've filled it.
A strange behaviour occurs when the user puts a valid value in LOV field and change the field focus: the lov validate fires the LOV window, even if the value is valid. This behaviour occurs only in the first time; after that, validation seems to work fine.
We've found that the problem is with onLovValidate method. This method uses the iterator from the LOV window, but at first time this window wasn't opened yet, so the applyIterBindParams was not executed for it. When the corresponding View Object has query parameters, it throwns an exception, which causes the lov window to be opened.
We found a solution which consists of changing the ValidateCallBack javascript function: it should submit the bindParams expression that is in struts-config.xml as a form parameter. When we enter in onLovValidate method, this should execute the same steps that is done in applyIterBindParams, and only after that use the lov iterator to see if the value typed is valid or not.
Thanks,
Eduardo

The details...
In your UIX page:
          function ValidateCallBackTsacContratoPeriodicidadePagamento(params)
            params["searchAttribute"]= "Codigo";
            params["eventValue"]= "TsacPeriodicidadeLookup";
            params["lovValueBinding"] = "TsacPeriodicidadeLookupCodigo";
            params["baseValueBinding"] = "TsacContratoPeriodicidadePagamento";
            // added. The expression is the same that resides in struts-config.xml
            params["bindParams"] = "TsacPeriodicidadeLookupIterator=${sessionScope.CodigoEmpresaEscolhida}";
            return true;
          }In the first lines of JhsDataAction.onLovValidate, we've put this new lines:
     String bindParams = request.getParameter("bindParams");
     JhsDataActionMapping mapping = new JhsDataActionMapping();
     DataActionMapping oldMapping = daContext.getActionMapping();
     mapping.setBindParams(bindParams);In the middle of JhsDataAction.onLovValidate:
     // execute the onQuickSearch to validate the entered value
     daContext.setBindingContainer(lovContainer);
     daContext.setActionMapping(mapping); // new line
     this.applyIterBindParams(daContext); // new line
     daContext.setActionMapping(oldMapping); // new lineWe've created a fake ActionMapping just to call applyIterBindParams. Before, we save the original ActionMapping, and restores it when applyIterBindParams is done.
Eduardo

Similar Messages

  • XSU doesn't support bind variables - how dumb is that?

    I am using XSU to generate XML from a SQL statement using class OracleXMLQuery. Either I am blind or stupid or there is no support for bind variables in this class! I have used DBMS_xmlquery in PL/SQL before and this does support bind variables, I naturally assumed the Java equivalent would also have this. The lack of bind variable support means a huge performance hit as every single SQL statement will be treated as unique and will require hard parsing on the server!
    Is there another Java XML utility I can use for generating XML from a SQL statement that does support bind variables? I have trawled through the Oracle documentation and I am getting very confused and lost.
    Thanks,
    Steve

    makaidog,
    Read get rid of community toolbar: Apple Support Communities.

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.4; OfficeLivePatch.0.0)
    Timestamp: Wed, 7 Apr 2010 17:52:31 UTC
    Message: Object doesn't support this property or method
    Line: 10
    Char: 281690
    Code: 0
    URI: http://{IP ADDRESS}/WebUserInterface/aspnet_client/system_web/2_0_50727/crystalreportviewers12/allInOne.js
    We have install the Crystal reports 2008 runtime and the Crystal report 2008 sp2.5 runtime. Both of them give me the same results.
    It's killing me because i have installed the same solution on many other server without any issue.
    Ben
    P.s. The Web server is  a Window Server 2003 R2 standard edition

    Perhaps using [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] will at least tell us what dlls are loading. Look at the CR dlls. There should not be any v11 files loaded by your app.
    You may also start considering obtaining phone support for this one. I have a feeling this will take more than just forums to solve...
    Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Iwlist scanning gives: Interface doesn't support sc [solved]

    When I'm trying to scan for all available networks I get:
    # iwlist eth1 scanning
    eth1 Interface doesn't support scanning : Operation not supported
    My wireless card works fine if I set every parameter manually. I'm currently using the orinoco drivers that came along with ArchLinux.
    It seems like that the version of the orinoco drivers installed doesn't support the scan stuff. But building the new orinoco drivers failed with
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_ pci_suspend':
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c:330: error: too many a rguments to function `pci_save_state'
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_ pci_resume':
    /usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.c:347: error: too many a rguments to function `pci_restore_state'
    make[2]: *** [/usr/local/download/orinoco/orinoco-0.15rc2/orinoco_pci.o] Error 1
    make[1]: *** [_module_/usr/local/download/orinoco/orinoco-0.15rc2] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.11.3-ARCH'
    make: *** [modules] Error 2
    So I did try the wlan-ng26 driver downloaded and installed with pacman.
    I remove the orinoco modules with
    [root@ArchThinkpad orjanp]# modprobe -r orinoco_pci
    But when I try to insert the prism2_pci module, it doesn't exist. Why?
    [root@ArchThinkpad orjanp]# modprobe prism2_pci
    FATAL: Module prism2_pci not found.
    Any heads up on what to do?
    This is iwconfig before removing the orinoco modules.
    [root@ArchThinkpad orjanp]# iwconfig
    lo no wireless extensions.
    sit0 no wireless extensions.
    eth0 no wireless extensions.
    eth1 IEEE 802.11-DS ESSID:"" Nickname:"Prism I"
    Mode:Managed Access Point: 00:00:00:00:00:00 Bit Rate:11 Mb/s
    Tx-Power=15 dBm Sensitivity:1/3
    Retry min limit:8 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality=0/92 Signal level=-68 dBm Noise level=-122 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    This is lspci
    [root@ArchThinkpad orjanp]# lspci
    00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
    00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
    00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
    00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
    00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
    00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
    00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
    00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
    00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
    00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    02:00.0 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
    02:00.1 CardBus bridge: Texas Instruments PCI1250 PC card Cardbus Controller (rev 01)
    02:02.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 01)
    02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
    This is lsmod before removing orinoco.
    [root@ArchThinkpad orjanp]# lsmod
    Module Size Used by
    radeon 78336 1
    ohci_hcd 23048 0
    ehci_hcd 36488 0
    irtty_sir 7552 0
    sir_dev 18636 1 irtty_sir
    irda 144184 1 sir_dev
    crc_ccitt 2432 1 irda
    parport_pc 29252 0
    parport 38600 1 parport_pc
    rtc 13260 0
    pcspkr 4044 0
    eepro100 32528 0
    orinoco_pci 7552 0
    orinoco 44172 1 orinoco_pci
    hermes 9472 2 orinoco_pci,orinoco
    yenta_socket 23560 0
    rsrc_nonstatic 11648 1 yenta_socket
    pcmcia_core 51488 2 yenta_socket,rsrc_nonstatic
    snd_intel8x0m 19396 0
    snd_intel8x0 34624 0
    snd_ac97_codec 79224 2 snd_intel8x0m,snd_intel8x0
    snd_pcm_oss 56224 0
    snd_mixer_oss 21120 1 snd_pcm_oss
    snd_pcm 98564 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 27268 1 snd_pcm
    snd 59492 7 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore 10848 1 snd
    snd_page_alloc 10244 3 snd_intel8x0m,snd_intel8x0,snd_pcm
    i2c_i801 8972 0
    i2c_core 23296 1 i2c_i801
    usbhid 47744 0
    uhci_hcd 33424 0
    usbcore 125560 5 ohci_hcd,ehci_hcd,usbhid,uhci_hcd
    shpchp 100996 0
    pci_hotplug 34760 1 shpchp
    tsdev 8256 0
    joydev 10560 0
    evdev 9984 0
    cpufreq_powersave 2176 0
    cpufreq_userspace 5680 0
    p4_clockmod 6164 0
    speedstep_lib 4868 1 p4_clockmod
    freq_table 5008 1 p4_clockmod
    e100 37760 0
    mii 5760 2 eepro100,e100
    nls_cp437 6144 1
    vfat 14976 1
    fat 41884 1 vfat

    orjanp wrote:
    Thanks.
    I installed the 0.15RC1 version of the Orinoco drivers found here.
    I rebooted but I still had the 0.13 version. I did a make and make install as the readme file said.
    What do I have to do to update the driver?
    do you use a PKGBUILD?
    update the driver: if it was copied to the right place and the kernel knows about it (depmod -a) it should work
    for a start, check under
    ls -la /lib/modules/`uname -r`/kernel/drivers/net/wireless/
    that your module is installed under the correct location (the orinoco files should be newer than the other ones)
    if this is so, make sure you are depmod -a (as root) ... and if even this is ok, then either you are running the new modules or something strange happened

  • HT4356 Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example. What can I do?

    Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example.
    <E-mail Edited by Host>

    It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
    I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
    So what to do, what to do.
    Well there is hope for you as long as the drive wasn't Filevaulted.
    I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
    When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
    Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
    The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
    It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
    So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
    The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
    So what you will have to do is this:
    Create a data recovery/undelete external boot drive
    or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files.

  • 3000 J115 7387 - Current BIOS 2NKT31A doesn't support 4gb RAM

    I have a Lenovo 3000 Desktop J115 7387-26u and the current BIOS, just downloaded and tested from Lenovo's "support" site, doesn't support 4gb of RAM properly.  I have dual 2gb DIMMs, for a total of 4gb, and both Lenovo's PC-Doctor diagnostics and another memory scanner report to me that I have 4gb.  See this screen print showing PC-Doctor's RAM report compared to what Windows "sees".  
    When I boot the system, the BIOS only reports 3006mb RAM is present.  Clearly it's recognizing both DIMMs.  I've swapped the DIMMs and the results are the same.
    Lenovo, PLEASE RELEASE A BIOS that properly supports what the system claims to support!
    Message Edited by GeoApps on 04-06-2009 03:00 PM

    dhaj1964 wrote:
    just to let you know....32 bits systems....can only read 3gigs of memory....64 bits system can read more .....
    Two things.  First, "just so you know", the Lenovo 3000 J115 7987 is an Athlon 64 X2 (which you would know if you checked the system specs),and second, I'm talking about the BIOS failing to recognize the RAM that the system specs claim it should be recognizing.  This is regardless of OS.

  • How do I get my music from iTunes Match to my older ipod that doesn't support iTunes Match

    I have an old ipod ios 4.2 that doesn't support iTunes Match how do i get my music from the cloud to my computer library in order for me to put the music onto my older ipod for the car

    Setup iTunes Match on your computer. Download the songs to your iTunes libary and then sync to your old iPod.
    http://www.apple.com/itunes/itunes-match/

  • How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTi

    How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTime but don't know how. Says to email website did that but takes me back to same place to email help

    Contact iTunes Customer Support, but honestly, there are no returns for iTunes purchases.

  • I have a model 1,1 Mac Book in the black case.  How can I transfer about 30 GB of stuff to a MacBook Pro running Yosemite?  Can't do a Thunderbolt transfer.  The Seagate backup drive I bought doesn't support 10.5.8.  Thank you.

    How do I transfer 30 GB of stuff, mostly text documents, bookmarks and a few hundred photos from a MacBook model 1,1 in the black case, purchased in (2007?) running Leopard 10.5.8 with a 667 bus, 2 GB, 256 GB to a MBP 13" Retina running Yosemite 10.10.1?  Using Migrate is out.  Discovered after I bought it that the Seagate Plus Backup for Mac does not work with 10.5.8.  OnetoOne recommends backing up my data before I do that, which seems like a good idea.  Have a 801.11 n Time Capsule that also isn't working so that is not presently an option.  Thank you.

    The Seagate backup drive I bought doesn't support 10.5.8
    The only reason I can see for that is it's formatted NTFS, which would likely be Read Only in 10.5.x, if you can reformat it MacOS extended, which would erase everything on it now, then that should work for your purposes.

  • I have a macbook pro 15" Retina Display with 2.6 ghz and 8gb of ram yet when i try to download a HD movie from itunes it says my computer doesn't support HD?

    i have a macbook pro 15" retina Display with 2.6 ghz and 8gb of ram when i try to download an HD movie from itunes it says my computer doesn't support HD? i went to the support on the apple website and looked at the specs that a computer has to meet in order to play HD movies and mine is well above them. Why can't i play the movies?

    That would at least partially explain it.
    These MacBook Pros drew more power than the power brick could readily supply, and so would only run at top speed when the power brick was supplemented by the battery.
    Though the applicable tech note has been removed, it stated:
    "If the battery is removed from a MacBook or MacBook Pro, the computer will automatically reduce the processor speed. This prevents the computer from shutting down if it demands more power than the A/C adapter alone can provide."

  • Want to download itunes 10.6 and not 10.7 because my comp doesn't support yet, where can I download 10.6 still?

    want to download itunes 10.6 and not 10.7 because my comp doesn't support yet, where can I download 10.6 still?

    iTunes 10.6.3.25 - http://support.apple.com/kb/DL1575

  • I have an iBook G4 and iTunes is no longer updating. The last update is 9.2.1 but it doesn't support my iPhone or iPad. Is there anything I can do to update iTunes or is my only recourse to update my laptop?

    I have an iBook G4 and iTunes is no longer updating. The last update is 9.2.1 but it doesn't support my iPhone or iPad. Is there anything I can do to update iTunes or is my only recourse to update my laptop?

    As Niel has suggested Mac OS X 10.5 Lepaord.
    But first of all make sure that your iBook is above 800Mhz and you have at least 512 Meg of memory. (1 GB recommended)
    Please note, that if you do install Mac OS X 10.5 on your iBook, it will not allow you to install the latest version of iTunes version 11. The most recent version of iTunes that can be installed would be 10.5, which will be compatible with your iPod touch 4th gen, provided it's not been updated to iOS 6.
    Sadly you can't install any version of Mac OS X above 10.5 Leopard, as it they requires an Intel processor, which your iBook G4 does not have.
    Hope this helps.

  • MAC OSX 10.4.11 I finally succumbed to the constant irritating messages telling me that I didn't have the latest version. My old version and all my bookmarks have been deleted my Mac says it doesn't support Firefox! How can I recuperate my old settings?

    MAC OSX 10.4.11 I succumbed to the constant messages telling me that I didn't have the latest version, despite being happy with the one I had. My old version and all my bookmarks have been deleted and now my Mac says it doesn't support Firefox!!!!! How can I recuperate my old settings? in English

    Firefox 4 versions and later '''do not run on a PowerPC Mac''' (like yours) and require '''at least OS X 10.5 and an Intel Mac'''.
    The latest supported version for your os is '''3.6.27''' , you can download it from:
    http://www.mozilla.org/en-US/firefox/all-older.html
    1. Download a 3.6.27 copy of the Firefox from the above link
    2. Trash the current Firefox application to do a clean (re-)install.
    3. Install the new version that you have downloaded(3.6.27)
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so probably you won't lose your bookmarks or other personal data, if you don't already ''totally'' uninstall firefox(user data and settings like bookmarks, extensions, etc. located here: ~Library/Application Support/Firefox so you must uninstall it separately, to totally uninstall firefox).
    see also : [https://support.mozilla.org/en-US/kb/Installing%20Firefox%20on%20Mac Installing Firefox on Mac]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • TS4002 Can you tell me if the smtp settings have changed recently?  I use me/ICloud mail with Outlook and can not receive emails but outgoing emails are no longer working.  Error message is: Authentication failed because Outlook doesn't support any of the

    I am able to receive messages on my IMac using Outlook but am unable to send.  I've had no trouble in the past but began receiving the following messages today.
    5.7.8 Bad username or password (Authentication failed).
    Authentication failed because Outlook doesn't support any of the available authentication methods.
    I am able to send messages using this account on my IPhone and IPad so the IMac is the only place I am having issues.  Any advice?

    Here are the correct settings. They have never changed since iCloud debuted a year ago.
    Server information
    IMAP (Incoming Mail Server) information:
    Server name: imap.mail.me.com
    SSL Required: Yes
    Port: 993
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    Note: If you receive errors using SSL, try using TLS instead. SSL is required for both IMAP and SMTP connection with iCloud. POP is not supported by iCloud. 

  • Mac Mini Server Doesn't Support Duel Thunderbolt Displays!

    I purchased a mac mini server with the intent of ultimately running two thunderbolt displays off of it. I pre-ordered in August, waited six weeks for it to arrive and realized that the mac mini server that I had been sent was a lemon. I applied for a replacement, which was built in China and it arrived two weeks later. Everything was going great - I had my mac mini server running a thunderbolt and I was thrilled! Yesterday however, I purchased my second thunderbolt display, connected it and nothing happened. Trouble shooting didn't help. Finally, I called apple and was told that the server version doesn't support duel thunderbolt displays! I had read all of the technical specifications and there was no mention (at that time) that the server couldn't support duel displays. I am now in the process of returning my mac mini server in exchange for a custom build mac mini with upgraded 2.7 GHz i7 processors and 8GB RAM. I'm really disappointed to have to be going through all of these extra steps just to realize the system that I imagined early on. I checked the Apple Thunderbolt display options page at apple and they have now posted that the server doesn't support duel displays (but that informaiton definitely was not there when I first read it!). Why would the server version not support duel displays? To me, it doesn't make any sense. What are your thoughts?

    It doesn't support dual TB displays because it uses the integrated
    Intel graphics HD 3000.  Only discrete graphics cards can handle
    dual TB displays.  The integrated graphics chip just cant handle
    the load.
    As for the logic of it, as servers, they are usually single display
    and even more often are run headless and managed remotely.
    It is marketed as a server and thus the logic.

Maybe you are looking for

  • Using transforms and filters without device drivers

    Hello, I came across NIMS as a possible solution for some transforms and filtering, possibly even generating test signal data, for a seismic application. I'm in the process of evaluating NIMS for best possible fit for what we need/want to accomplish.

  • Best Buy delivery is horrible

    Best Buy delivery is really, really unbelievable. The online department (www.bestbuy.com), 1-800-BestBuy representatives and warehouse/delivery men obviously don't work together and don't access the same information.  On December 1, I ordered a Samsu

  • Compressing DVD files

    I have used MactheRipper to save some DVD movies to my hard drive. Can anyone suggest some software that will compress these files to take up less space on my hard drive?

  • Automated export of collections to AD

    Hello, I am searching for a automated way to export members of a collection and import those Computers to AD Group. Is someone having experience?

  • How to clean database tables after testing?

    Hello, All ! I'm beginer in eCATT. I have a simple question. My test run some transaction. It put record into database table. I need check some fields of this record. I want run this test avery day. How I can remove record automaticly? It's important