How to set the value of the box check the plug-in in session state using a DA

I want to click on the box (plug version) and set (Y or N) in session state without submitting the page.  Is it possible to do it in a dynamic action? or a code in the ? The HTML Form element attributes

I tried the code proposed to

Value of session state changes checkbox without submitting

using AJAX, but can't make it work.

I also tried the following code, but doesn't seem to work for checkboxes.

<script language="JavaScript" type="text/javascript">
function f_setItem (pItem)
{ 
//alert('running fsetItem');
  var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',&APP_PAGE_ID.);
  get.add(pItem,$x(pItem).value)
  gReturn = get.get();
  get = null;
}
</script>

More modern solutions using a DA?

Should I use an event 'onCheck' or 'onchange '?

Thanks in advance

PaulP

APEX V4.2.3

DB EA 11.2

APEX listener V2.0.5.287.04.27

13 blue-gray theme

IE9.0.8112

FF26.0

Paul, in fact, you can use a dynamic Action.

Say your question change event, say P1_CHECKBOX.

So here's the clincher.

Action: execute the PL/SQL Code

PL/SQL code:

Start

null;

end;

Page to submit items: P1_CHECKBOX

That's all.

Read the help on the elements of Page to submit

«Specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your 'code PL/SQL'.»

Kofi

Tags: Database

Similar Questions

  • How to set the font in firefox 4.0 using ubuntu?

    The zoom feature is OK but I want to put permanently the size of the font on my pages in firefox using the Ubuntu operating system. I don't see anything under tools and it seems not be a lot of questions asked previously in the section help on Firefox on Ubuntu.

    It is difficult to define a single font size without destroying the display of most web sites. An alternative would be to keep your preferred zoom level and apply to all sites. This requires an add-on such as:

    It works for you?

  • How to set the values box forwards the process of Headr

    In my process before header, I read a database table that contains a code field that I would use to make my values of checkbox checked if the field contains one of the values.

    Example of database file my have "REO".

    On the form, the check box is

    L - for loading

    W - waiting

    R - relase

    P posted

    J Job

    .. .etc

    So when I read the instructions for my example above, I would L, W and R checked.

    What is the best way to do it?

    Thank you.

    Before the process header edit session state. You want to use the default value attribute?

    Memory, you assign to the item

    L:W:R

  • How to set the value of a variable in a cluster in LabVIEW to c#?

    Hi guys, I'm working on a small c# program, which by using the interface provided by LabVIEW.  And I know that, with the help of lv. SetControlValue (name, value) can set a variable just on the front panel. But in my case, there are several groups on the front panel. Then it confused me how to set the variables in these groups. For example, there is a cluster named clusterA and a variable named a., I tried something like this:

    lv.SetControlValue("clusterA.valueA",1);
    

    but it totally inoperable. Everyone has some experience with this sort of thing? Thank you very much!!

    Hey guys, thanks a lot for all your response. I just found a simple way to solve this problem. For example, there is a cluster named "ClusterA", and there are only two witnesses, who are: an int value named "IntA" (default = 10 IntA value) and a string value named "StringA" (by default the StringA = 'abc'). In c#, if you call the method:

    var clusterA is vi (Array). GetControlValue ("ClusterA");

    you will get a table looks like: clusterA = {10, 'abc'}; So if you want to change IntA 123, you simply do:

    clusterA.SetValue (123, 0); 123 the value, 0 is the index of IntA in clusterA, after this clusterA table = {123, 'abc'}

    After that, simply to make the table in LabVIEW using:

    VI. SetControlValue ("ClusterA", clusterA);

    and now you see the LabVIEW, IntA is changed.

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • How get/set the value of the DataObject object in the task of the API?

    How get/set the value of the DataObject object in the task of the API?

    Are there examples of code availible?

    Hello

    You are here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_worklistcust.htm

    Antonis

  • How to set the initial value programmatically in af:selectOneChoice

    Hi all

    How to set the initial value programmatically in af:selectOneChoice

    filled with view object instance, but I want to show the value initial programmactically

    This can help you: Re: how to set the default value of the component selectOneChoice in ADF

    and the default af:selectOneChoice programmatically from backing bean

  • How to set the value of QUERY using PL/SQL process?

    Hello

    I use APEX 4.2...
    How to set the value of the REQUEST using process of PL/SQL which lies before the header - where the value of the REQUEST should appear on the URL?

    Kind regards
    Fateh

    You cannot set a value of demand in a PL/SQL block. You can run a PL/SQL block on a request which is the id of a button for example.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to set the value of something in a component of the main application?

    Hello

    Maybe I've worked on it too long, but I can't understand how to set the value of the text property of a text entry field in my main application component in a block of mx:Script. I have a component called Login in the components folder, and I need to set the text value of empNum. In my statement of mxml up there, I said these components such as xmlns = "components.*" so, logically, the property, I'm putting a c.Login.empNum.text. I can't understand the correct syntax to make this work, and I've tried everything I can think of. Does anyone have any suggestions? I think this should be easy, and there is just something missing me.

    Thank you!
    Holli

    Have you tried to give him an id?

    If later you can make the loginScreen. empNum.text = "my text".

    Laurent,

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the session value to field item?

    Problem: The table insert source column is different from the column I get data for the update. I assign session by a process during extraction value but this value does not get assigned to the field. ?? Can someone give me a solution to this?
    Thank you

    Hello

    When the extraction process runs while recording for the form, it will use the values that exist in the folder, thus crushing any value you defined in the session.

    One thing you could try...

    1 create an element of application - through shared components - called, say, G_DEFAULT_VALUE
    2. on the page element that needs this value, type: G_DEFAULT_VALUE in the parameter of calculation calculation Post
    3 - instead of set point on page in your process/calculation, the value of the element of the application instead

    Then, regardless of the value on the record, the value of the application element is used instead. If this is not required in all cases, set the application to null element and use the following options for the calculation of calculation of post parameter:

    NVL (: G_DEFAULT_VALUE,: PAGEITEMNAME)

    Then, if the application element is null, the value of the page element (that is to say, the value of the record) will be used instead.

    Andy

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the timeout property Web Service partner link in the new version of the SOA Suite, it is missing

    Hello

    I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.

    I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).

    For the limit of timeout for the particular web service (partner of external reference link):

    I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.

    on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    Thank you

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    VR;

    Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.

    developing composites:

    Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value

    for the same domain defined: oracle.webservices.local.optimization = false

    You can watch

    Administration of Web Services - 11g Release 1 (11.1.1.7)

    How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)

    SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • How to set the voltage on a 3.3 volt NI 9237 module?

    Hello

    How to set the voltage on a 3.3 volt NI 9237 module?

    The voltage is now at 2.5 volts.

    This is my first time with this camera.

    This set of MAX or are there jumpers?

    I want the value of the excitation voltage at 3.3 Volts and do not change.

    The NI 9237 is a NEITHER cDAQ-9172.

    Thank you

    Bill

    Hi POBA,.

    This can be set to your programming environment.  For example, LabVIEW Signal Express, a task of MAX, or a DLL call in a text-based environment.  You want to create a strain, tension Custom with excitement, or any bridge based task in any environment.

    "" "In MAX, right-click on your device and choose create a task" acquire signals "analog input"...

    "" "In LabVIEW, place a DAQ Assistant" acquire signals "analog input"...

    "" "In Signal Express, add a step for Acquire" DAQmx Acquire"analog input"...

    In any C language based, you will want to call a function such as: DAQmxCreateAIVoltageChanWithExcit, DAQmxCreateAIStrainGageChan, DAQmxCreateAIBridgeChan

    You can then specify the Source of Exictation to be internal to 3.3V.

    Best,

Maybe you are looking for