NetBeans VWP: help w/ AJAX, is it possible to refresh more than one field?

I have a form with lots of fields. Some of them the value is retrieved from the database, for example the service field, where the user types the service id and at the onChange event the form is submitted, executing the processValueChange handler. In this handler the service data is retrieved from the database and a static text with the service name and a static text with the service price are updated.
I'm trying to do this with AJAX, so at the onChange event of the service id text field I have the following:
document.getElementById('form1:stServiceName').refresh('form1:tfServiceId');
document.getElementById('form1:stServicePrice').refresh('form1:tfServiceId');It works, but the processValueChange handler is executed 2 times, and that's a problem...
Isn't there any way to refresh more than one field? With something like this for example:
document.getElementById('form1:tfServiceId').submit();
document.getElementById('form1:stServiceName').refresh();
document.getElementById('form1:stServicePrice').refresh();Thanks for any help,
Felipe

You may want to try creating your own custom popup lov
http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
you can then create your own lov report listing all people and then when you click the name required you can passback as many values as required to the calling form.

Similar Messages

  • Is it possible to return more than one field values to base form from LOV ?

    Hi
    I have a form with employee_number, employee_name, email_address, phone_nos...etc. I have a LOV to select employees from remote database, I want to send selected employee details to current form through LOV. Is it possible?
    Now I am doing like this..From LOV , I am selecting Employee number, after return that employee number, through process,button and javascript (onBlur), I am populating the other details for that employee_number.
    Please advice me if we can do this in better way in HTML_DB.
    Thanks
    Raju

    You may want to try creating your own custom popup lov
    http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
    you can then create your own lov report listing all people and then when you click the name required you can passback as many values as required to the calling form.

  • Using Maverick, how is it possible to open more than one calendar window?

    Hi, I'm using Maverick 10.9.1
    My question is: how is it possible to open more than one calendar window? i would like to have on the right my personnal calendar dates and on the left, my company calendar.
    Many thanks in advance for your help!
    ph

    See if the section on group calendar helps.
    http://www.dummies.com/how-to/content/basics-of-calendar-in-os-x-mavericks.html

  • Is it possible to print more than one picture at a time on a single page and if so, how?

    is it possible to print more than one picture at a time on a single page and if so, how?

    Hi Rowegarth.
    HP Photo Creations offers several ways to print multiple photos on a page. Here's a link to some preset grids. If you don't have HP Photo Creations already, you'll be prompted to download the software. (It's a free download.)
    You could also start with a "Design Your Own" collage print with a white theme.
    This video shows some ways to print multiple photos in HP Photo Creations to make them easier to cut out:
    www.youtube.com/embed/VRoGjhXPm4I?rel=0
    The beginning shows an older version of the software, but the second half (at 1:17) explains the grid settings. 
    Hope this helps,
    RocketLife
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • Is it possible to use more than one value in SUPPRESSCHARACTER option

    Hi,
    Is it possible to Suppress more than one value uisng SUPPRESSCHARACTER option in transformation file?
    if yes, any syntax?
    I have 'Z' and '1000' that i wish to suppress from the values being loaded. Any thoughts ?
    Thanks.

    HI,
    i don't really know if it's possible to suppress more than one character, but you can do load your data in two steps in the first step skip all the information that has the Z character in your conversion file and skip all 1000 values, then repeat the process but this time skip the 1000 values and then suppress the Z value...
    hope this helps,

  • NTLM Authentication : why is it not possible to create more than one NTLM realm ?

    Hello,
    I'm wondering why it is not possible to create more than one NTLM realm on a wsa.
    Can you explain exactly what is the blocking point ?
    Thanks in advance
    Regards

    Well, at this point (pre 7.5), there isn't an agent, the WSA is joined to the domain, just like a Windows box, it authenticates via that trust relationship.  From that point it is all based on how NT/Active Directory domains work.   As long as there is a trust between the domains, you can can auth users from as many domains as you like.
    There is an agent in the works.  The ADAgent will be released with 7.5.  The code is already available, it was released with the ASA ver 8.4, and it will be used to pass authentication info to the WSA.  At this point, current versions still require trust relationships between all of the domains touched.
    Taken from the setup guide: http://www.cisco.com/en/US/docs/security/ibf/setup_guide/ibf10_install.html#wp1054011
    Before you configure even a single domain controller machine using the
    adacfg dc create
    command, ensure that the AD Agent machine is first joined to a domain (for example, domain
    J
    ) that has a trust relationship with each and every domain (for example, domain
    D[i]
    ) that it will monitor for user authentications (through the domain controller machines that you will be configuring on the AD Agent machine).
    Depending on your Active Directory domain structure, the following scenarios are possible:
    1. Single Forest, Single Domain—There is only one domain, D[i] for all domain controller machines, which is one and the same as domain J. The AD Agent machine must first be joined to this single domain, and since no other domains are involved, there is no need to configure any trust relationship with any other domain.
    2. Single Forest, Multiple Domains—All the domains in a single forest already have an inherent two-way trust relationship with each other. Thus, the AD Agent must first be joined to one of the domains, J, in this forest, with this domain J not necessarily being identical to any of the domains D[i] corresponding to the domain controller machines. Because of the inherent trust relationship between domain J and each of the domains D[i], there is no need to explicitly configure any trust relationships.
    3. Multiple Forests, Multiple Domains—It is possible that domain J might belong to a forest that is different than the forest to which one or more of the domains D[i] corresponding to the domain controller machines belong. In this case, you must explicitly ensure that each of the domains D[i] has an effective trust relationship with domain J, in at least one of the following two ways:
    a. A two-way external trust relationship can be established between the two domains, D[i] and J
    b. A two-way forest trust relationship can be established between the the forest corresponding to domain D[i] and the forest corresponding to domain J

  • Is it possible to email more than one photo at a time with the iPhone? Thanks

    Is it possible to send more than one photo in an email using with the iPhone? Thank you in advance for your help

    Yes.  Open your camera roll in the thumbnail view, tap the arrow button on the top right, tap all of the photos you want included in your email, tap Share at the bottom, tap Email.  Note: all email providers have limits on the size of emails that are permitted so be careful not to try to add too many or it may not be delivered.

  • Is it possible to add more than one page at a time in pages - word processing?

    Is it possible to add more than one page at a time in pages - word processing?

    I haven't been able to find a way to add more than one page at a time.  I think you'll have to add them one at a time. 

  • Is it possible to have more than one Tax code per line item in Billing docu

    Is it possible to have more than one Tax code per line item in Billing document ?

    Hi,
    I have a different perspective there.
    If an item is applicable for two different taxes which are represented by two different tax condition types and these tax conditions are configured in the tax procedure, FTXP and so on....then these two condition records can have two different tax codes.
    We actually have this scenario in EU now, where EU talks about service tax in 2010 apart from the normal VAT. So now we have MWST and ZWST(Say)
    Now there are some materials which come with a service associated with it. So a service charge is also levied when the material is sold. So the material price will become applicable for VAT and the service charge becomes applicable for service tax. In this case, the tax classification of the customer will have two entries in sales orders updated in the fields VBAK-TAXK1 and VBAK-TAXK2 based on the sequence number of these condition types.
    Now based on different tax classification of the customer, we have 2 different tax codes representing different %of tax.
    Hope it helps

  • Is it possible to monitor more than one target/Host with one agent in OEM 12c?

    Hi,
    Is it possible to monitor more than one target/Host with one agent in OEM 12c? Please assist me on this

    Since by definition a single EM agent must reside on a single database host, then, no, you can't monitor multiple hosts.
    Unless you mean that you want to monitor multiple virtual hosts from a single physical host ... but in that case, you'd still need one host per database host.
    That's just the way EM works. Always has, probably always will.

  • Is it possible to ''sync'' more than one computer in your iphone?

    is it possible to ''sync'' more than one computer in your iphone

    mikaeliphone wrote:
    is it possible to ''sync'' more than one computer in your iphone
    The iPhone is Designed to Sync with Only One Computer...
    iPhone User Guide
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Possible to run more than one iDVD at one time?

    Hiya, I'm currently running a nice shiny QuadG5 and when running iDVD6 I've noticed it doesn't use all the resources my machine has to offer (it usually hovers at around 130% out of 400%). Does anyone know if it's possible to run more than one instance of iDVD06 at once? I was thinking about creating a copy of the whole iDVD app and seeing but it's running a render right now so i can't disturb it. Seems a shame to have those yummy G5's sitting there doing naff all.
    cheers, Dave

    on my other hp scanner and copier i could set the no of copies i wanted. on this one i cannnot find that option.
    thanks for the reply

  • Is it possible to setup more than one person's iTunes iPad account on a shared computer?     We each have an iPad to setup.

    is it possible to setup more than one person’s iTunes iPad account on a shared computer?     We each have an iPad to setup.
    Would the data be combined or would the 2nd person have a separate iTunes program. How would this be done? 

    I'm not totaly sure if I understand your issue, but it sounds like you want to use the same spry widget with different settings on the same page? Is that correct?
    I dont use spry tooltips, however, what would see to work would be if you configure the second spry tool tip, perhaps in a seperate page, rename the new or second set of js and css files to read
    <script src="../_scripts/SpryAssets/SpryTooltip2.js" type="text/javascript"></script>
    <link href="../_scripts/SpryAssets/SpryTooltip2.css" rel="stylesheet" type="text/css" />
    So now you will have two seperate js files and css files.
    So you have this
    <script src="../_scripts/SpryAssets/SpryTooltip2.js" type="text/javascript"></script>
    <link href="../_scripts/SpryAssets/SpryTooltip2.css" rel="stylesheet" type="text/css" />
    <script src="../_scripts/SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <link href="../_scripts/SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    See how that works for you.
    Gary

  • With iphoto it is possible to order more than one book at once?

    With iphoto it is possible to order more than one book at once? If yes, what can it be done? Thanks

    thank you! Another question regarding iphoto. I would like to disable the 'faces' feature as I don't use it nor wish to use it and I feel it slows down the program when I import a large quantity of pictures. How can I disable this feature?

  • Is it possible to run more than one case at a time?

    Using a case structure, is it possible to have more than 1 case running at a time? I'm currently using a for loop's iteration terminal to select which case to run but each case contains a for loop with a timer delay. I want them all to run simultaneously somehow..?
    Maybe possible using a different type of loop?
    Thanks for any help.
    Rob

    > Using a case structure, is it possible to have more than 1 case
    > running at a time? I'm currently using a for loop's iteration terminal
    > to select which case to run but each case contains a for loop with a
    > timer delay. I want them all to run simultaneously somehow..?
    > Maybe possible using a different type of loop?
    >
    If it did this, we'd consider it a bug. By design, only one diagram of
    a case is supposed to run, the one the selector specifies. If you want
    them to run in parallel, put the contents into separate case statements
    and use a Boolean to either run or skip the code.
    For example, if you have cases run whenever their bit is set in an
    integer, then you would have cases for bit 0, 1, 2, and 3. Instead of
    putting them in one case, make fo
    ur cases. Put the AND logic in front
    of each for ANDing with 1, 2, 4, and 8, and wire the output Boolean to
    the case structure. Now take i and wire it to the logic. The 0 diagram
    will run on odd numbers, etc.
    Greg McKaskle

Maybe you are looking for

  • Can i create separate articles from 1 inDesign document?

    I have a 120 page proposal that I would like to have the separate sections in that document show up in the TOC on ACV on my tablet, without splitting up the document as it's paginated and I don't want to lose that or have to rework it. Possible?

  • Setup Procedure in Data Extraction from R3

    Dear All, Can anyone please let me know the Setup Procedure in Data (Delta) Extraction in BW (checking data sources in RSA7 etc.). I was not able to find proper documents/ PDF on this. Thanks in advance Regards, DTD

  • Using IN in a direct SQL statement.

    Peter, I tried a couple of things to no avail. The simplest one is like this: myType.SetValue('\'CI\',\'NG\',\'MS\''); It works if I do myType.SetValue('\'CI\''); Same is valid if myType is declared as a String. Hi, What does the string in myType loo

  • RollOut: Data migration phase - material master

    Dear all, we are going to implement the SAP in one of our subsidiaries. The phase data migration of the material master is not that clear because I am not very experienced in such a project. Can anybody consult me concerning my intentions? I would li

  • Lion, Illustrator CS4 and PowerPC

    I have just upgraded my iMac OS to Lion. I went to open Illustrator CS4 and I get the following message: "You can't open the application Adober Illustrator CS because PowerPC applications are no longer supported" Any ideas to resolve this issue pleas