How to switch the setting on the server using serverListener in adf 11 g

Hi all

I want to know how to pass a parameter to say client javascript on the server using serverListener. I know I have to use the AdfCustomEvent.queue (source, "serverListenerOpt",
{}, false). But do not know what is the structure of the parameter and how to get it back on the bean support.


Thank you

You are on the right track, in fact, the third parameter of the AdfCustomEvent.queue where you can pass parameters to the server. For example

say you have this on your page jspx

.............



.............

Your javascript should look like this:

myClientLstnr = {function (event)}

AdfCustomEvent.queue (event.getSource (), "sendToServer",
({param1: 'val1', param2: val2}, false);
}

Your parameter must be a valid json object.

Tags: Java

Similar Questions

  • How to customize the server info in my contact form?  I'm the test in my localhost.  Thank you!

    How to customize the server info in my contact form?  I'm the test in my localhost.  Thank you!

    You can download the site with the form included in your server, and then test. If this does not answer your question, then please provide more details as to what exactly you want to customize?

    Thank you

    Sanjit

  • How to make the server behavior Panel?

    How to make the server behavior in Dreamweaver CC Panel 2014?

    Sorry, they are now gone. You need an extension to restore.

    Please see post Preran here.

    https://forums.Adobe.com/thread/1231011?TSTART=0

  • How to change the rendering used for video playback in Windows Media Center Version 6 engine

    I usually use other media players, but I would like to first of all using Windows Media Center. However for the moment video playback is not good because of the weird colors (everything is displayed in black and Red instead of normal colors). When you use other media players, I use the Haali rendering engine which gives good results for video playback.

    Can you tell me how to change the rendering used by Windows Media Center?

    Also, I noticed the same weird color effect in Windows Media Player 11.

    Hi Woobee,

    1. What is the brand and model of the computer?

    2. what graphics card use on the computer?

    If you are using an Nvidia graphics card on the computer, in the Nvidia Desktop Manager, you will find an option for saturation to ensure it is set to 100%.

    And if you are any other graphics card on the computer and search for a similar option for saturation.

    If the previous step fails in Windows media player, so be sure that the hue and Saturation are defined by default.

    1. click on the arrow on the tabplaying , point to enhancements, and then clickcolor picker.

    2. do one of the following:

    1. to return to the default color, click thereset link.

    Also, make sure that the video settings are set by default.

    1. start the playback of a file.

    2. click on the arrow on the tabplaying , point to improvements, and then clickvideo settings.

    3. click onreset.

    Check also in Windows Media Center if the

    1. on theStart screen, go to tasks, click settings, clickgeneral, then Visual and sound effects.

    2. undercolors ensure that Windows media center standard is enabled.

    Turn off Visual and sound effects in Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-off-Visual-and-sound-effects-in-Windows-Media-Center

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • How to access the parameters using command prompt - administrator account

    I am administrator on my machine Home premium windows 7 and tried to make a sfc/scannow command prompt, but it said that I need to run it as an administrator. I need to know how to access this setting so I can use the command prompt. Thank you.

    Steve

    When I click on

    You should right click to see the drop down menu. Right click = right button of the mouse. Click the left mouse button =.

  • How will I know if my Airport Extreme has the latest firmware?  And (not related) how to change the password used to connect to my network?

    I think I bought the latest version of Airport Extreme.  It is the unit which is rectangular, is about 6 to 7 w., etc.  I have some basic questions that I do not understand:

    1. How will I know if I have the latest firmware for this device?  I read a few posts that make it sound as if it was just automatically updates.  Is this true?

    2. can someone tell me how to change the password used to connect to my wireless network?

    Thank you very much!

    Chris

    If a firmware update is available, AirPort Extreme flashes orange.

    The most up-to-date version of the firmware is 7.7.3.

    You can see what version you currently have the following on your Mac...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Extreme

    Look for the Version

    If the new firmware was available, you will see a button update here

    To change the wireless network password...

    Click on edit in the window smaller than you watched just to check the firmware version

    Click on the Wireless tab at the top of the next window

    Go back / change the wireless password and enter a new password

    Do the same thing to check

    Click Update at the bottom right of the window and give the airport a minute full for restart

  • Application does not connect to the server using WAP2.0

    Hello

    I used following code to get the suffix of the url that is required to connect to the application server using WAP2.0

           if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_DIRECT))
            {
                    //WAP 2.0
                String uid = null;
                ServiceBook sb = ServiceBook.getSB();
                ServiceRecord[] records = sb.findRecordsByCid("WPTCP");
                for (int i = 0; i < records.length; i++) {
                    if (records[i].isValid() && !records[i].isDisabled()) {
                        if (records[i].getUid() != null &&
                            records[i].getUid().length() != 0) {
                            if ((records[i].getCid().toLowerCase().indexOf("wptcp") != -1) &&
                                (records[i].getUid().toLowerCase().indexOf("wifi") == -1) &&
                                (records[i].getUid().toLowerCase().indexOf("mms") == -1)   ) {
                                uid = records[i].getUid();
                                break;
                            }
                        }
                    }
                }
    
                if(uid!=null)
                {
                    if(AppConfigurations.DEBUG)
                        System.out.println("Connected using direct WAP2.0....");
                    return ";ConnectionUID="+uid;
                }
            }
    

    I am same ConnectionUID as present in this complete book in Options in the device.

    Even application does not connect to the server using WAP2.0.

    Let me know what other things should I check to make application to connect to the server using WAP2.0.

    My phone is BB 8900 and OS 4.6.1

    WAP connection will pass through the gateway of the carrier.  This gateway can oppose your respect, or might be trying to optimize the data, or can display a login page for you.  Try the same URL that you use in your program, directly with the WAP browser on the device and see if that runs through effectively.

  • How to start the database using CRS to start the database instance

    Dear Experts,

    How to start the database using CRS to start the database instance

    As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.

    There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • Hi, can I get App demo on how to create the model &amp; components declarative in ADF?

    Hi, can I get App demo on how to create the model & components declarative in ADF?

    Hello

    You can get the demo at the following link

    Models in pages ADF and declarative elements

  • How to identify the fonts used in text format?

    How to identify the fonts used in text format?

    Hi DSB.

    Open the document in Reader, go to the menu file-> properties, then click on the tag are. You will see a list of the fonts used in the document.

    Another option is to copy the text and paste it into MS Word, where you can simply move your mouse over the text to display the name of the font.

    Kind regards

    Nicos

  • How to know the database uses pfile or spfile?

    Hi guru

    How to know the database uses pfile or spfile?



    Thank you

    Thank you for this question of doc!
    Please type in sql * show spfile parameter.
    If it is empty, you do not use a spfile.

    --------------
    Sybrand Bakker
    Senior Oracle DBA

  • Help, how to query the database using pagination

    Hello

    How to query the database using paging for large data.

    any API for this?

    Thank you in advance!

    Hello

    You can specify XmlQueryContext::Lazy as the type of assessment and only call XmlResults:: next() comes as many times as you need.

    John

  • Windows FAX and SCAN error reports - request server name. How to find the server name?

    How can I find the name of the server to send e-mail using Windows FAX and SCAN.

    Hi DonaldCombes,

    1. are you able to use it earlier?
    2. What is the exact error message you get?
    3. don't you make changes occur the computer before the show?

    Try to use the full name of your Pc name of the server.

    Configure your computer to send and receive faxes
    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-your-computer-to-send-and-receive-faxes

    Solve fax problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-fax-problems

  • How to disable the server of VMware Workstation share

    How to disable the sharing of VMware Workstation Server using a configuration of the registry or configuration file. I have several workstations on the network that has VMware workstation 8.0.4 install and I need to turn off sharing for all users. This function is located in preferences/Shared VMs.   I need to be able to adjust this setting to disable remote. The host computers using windows xp. Any help will be appreciated.

    It depends how you are going to access various systems is however here two options that you can include in any method you choose.  We need to create a. CMD file and the other is to use just one. REG file.

    The command Disable_VMwareHostd.cmd of Script can be as simple as:

    net stop VMwareHostd
    reg add HKLM\SYSTEM\CurrentControlSet\services\VMwareHostd /v Start /t REG_DWORD /d 00000004 /f
    

    The Disable_VMwareHostd.reg file would be:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMwareHostd]
    "Start"=dword:00000004
    

    Note: Always two empty lines at the end of the .reg file.

    The syntax of the command to execute would be:

    regedit /s Disable_VMwareHostd.reg
    

    Note that just by using a .reg file, you must always stop the VMwareHostd Service, so I would opt for the use of the method of Script command as it will stop the VMwareHostd Service and turn it off at the same time.

    I still have my put networks in place to be able to (with authentication) execute commands remotely and or push the or the files that are necessary to achieve the objective.  In a case like this, when I had hundreds of systems to change I write a binary executable to fix the problem, which would automatically run when the user logged on to the domain, but if you don't have programming skills so then using a Script command and or file Reg can / will do the job.

Maybe you are looking for