List of values of the parameters Sys_Context

I have a package which is store values in a context of system so they can be shared by all sessions without the overhead constantly querying a table. My question is, after I have a number of pairs name / value of the context, is there a way I can get a list of the parameter set following context he names?

All the examples I found in the docs use USERENV as the context and extract the values using the list of names known. I need a way to get all the parameters without necessarily knowing the name beforehand.

Thank you

>
I have a package which is store values in a context of system so they can be shared by all sessions without the overhead constantly querying a table. My question is, after I have a number of pairs name / value of the context, is there a way I can get a list of the parameter set following context he names?

All the examples I found in the docs use USERENV as the context and extract the values using the list of names known. I need a way to get all the parameters without necessarily knowing the name beforehand.
>
Use the view system "global_context".

select * from global_context;

select * from v$globalcontext;

Tags: Database

Similar Questions

  • Disable the settings based on the value of the parameters one another

    Hello

    I create a report that has a bunch of parameters. From among them when a user enters a value for say including OrderID parameter I want to disable all settings. For settings that are populated by a list of Values (LOV), I added a condition in the query, saying OrderID should be empty and the OrderID parameter I chose the option of "discounting the other settings on the changes. So whenever the command is empty all the other settings in the Menu have no value in their menus for the user to select.

    But I don't know how I can stop the user to select a value for the date parameters and the parameters typed in. Please let me know.
    Thank you
    DY

    I don't know anyway that you can prevent them to enter data in the other settings (except, as you said, for those sql-based).

    There is no reason, however, that you must use the values provide you these parameters. You should be able to structure the SQL behind your report to assess the setting entry (returns would work probably) to use only the values of the parameters B, C and D, if the parameter is set to null.

  • The list of values in the table of the ADF is not other cela rather single attribute yourself.

    Dear all,

    I have a list of the values on the view object and and created a table by dragging the drop to the page.

    Problem is that LOV is advising no other attributes I mentioned as other attributes in the list of values. only the LOV element becomes selected ID.

    The following table properties

    -------------------------------------

    < af:table value = "#{bindings." XxIncidentRptInjuredPersonsEOView1.collectionModel}.

    var = "row".

    lines = ' #{bindings. " XxIncidentRptInjuredPersonsEOView1.rangeSize}.

    emptyText = "#{bindings." XxIncidentRptInjuredPersonsEOView1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." XxIncidentRptInjuredPersonsEOView1.rangeSize}.

    rowBandingInterval = '0 '.

    filterModel = "#{bindings." XxIncidentRptInjuredPersonsEOView1Query.queryDescriptor}.

    queryListener = ' #{bindings. " XxIncidentRptInjuredPersonsEOView1Query.processQuery}.

    filterVisible = "true" varStatus = "vs."

    selectedRowKeys = ' #{bindings. " XxIncidentRptInjuredPersonsEOView1.collectionModel.selectedRow}.

    selectionListener = "#{bindings." XxIncidentRptInjuredPersonsEOView1.collectionModel.makeCurrent}.

    rowSelection = "single" id = "t1".

    "partialTriggers =": cb2.

    Binding = "#{CreateReportManageBean.injurdemptable} '"

    Width = "100%" >

    - ComboboxListOfValues - Tags

    < af:inputComboboxListOfValues id = "empIdId".

    popupTitle = "search and select: #{bindings." XxIncidentRptInjuredPersonsEOView1.hints.EmpId.label}.

    value = "#{row." Bindings.EmpID.inputValue}.

    Model = "#{row." Bindings.EmpID.listOfValuesModel}.

    required = "#{bindings." XxIncidentRptInjuredPersonsEOView1.hints.EmpId.mandatory}.

    columns = "#{bindings." XxIncidentRptInjuredPersonsEOView1.hints.EmpId.displayWidth}.

    shortDesc = "#{bindings." XxIncidentRptInjuredPersonsEOView1.hints.EmpId.tooltip}.

    autoSubmit = "true" >

    < f: validator binding="#{row.bindings.EmpId.validator}"/ >

    < / af:inputComboboxListOfValues >

    ---------------------------------------------------------------

    Take the af: inputComboboxListOfValues Id (for example, "empIdId") and put it in the partialTriggers of other attributes.

    or

    You can go to pageDef. --> select iterator table--> properties--> Advanced--> ChangeEventPolicy set for ppr

  • How to connect a list of values to the regions

    Hi all

    I created the list of values like the bar chart, histogram, Pie Chart.these the list of values added to the text box named as a type of cat.

    In the same region, I created 3 chart under regions.

    My requirement is if I select the graph page type-pie chart.the will see the pie only graphic region only. Even at the bar graph and histogram also.

    Please tell me clearly.

    Please help me.

    Thank you and best regards,

    Rambeau

    Amandine says:

    But I have 2 questions.

    1, where we give value to the element of LOV

    I created the list of values like the bar chart, histogram, Pie Chart.these the list of values added to the text box named as a type of cat.

    When you say "text field", do you mean literally a text element? If so, why do you use it? A select list or radio group would generally allow to select the chart type.

    Usually the user "will give the value" (for example, select the desired option). You can provide an option by default when the page is rendered first with a header of computation that runs under certain conditions, if the value of the element is set to zero. (You must use a calculation for this rather than the property item by default so that the value is in session state to operate in conditions of graphic region.)

    2, please give some examples of Expression1.

    Expression 1 is the name of the element used to display the options. Following the convention of the APEX of prefacing names to page elements to make them unique, it will be something like P2_CHART_TYPE.

  • ICF custom connector; How can I get the values of the parameters of the recon calendar task?

    I'm trying to create a custom connector icf with progressive reconciliation. My recon schedule a task, I have the settings "attribute of Date additional Recon ' and 'last token" that should be used for gradual reconciliation.

    How can I get the values of the parameters ' attribute of Date additional Recon ' and 'last token "?

    ICF should handle this for you.

    The value of "attribute of Date additional Recon ' must be filled in the OperationOption (e.g. executeQuery() and PROCESSES of FilterTranslator has this as a method parameter).

    For the "last counter", you need to implement ' createGreaterThanExpression (GreaterThanFilter, filter, is not Boolean) ' in your filter translator class. You can get the attribute of the filter object. Look for a description here: http://docs.oracle.com/cd/E37472_01/apirefs.1112/e28159/oracle/iam/connectors/icfcommon/recon/SearchReconTask.html

  • Insert the values of the parameters of the model of provision.

    Hello! I use Oracle 11g with BI Publisher 11g BI.

    RTF-model I created for my layout of the report. In the report, I use parameters for the period (P_StartDate, P_EndDate). What should I write my template to see in the report of the values chosen by the user? For example, the string "this report contains information from the period between < P_StartDate > and < P_EndDate >.

    Declare parameters in the template like this:



    Then, print the value of the parameters by using $P_StartDate and $P_EndDate

    Thank you
    BIpuser

  • Display the names and values of the parameters in the node parameter of forms

    Hello

    Is it possible to loopback programmatically via the node parameter forms get the name and value of each parameter. I don't know the name of the individual parameters in advance. I want to display the parameter names and values on a help screen generic as each of our reference forms.

    I could do somewhat similar code to display all names of block in a first_block get_form_property property and nextblock property get_block_property is formed. I can't think in the same way as the parameter names and the values of the list if.

    Any suggestions would be welcome.

    Thank you

    Neil

    No, there is no standard built-in to browse Forms settings.

    François

  • validation error message is not displayed for an attribute as a list of value of the entry

    Hello world

    I use jdev 11.1.1.7.0

    In my application, I created an entity Obj and Obj employees base table.

    for the attribute JobId , I took the actions listed below:

    1. in the EO staff, I created a validation for this attribute and in some cases the error message returns (the error message is "the salary is not high"):

        /**
         * Validation method for JobId.
         */
        public boolean validateJobId(String jobid) {
    
    
            if (...) {
                return false;
            }
    
    
            if (...) {
                return false;
            }
    
    
            if (...) {
                return false;
            }
    
    
         
            return true;
        }
    

    2. employees Vo, I created a LOV for this attribute (the view accessor is JobsViewObj) and I display the attribute entry of text with a list of values.

    in the jspx page, I drag / drop this attribute as below:

              <af:inputListOfValues id="jobIdId"
                                    popupTitle="Search and Select: #{bindings.JobId.hints.label}"
                                    value="#{bindings.JobId.inputValue}"
                                    label="#{bindings.JobId.hints.label}"
                                    model="#{bindings.JobId.listOfValuesModel}"
                                    required="#{bindings.JobId.hints.mandatory}"
                                    columns="#{bindings.JobId.hints.displayWidth}"
                                    shortDesc="#{bindings.JobId.hints.tooltip}"
                                    autoSubmit="true">
                <f:validator binding="#{bindings.JobId.validator}"/>
              </af:inputListOfValues>
    

    I opened the popup and I select a line in the list and then I click Ok. After that, if the validation method (validateJobId) returns false, the error message ("the salary is not high") must be show to the user. but the error message does not appear. I don't understand why this is happening.

    Can anyone guide me on this problem?

    Concerning

    Habib

    Hello Dario,

    I just found this post: http://andrejusb.blogspot.nl/2013/12/workaround-for-infamous-bug-13626875.html that apply ExceptionMode = immediate adjustment to control the use of data in DataBindings.cpx, then the error message is displayed as I hope.

    Concerning

    Habib

  • From the list of values in the procedure and trying to validate values

    Hello

    I create a procedure that will allow to validate data entered by the user.  Users can add values in a text box on my web page and I need to pass to an oracle procedure and check the table if these values exist.  I need to return a list of values that do not exist.  That's what I have so far

    CREATE OR REPLACE PROCEDURE VALIDATE 
    (
      P_VLIST IN VARCHAR2 ,
      P_RECORDS OUT SYS_REFCURSOR
    )
    AS
      V_SQL VARCHAR2(4000) := '' ;
    BEGIN
    V_SQL :=          'SELECT VAL '||CHR(10) ;
    V_SQL := V_SQL || 'FROM DVALUES '||CHR(10) ;
    V_SQL := V_SQL || 'WHERE VAL NOT IN (' || P_VLIST || ')'||CHR(10) ;
    V_SQL := V_SQL || ' ORDER BY VAL' ||CHR(10) ;
    OPEN P_RECORDS FOR V_SQL;
    END VALIDATE ;
    /
    

    My problem is that it will return all the values of DVALUES.  Can I put my list into a temporary table and do a left join to DVALUES and where the values of the two tables I can create a bool column that has a 1 or 0 indicating whether or not the value is good then select on the table and return the list of bad values?

    Thank you

    SQL > CREATE OR REPLACE
    PROCEDURE (2) P_VALIDATE
    3 P_VLIST IN VARCHAR2,
    4 P_RECORDS OF THE SYS_REFCURSOR
    5                        )
    6 AS
    V_STMT 7 VARCHAR2 (4000);
    BEGIN 8
    9 V_STMT: = ' SELECT ELEMENT FROM (SELECT ";)
    10 V_STMT: = V_STMT | REPLACE (P_VLIST, ',', 'ELEMENT OF DOUBLE UNION ALL SELECT');
    11 V_STMT: = V_STMT | FROM DUAL) WHERE THERE IS NO (SELECT 1 FROM DVALUES WHERE VAL = ELEMENT)';
    12. OPEN P_RECORDS TO V_STMT;
    13 END P_VALIDATE;
    14.

    Created procedure.

    SQL > EXEC P_VALIDATE('10,15,20,25,30,35,40',:V_CUR)

    PL/SQL procedure successfully completed.

    SQL > V_CUR PRINT

    ELEMENT
    ----------
    15
    25
    35

    SQL >

    SY.

  • different values of the parameters $ GV on DB LINK

    Hello

    I am trying to understand the values of the settings, I see on a database is different when it is asked of other databases via a DB connection.

    DB_1:

    SQL > select name, value, display_value, isdefault parameter $ v whose name like ' % date % ";

    NAME VALUE DISPLAY_VALUE ISDEFAULT

    nls_date_language                                                                                                 TRUE

    NLS_DATE_FORMAT FORGERY of the HH24:MI:SS HH24:MI:SS MM/JJ/AAAA/MM/JJ/AAAA

    fixed_date                                                                                                                TRUE

    DB_2:

    SQL > select * parameter $ gv@TO_DB_1 where name like ' % date % ";

    NAME VALUE DISPLAY_VALUE ISDEFAULT

    nls_date_language AMERICAN AMERICAN TRUE

    NLS_DATE_FORMAT FORGERY of the HH24:MI:SS HH24:MI:SS MM/JJ/AAAA/MM/JJ/AAAA

    fixed_date                                                                                                                    TRUE

    DB_2:

    SQL > select NAME from v$ database@TO_DB_1;

    NAME

    DB_1

    I'm under binary 11.2.0.3.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Thank you Checking out. !

    -AAG

    Post edited by: AAG

    Hello

    NLS parameter can be defined by environment variables, and they depend on the way you connect:

    • When you connect locally to the server (not SQL * Net, no listener), the Oracle session inherits the client environment
    • When you connect remotely to a service registered statically on the listener, the Oracle session inherits the environment that began the listener
    • When you connect remotely to a service registered dynamically on the listener, the Oracle session inherits the environment who started the database

    Kind regards

    Franck.

  • Values of the parameters of a hue/Sat adjustment layer.

    Hello world!

    I'm sorry but I desperately seek a function for photoshop CS5 that changes the value of a HUE/Saturation adjustment layer.

    I searched several times on the internet but cannot find.

    I also tried with the scriptlistener but when I change the values of the adjustment layer, nothing written in the newspapers.

    Could someone else please? Thanks in advance.

    Does that help?

    #target photoshop

    setHueSatForLuminance ([0, 60, 0], [9, -30, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]);

    the hue/sat-layer function;

    function setHueSatForLuminance (master, red, yellow, green, blue, cyan, magenta) {}

    // =======================================================

    var idMk = charIDToTypeID ("Mk");

    var desc43 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    var ref8 = new ActionReference();

    var idAdjL = charIDToTypeID ("AdjL");

    Ref8.putClass (idAdjL);

    desc43.putReference (idnull, ref8);

    var idUsng = charIDToTypeID ("Usng");

    var desc44 = new ActionDescriptor();

    var idType is charIDToTypeID ('Type');.

    var desc45 = new ActionDescriptor();

    var idpresetKind = stringIDToTypeID ("presetKind");

    var idpresetKindType = stringIDToTypeID ("presetKindType");

    var idpresetKindDefault = stringIDToTypeID ("presetKindDefault");

    desc45.putEnumerated (idpresetKind, idpresetKindType, idpresetKindDefault);

    var idClrz = charIDToTypeID ("Clrz");

    desc45.putBoolean (idClrz, false);

    var idHStr = charIDToTypeID ("HStr");

    desc44.putObject (idType, idHStr, desc45);

    var idAdjL = charIDToTypeID ("AdjL");

    desc43.putObject (idUsng, idAdjL, desc44);

    executeAction (idMk, desc43, DialogModes.NO);

    // =======================================================

    var idsetd = charIDToTypeID ("setd");

    var desc46 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    var ref9 = new ActionReference();

    var idAdjL = charIDToTypeID ("AdjL");

    var idOrdn = charIDToTypeID ('Ordn');

    var idTrgt = charIDToTypeID ("Trgt");

    Ref9.putEnumerated (idAdjL, idOrdn, idTrgt);

    desc46.putReference (idnull, ref9);

    idT var = charIDToTypeID ("T");

    var desc47 = new ActionDescriptor();

    var idpresetKind = stringIDToTypeID ("presetKind");

    var idpresetKindType = stringIDToTypeID ("presetKindType");

    var idpresetKindCustom = stringIDToTypeID ("presetKindCustom");

    desc47.putEnumerated (idpresetKind, idpresetKindType, idpresetKindCustom);

    var idAdjs = charIDToTypeID ('Adjs');

    var list3 = new ActionList();

    var desc12 = new ActionDescriptor();

    HDI var = charIDToTypeID ('H');

    desc12.putInteger (HDI, master [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc12.putInteger (idStrt, master [1]);

    var idLght = charIDToTypeID ("Lght");

    desc12.putInteger (idLght, [2] master);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc12);

    var desc48 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc48.putInteger (idLclR, 1);

    var idBgnR = charIDToTypeID ("BgnR");

    desc48.putInteger (idBgnR, 315);

    var idBgnS = charIDToTypeID ("BgnS");

    desc48.putInteger (idBgnS, 345);

    var idEndS is charIDToTypeID ("purpose");.

    desc48.putInteger (idEndS, 15);

    var idEndR = charIDToTypeID ('James');

    desc48.putInteger (idEndR, 45);

    HDI var = charIDToTypeID ('H');

    desc48.putInteger (HDI, Red [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc48.putInteger (idStrt, Red [1]);

    var idLght = charIDToTypeID ("Lght");

    desc48.putInteger (idLght, Red [2]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc48);

    var desc49 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc49.putInteger (idLclR, 2);

    var idBgnR = charIDToTypeID ("BgnR");

    desc49.putInteger (idBgnR, 15);

    var idBgnS = charIDToTypeID ("BgnS");

    desc49.putInteger (idBgnS, 45);

    var idEndS is charIDToTypeID ("purpose");.

    desc49.putInteger (idEndS, 75);

    var idEndR = charIDToTypeID ('James');

    desc49.putInteger (idEndR, 105);

    HDI var = charIDToTypeID ('H');

    desc49.putInteger (HDI, yellow [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc49.putInteger (idStrt, yellow [1]);

    var idLght = charIDToTypeID ("Lght");

    desc49.putInteger (idLght, yellow [2]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc49);

    var desc50 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc50.putInteger (idLclR, 3);

    var idBgnR = charIDToTypeID ("BgnR");

    desc50.putInteger (idBgnR, 75);

    var idBgnS = charIDToTypeID ("BgnS");

    desc50.putInteger (idBgnS, 105);

    var idEndS is charIDToTypeID ("purpose");.

    desc50.putInteger (idEndS, 135);

    var idEndR = charIDToTypeID ('James');

    desc50.putInteger (idEndR, 165);

    HDI var = charIDToTypeID ('H');

    desc50.putInteger (HDI, green [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc50.putInteger (idStrt, green [1]);

    var idLght = charIDToTypeID ("Lght");

    desc50.putInteger (idLght, green [1]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc50);

    var desc51 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc51.putInteger (idLclR, 4);

    var idBgnR = charIDToTypeID ("BgnR");

    desc51.putInteger (idBgnR, 135);

    var idBgnS = charIDToTypeID ("BgnS");

    desc51.putInteger (idBgnS, 165);

    var idEndS is charIDToTypeID ("purpose");.

    desc51.putInteger (idEndS, 195);

    var idEndR = charIDToTypeID ('James');

    desc51.putInteger (idEndR, 225);

    HDI var = charIDToTypeID ('H');

    desc51.putInteger (HDI, blue [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc51.putInteger (idStrt, blue [1]);

    var idLght = charIDToTypeID ("Lght");

    desc51.putInteger (idLght, blue [2]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc51);

    var desc52 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc52.putInteger (idLclR, 5);

    var idBgnR = charIDToTypeID ("BgnR");

    desc52.putInteger (idBgnR, 195);

    var idBgnS = charIDToTypeID ("BgnS");

    desc52.putInteger (idBgnS, 225);

    var idEndS is charIDToTypeID ("purpose");.

    desc52.putInteger (idEndS, 255);

    var idEndR = charIDToTypeID ('James');

    desc52.putInteger (idEndR, 285);

    HDI var = charIDToTypeID ('H');

    desc52.putInteger (HDI, cyan [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc52.putInteger (idStrt, cyan [1]);

    var idLght = charIDToTypeID ("Lght");

    desc52.putInteger (idLght, cyan [2]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc52);

    var desc53 = new ActionDescriptor();

    var idLclR = charIDToTypeID ("Lee");

    desc53.putInteger (idLclR, 6);

    var idBgnR = charIDToTypeID ("BgnR");

    desc53.putInteger (idBgnR, 255);

    var idBgnS = charIDToTypeID ("BgnS");

    desc53.putInteger (idBgnS, 285);

    var idEndS is charIDToTypeID ("purpose");.

    desc53.putInteger (idEndS, 315);

    var idEndR = charIDToTypeID ('James');

    desc53.putInteger (idEndR, 345);

    HDI var = charIDToTypeID ('H');

    desc53.putInteger (HDI, magenta [0]);

    var idStrt = charIDToTypeID ("TRT");

    desc53.putInteger (idStrt, magenta [1]);

    var idLght = charIDToTypeID ("Lght");

    desc53.putInteger (idLght, magenta [2]);

    var idHsttwo = charIDToTypeID ("TVH2");

    list3.putObject (idHsttwo, desc53);

    desc47.putList (idAdjs, list3);

    var idHStr = charIDToTypeID ("HStr");

    desc46.putObject (idT, idHStr, desc47);

    executeAction (idsetd, desc46, DialogModes.NO);

    };

  • Unique nutrient values in the parameters of the effect of comps pre duplicated?

    I have a composition before with some fairly complex particle systems I'd like to reproduce several times in a final model.

    The thing is I want to apply a unique 'XY position' value to the effects within each instance precomp.  I already have the values chained with the selection inside the demo icon, so all 'position XY' values can be moved as a unit.

    He can feed the unique effect values down in the stack of comps pre uses phrases or some other thing?

    You can have only one instance of a set of precomps that makes differently when it is used several times.

    You will need to create several sets of these precomps and put different values. You could do this by recording all the precomps as a project then import several times. Or there is a script to duplicate a comp here hierarchy: http://aescripts.com/true-comp-duplicator/

    Before that, you can use expressions to power a random some properties value so that they would be automatically in each set in doubles. For example, this would be a random position XY value:

    seedRandom(1,true);

    x = random (0,640);

    y = random (0,480);

    [x, y];

  • TextField display only when you select list = - 1 value in the report can be updated

    Hey guys! Only shortly after, find a solution for my last prblem (thank you), I have another that I find very interesting. In VBA it is not an agreement but in Apex is still something else.

    I have a report to be updated with a couple of columns, let's say column a, column b, column c. column a is from a LOV. Now I would like to show column b only if the value in column a is - 1. Of course, this must work individually for each line. Is there a method that works in Apex?

    I tried to declare a condition for the column 2 > > > value of element in the expression 1 = value in the expression 2.

    One article is in turn the LOV column i.e. APEX_APPLICATION. G_F02. This attempt does not work and never displayed in the column of the entire report.

    Do you have an idea how achieve this conditional display referring to another column?

    Best regards

    Sebastian

    Sebastian,

    OK, have a look here. Now, I didn't spend the time to make it perfect, so if you select the NULL option and save, you will see it as a real choice. It's just because you wanted to code based on '-1', so I had to put this value in the departments table.»
    http://www.shellprompt.NET/pls/Apex/f?p=566:22

    Here is the code:

    <script src="http://www.google.com/jsapi"></script>
    
    <script type="text/javascript">
       google.load('jquery', '1.3.2');
    </script>
    
    <script type="text/javascript">
    //<![CDATA[
       $(document).ready(function(){
          $('select[id^="f12_"]').each(function() {
             toggleFields(this);
          });
    
          $('select[id^="f12_"]').live('change', function() {
             toggleFields(this);
          });
       });
    
       function toggleFields(selectElmt) {
          $select = $(selectElmt);
          $commPct = $select.parents('tr').eq(0).find('input[id^="f10_"]');
    
          if ($select.val() == '-1') {
             $commPct
                .focus(function() {
                   this.blur();
                })
                .attr('readonly','readonly')
                .val('');
          } else {
             $commPct.unbind('focus').removeAttr('readonly');
          }
       }
    //]]>
    </script>
    

    The first lines of your application, simply add jQuery. The following code uses jQuery to do what you are looking for. The trickiest part may be understand the references 'f10_' and 'f12_ '. All you have to do is to think of the query in the form of tables. The first column of the query will be f01, f02 the second and so on. Each of your items receives a unique id that is based on that, and those are the jQuery selectors that touches off this fact.

    It can be a little confusing at first, but take a look and let me know if you have any questions. Also, check out www.jquery.com for more information.

    Kind regards
    Dan

    http://danielmcghan.us
    http://www.skillbuilders.com

    You can reward this answer by marking as being useful or correct ;-)

  • How to pass a list of values to the rear end.

    Hello
    I have a block with 3 columns, a database column no (checkbox), my goal is to return the rows that are selected by the user to the back-end for some
    the treatment. I know not how to loop through the block and assign values to the variable column, if the check box is enabled, but instead to send each line at the rear,
    I am looking for a solution by which I can send all end them the selected backward in one trip.
    Will I do Array, or the type of table, and go to the rear. What is the best solution.

    How to declare the table and the Type of table in Oralce 10g shape

    Thanks in advance

    Rizly

    You can use the following in your stored procedure:

    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    LC$Arg  VARCHAR2(100) := '''file1'' from dual union select ''file2'' from dual union select '
    'file3'' from dual' ;
      3    r sys_refcursor;
      4    lc$sql VARCHAR2(1000) := 'select ' || LC$arg ;
      5    v VARCHAR2(100);
      6  BEGIN
      7    OPEN r FOR lc$sql ;
      8    LOOP
      9      FETCH r INTO v ;
     10   EXIT WHEN r%NOTFOUND;
     11   DBMS_OUTPUT.PUT_LINE(v);
     12    END LOOP;
     13    CLOSE r ;
     14  END;
     15
     16  /
    file1
    file2
    file3
    

    François

  • List date values in the current month and previous month next month

    Hello. I am looking for a way to query a list of each value date in the current month, previous month and next month.

    1 DECEMBER 15

    ...

    ...

    31 DECEMBER 15

    1ST JANUARY 16

    ...

    ...

    30 JANUARY 16

    1 FEBRUARY 16

    ...

    ...

    28 FEBRUARY 16

    Any help would be greatly popular!

    with the data (start_date and end_date) as)

    Select Add_months (trunc (sysdate, 'month'),-1),

    Add_months (trunc (sysdate, 'month'), 2)

    of the double

    )

    Select the level - 1 the_date + start_date

    from the data

    connect by level<= end_date="" -="">

Maybe you are looking for

  • people e-mail groups

    How to make an email mailing list with many receivers and without having all receivers being shown on the email?

  • Keychain error 100001 during the set up Time Machine to new iMac

    I received this error message: "error 100001 Keychain occurred during the creation of system Keychain for the username entry + all trying to set up Time Machine using my Airport Time Capsule for backups to a new iMac. Time Capsule airport working fla

  • When I click on the IE icon only a partial page

    Windows Vista Home Premium 32 bit IE 8 When I click on the IE icon on desktop or in the quick launch area, a tiny partial page appears at the top of the screen and I have to maximize. Do not do this. This just started happening a few days ago. How ca

  • Received an error message "ActiveX runtime error '429' cannot create the object.

    I got this error message after you install a site Web of Koyote Soft free audio converter. So now I'm unable to run/open this free audio converter. Help, please.  Thank you

  • With the BCC field email composer

    Hello world I had a problem with fill the Bcc field using enamel dial. Application of InvokeRequest; request.setTarget ("sys.pim.uib.email.hybridcomposer"); request.setAction ("bb.action.SENDEMAIL"); request.setMimeType("message/rfc822"); request.set