Validation of a tabular presentation online using Ajax

I am trying to create a java script confirm the dialog box in the form of...

When the user attempts to insert a new line with even Ename and job that already exists in the table, and once they press the button for treat, I check via ajax if data exist or not. If it exists, immediately present the user with a Confirmation e-mail "you want to proceed by adding same Ename and job.

Apex. Oracle.com

W/U/P: nani5048/test/test

App: 11967 page 2

attempted to replicate, but his does not work. JavaScript - how to perform Validation of line by line on an APEX Oracle tabular form using Ajax - stack overflow

Existing values:

In the form of:

Hello

I edited the sample application in the given workspace.

I've added a javascript that runs on "before the submit page.

I also added a reminder AJAX "validating data".

the confirmation box is there,

I don't know how to proceed.

Tags: Database

Similar Questions

  • MRU - tabular presentation - Validation

    Hello

    I have the following problem:

    -J' have a tabular presentation
    -This form has 4 columns
    -the 3rd column has a text field to type a number (it is also declared as 'number' in the table)
    -with a MRU certain changes in the 3rd column may be saved

    --> The user must type in the quantity of items the found.


    My problem:
    Some users may type in a white (not 0). -> and if he wants to save it, an error message is: internal error in the routine mru... There is an invalid number.


    My question:
    How can I validate the 3rd column that the user can type only number and not characters?




    Thank you very much
    LISA

    Lisa,

    I had a similar problem, although I used it to validate a deletion: validation in the form of integrity constraint?

    You can add validation: pl/sql returns the error message.

    and then apex_application contains an array of items in the form of tables... so, you could do something like:

    for i in 1..apex_application.g_f02.count loop
        --insert logic here
        if apex_application.g_f02(i) = 0 then
            return 'Please remove any values that are equal to 0';
        end if;
    end loop;
    

    g_f03 <-- that="" generally="" refers="" to="" the="" 3rd="" column,="" but="" you="" can="" confirm="" by="" inspecting="" the="" element,="" it="" will="" generally="" have="" a="" name="" of="" something="" like:="" f03=""><--- that="" is="" what="" you="" use="">)

    Digital test: http://www.techonthenet.com/oracle/questions/isnumeric.php

    Van
    Trent

  • Try to use the plugin to watermark on a tabular presentation

    Hi all - I'm currently running Application Express 4.1.0.00.32.

    I have a form of table with a single column designated as an entrable field. I downloaded the watermark plugin and created a new element using the plugin.

    If I create a basic form I can select my watermark in the list of menu drop-down ' view as ", but this option is not available for me in my tabular presentation. I'd like to be able to get this to work so that a user could see the watermark on all entrable lines in tabular form.

    Is this just a limitation of the APEX and if so are there ways around that?

    Thanks in advance,
    John

    John

    You can put the code in the run when the Page loadspage attribute.
    Or you could put it in a dynamic action with pageload of the event.

    Nicolette

  • How to use a Select list on a second primary key column in a tabular presentation?

    Hello

    I created a tabular presentation located on the details page of the user (form), that allows to manage roles for this user.

    The shape of table contains 3 elements:
    -> a checkbox
    -> user (PK) column is hidden, and its default value is generated by a function pl/sql (to submit the time), which refers to the element to username.
    -> the role of the column is displayed as a named select list LOV: add you a line, choose a role, submit, etc..

    But my ROLES table (not created by me...) contains 2 columns: USER and GRANTED_ROLE.
    The USER is the primary key, but a user can have multiple roles (= one line per role).
    GRANTED_ROLE is the second primary key, so that we can differentiate between one line of another.

    At the moment my tabular form has only one primary key (USER), so the GRANTED_ROLE can display as a list select.
    But, for this reason, in my opinion, remove the button do not work: all the lines of the user have the same key, so when I select a few lines to remove these, all lines in the form of tables are deleted.

    I don't know how my button Delete could recognize the subkey to remove only selected rows...
    Or maybe I should use a different type of region?

    Thanks for your help!
    Fanny

    In the process of ApplyMRD, try to specify the 'secondary key' column in the section "Source: Multi line Update and Delete"to the second column key in tabular form.»

    I have not tested this with your situation, but worth it.

  • Tabular presentation - PK_DISPLAY with name

    Hi all

    Request Express 4.2.4.00.08

    I have setup an example on apex.oracle.com.

    Workspace: BRENTDEMO

    user: demo

    PW:demo

    On page 2, I have a dynamic action

     jQuery.each($('input[name="f03"]'), function() {
         alert('Name = ' + $(this).val());
         var deptno =$(this).closest('tr').children('td[headers="DEPTNO_DISPLAY"]').find('input[name="f02"]').val()
         alert('deptno = ' + deptno);
    
     })
    

    If you use firebug on the page, the DEPTNO_DISPLAY column has no name/id associated so obviously that this action will not warn the correct value.  How I would go about assigning an id/name of the DEPTNO_DISPLAY column to retrieve the value.  I want to get this value it is because I have a how to remove custom that needs the PK ID.  (Not in this application example).

    I tried to make the column DEPTNO_DISPLAY a text field (changing names in dynamic action).  However, it gives an error message of "current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "6FC404C2EDDB998C91CD7473B6DDA6A5" line application version identifier = "D3B1B18D31905688985A3EA6D5F82FB2" (line 1).

    On page 3, I tried to adjust the sql query to read

    select 
    "DEPTNO",
    "DEPTNO" DEPTNO_DISPLAY,
    "DNAME",
    "LOC",
    apex_item.text(10,deptno) as deptno_with_name
    from "#OWNER#"."DEPT"
    
    

    With dynamic Action

     jQuery.each($('input[name="f03"]'), function() {
         alert('Name = ' + $(this).val());
         var deptno =$(this).closest('tr').children('td[headers="DEPTNO_WITH_NAME"]').find('input[name="f10"]').val()
         alert('deptno = ' + deptno);
    
     });
    

    This allows all work fine, except when a validation fails on the page.  If you set Dname null and try to send the page, the following error message is displayed in the form of tables:

    error report:

    ORA-01403: no data found

    ORA-06510: PL/SQL: not supported by the user-defined exception

    Now, if you are populating Dname with what either, and you're trying to send the page again, you receive the following error message:

    Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "A884FA378C851786DDFE3A33709CB23C" line application version identifier = "6FC404C2EDDB998C91CD7473B6DDA6A5" (line 2)

    I tried searching forums and I believe that page 3 does not work because the mixture of apex_items and a Query (updateable report) "SQL" does not work.  Please correct me if that's wrong.

    Does anyone have a solution on how I can retrieve the value of DEPTNO? Is the best solution to use a tabular presentation manual?  If more information is needed, please let me know.

    Thank you

    Brett

    What about just using the text() td value?

    The javascript code for your dynamic action reads as as follows, and the alert shows what is desired:

     jQuery.each($('input[name="f03"]'), function() {
         alert('Name = ' + $(this).val());
         var deptno =$(this).closest('tr').children('td[headers="DEPTNO_DISPLAY"]').text();
         alert('deptno = ' + deptno);
    
     });
    
  • How to use Ajax get multiple values in an array?

    Hi All-

    I am using AJAX to get multiple values in a table using example of Denes Kubicek in the following link-

    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606:NO:

    Basically, I want to use the drop-down list to fill the rest of the values in the form.

    I created the example (Ajax get several values, 54522 application) on the Oracle site.

    http://apex.oracle.com/pls/apex/f?p=4550:1:0:

    Workspace: iConnect

    Login: demo

    password: demo

    I was able to reproduce his example on page 1 (homepage).

    However, I want to use system generate a table to complete this example and was not able to complete the data correctly.

    Page 2 (method 2) is that I'm struggling to fill the column values. When I checked the item application values in the Session, and values seems to be filled properly.

    That's what I did on this page:

    1 create an Application process on-demand - Set_Multi_Items_Tabular2:

    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
    
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
    
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    
    
    
    
    
    

    2. create two objects application - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2

    3. put the following text in the Page header:

    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
    }
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);    
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                }
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
                    }
                }
            }
        }
        get = null;
    }
    </script>
    
    
    Add the follwing to the end of the above JavaScript:
    
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    {
     var s = filter.id;
     var item = s.substring(3,8);
     var field2 = list2 + item;
     
     f_set_multi_items_tabular2(filter, field2);
    }
    
    
    
    
     
    
    
    

    4 query in the form:

    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    
    
    
    
    
    

    5. in the column of Book_ID_DISPLAY attribute:

    Add the following code to the attributes of the element: onchange = "javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#'); »

    Changed-> onchange = "javascript:setLOV(this,'f03'); »

    Now, T_ROWNUM2 returns the value as f03_0001. But TEMPORARY_APPLICATION_ITEM2 returns in the form [object HTMLSelectElement]...

    Please help me to see how I can fill the data in the tabular presentation format. Thank you in advance!

    Ling

    Updating code in red...

    Ling

    LC says:

    Application Item Value Item Name
    54522 3 TEMPORARY_APPLICATION_ITEM2
    54522 f03_0003 T_ROWNUM2

    No T_ROWNUM2 should be 0003.

    I made a copy of your page to make corrections.

    There are several problems.

    First you where submiting T_ROWNUM2 whereas you would use: t_rownum in the pl/sql code.

    I changed the name of the element in the f_set_multi_items_tabular2.

    Secondly you where now affecting the rownumber f03_0001 for the first line.

    Resulting XML returned as follows.

    this xml genericly sets multiple items
    CSS Mastery
    22
    Andy Budd
    1
    
    

    I changed the following text in the show_lov.

    var point = s.substring (4.8);

    var Field2 = item;

    I also had a compilation of pl/sql code error, there was a); missing the end of the last item. Fixed that too.

    But why do you think lpad won't work for lines 10 and more.

    LPAD ('10', 4, '0') will give "0010"

    LPAD ('100 ', 4,'0 ') will give "0100"

    LPAD ('1000 ', 4,'0 ') will give '1000'

    So unless you have more than 9999 lines you would have no problem.

    Nicolette

  • Tabular presentation - Trigger error

    Hello

    I have a question about the errors of a trigger seizures in a tabular presentation.

    The situation:
    I use a tabular form for insertion of a row in A table.
    The trigger validates the insert and get a custom error [+ Raise_application_error ("-20001, ' INSERT NOT VALID"); +].
    As I put "+ error message display location Inline in Notification +" with process Error Message: + #SQLERRM_TEXT #+.

    I expect to get "1 error has occurred" with only the message "+ INVALID INSERT +".
    But what I see is
    INSERT NOT VALID ORA-06512: in "SCHEMA. TABLE_TRIGGER', line 23 ORA-04088: error during execution of trigger.
    +' SCHEME. TABLE_TRIGGER' (1st row) +.

    So is it possible to change this type of validation to only see that my custom error message?
    Thanks in advance!

    Hi fyaa,.

    Please take a look at the example of http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_error.htm#CABDJBGJ of error handling function
    Especially the code block

            -- If an ORA error has been raised, for example a raise_application_error(-20xxx, '...')
            -- in a table trigger or in a PL/SQL package called by a process and we
            -- haven't found the error in our lookup table, then we just want to see
            -- the actual error text and not the full error stack with all the ORA error numbers.
            if p_error.ora_sqlcode is not null and l_result.message = p_error.message then
                l_result.message := apex_error.get_first_ora_error_text (
                                        p_error => p_error );
            end if;
    

    is what you are looking for. If you are just curious to see the client error message and do not want to have everything, your error management function might look like

    create or replace function apex_error_handling_example (
        p_error in apex_error.t_error )
        return apex_error.t_error_result
    is
        l_result apex_error.t_error_result;
    begin
        l_result := apex_error.init_error_result (
                        p_error => p_error );
    
        if not p_error.is_internal_error then
            -- If an ORA error has been raised, for example a raise_application_error(-20xxx, '...')
            -- in a table trigger or in a PL/SQL package called by a process and we
            -- haven't found the error in our lookup table, then we just want to see
            -- the actual error text and not the full error stack with all the ORA error numbers.
            if p_error.ora_sqlcode is not null and l_result.message = p_error.message then
                l_result.message := apex_error.get_first_ora_error_text (
                                        p_error => p_error );
            end if;
    
            -- If no associated page item/tabular form column has been set, we can use
            -- apex_error.auto_set_associated_item to automatically guess the affected
            -- error field by examine the ORA error for constraint names or column names.
            if l_result.page_item_name is null and l_result.column_alias is null then
                apex_error.auto_set_associated_item (
                    p_error        => p_error,
                    p_error_result => l_result );
            end if;
        end if;
    
        return l_result;
    end apex_error_handling_example;
    

    Also take a look at my blog announcement at http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Tabular presentation - column to turn it off (with picture) based on another value of the column

    Hi all

    I haven't worked much on tabular forms and JS. I'm looking for help in this regard.

    I'm working on a tabular presentation. with several editable fields... I need to disable a column (just for this single line), which contains an image, based on a field of LOV (static) list) (Y/N). The image column must be disabled if the value is N.

    My SQL for the report is something like this: (will keep things simple)

    Select

    emp_id,

    emp_name,

    static_list,

    (case when STATIC_LIST = "Y" THEN ' < a title = "Edit SAMPLE TBL" href = "f?) p = & APP_ID.:10: & APP_SESSION.:NO:P10_EMP_ID, P10_EMP_NAME :'|| EMP_ID | «, » || EMP_NAME | "" "> < img src =" "#IMAGE_PREFIX #SAMPLE.gif" border = '0' (> < /a > ' other ' ' end) as disable_col, "

    dept_name

    of sample_table

    I scoured the topics in this forum. Most of them were made using the table ID f_001, f_002.

    I tried to follow the same path by inspecting the item but the disable_col does not have any ID.  Let's say, f_003 is for the static list and f_004 is assigned to dept_name.

    I tried dynamic actions, but it did not work. Read in a topic that dynamic action does not work on tables. So I chose this approach. Is there a simpler way to solve this?

    need your help on how to proceed with this scenario. Thank you in advance.

    Versions: Apex: 4.2, DB: 11 g

    Thank you

    Daniel

    Hi Daniel_A,

    Daniel_A wrote:

    I did my job in Page 4.

    If the IS_VALID column is select as 'Yes' then the column hyper must be enabled, allowing the user to click on it. If she chose the 'no', then the column Hyper must be disabled for this line.

    The initial question about toggle the hyperlink is resolved. Check your App-> Page 4 35160.

    This is done with the help of two dynamic actions:

    • DA first loading of the Page / after updating of region "tabular":

    Event: After refresh

    Selection type: region

    Region: The other 'tabular '.

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $( 'select[name="f08"]' ).each(function() {
      if ( $(this).val() === "N" ) {
        $(this).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click");
      }
    });
    

    Items concerned: no item affected

    • Second DA on the evolution of the selection list:

    Event: change

    Selection type: jQuery Selector

    jQuery Selector: select [name = "f08"]

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: No.

    Code:

    var el = this.triggeringElement;
    if ( el.value === "N" ) {
        $(el).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click");
    } else {
        $(el).closest("tr").find('td[headers="HYPER"]').find("a").removeClass("apex_disabled").bind("click");
    }
    

    Items concerned: no item affected

    NOTE: as the original question/topic related to toggle the image link in the column, for the problem with the Page 5, please create a new thread with the details.

    Kind regards

    Kiran

  • Offer of external form using AJAX

    I have an external form, and I want to introduce the external form data to a form of Eloqua using an asynchronous AJAX action. I tried to find answers to this on the web with no luck. I have successfully obtained the GUID. The form works fine when I use a regular send button, connect to Eloqua successfully. However, as soon as I attach a .ajax function to the Submit button (which tries to send data asynchronously and also cancels regular action button), this function does not succeed. My .ajax function looks like this:

    $("#submitButton").click (function () {}

    var dataString = 'elqSiteID =' + elqSiteID + '& elqFormName =' + elqFormName + '& FirstName =' + name + ' & LastName = "+ LastName + '& Email =' + Email + '& retURL =' + retURL + '& elqCustomerGUID =' + elqCustomerGUID + '& elqCookieWrite =' + elqCookieWrite;"

    $.ajax({)

    type: 'POST',

               url: " http://now.Eloqua.com/e/F2.aspx ",

    data: dataString,.

    success: function() {}

    $('#responseMessage').html ("< h2 > Contact form sent! < / h2 > ");"

    }

    });

    Returns false;

    });

    (In the actual JavaScript, datastring variable contains name = pairs of value I have indicated here. The ones of the device).

    I must add that when this function points to a lazy PHP page instead of http://now.eloqua.com/e/f2.aspx, the .ajax function succeeds, insert the "Contact submit form!  text in the external form page. But when I then try to say that the PHP page to submit the data to http://now.eloqua.com/e/f2.aspx, .ajax function is unsuccessful.

    So, I need to know how to send these data to Eloqua directly from my external form page using AJAX, or I need to know how to get this PHP page to submit these data to Eloqua in turn. But I'm hoping for a solution on the page of the external form, since I don't need to do anything to the data until it goes to Eloqua.

    Thank you!

    Thank you, James. I learned a little more about CURL (there are many out there), and now, I now have my AJAX function (to which is attached the button 'Send') pointing to a PHP file that uses a little CURL script. And it works!

    The file PHP says, in its entirety:

    $inputdata = array();

    {foreach ($_POST as $key-online $val)}

    [$inputdata] = $key. ' = '.urlencode ($val);

    }

    $query = implode ("&", $inputdata);

    $initialization = curl_init ("http://now.eloqua.com/e/f2.aspx");

    curl_setopt ($initialization, CURLOPT_HEADER, 0);

    curl_setopt ($initialization, CURLOPT_POST, 1);

    curl_setopt ($initialization, CURLOPT_POSTFIELDS, $query);

    curl_setopt ($initialization, CURLOPT_FOLLOWLOCATION, 0);

    curl_setopt ($initialization, CURLOPT_REFERER, "http://www.chrissellers.com");

    curl_setopt ($initialization, CURLOPT_RETURNTRANSFER, 1);

    $data = curl_exec ($initialization);

    curl_close ($Initialization);

    Because I don't want to take the user leaves the page of the form, I do not do anything with $data.

  • How to access a column value in a Select list in a tabular presentation for each line

    Hello

    Environment: Using Oracle APEX v4.2.1 on an Oracle 11 g 2 DB

    In a tabular presentation using the following example query, i.e.:

    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "HIREDATE",
    "SAL",
    "DEPTNO",
    "MY_LOV"
    from"#OWNER#"."EMP"
    
    

    I need access to every line of my sub form of table, the EMPNO of this line value, within a list of selection (query based LOV) in the column "MY_LOV."

    So, basically, the MY_LOV column in my table presentation, would be a list of selection (query based LOV) where MY_EMPNO =: EMPNO (first column in the select statement above), for each line of the tabular presentation.

    With the help of a picture ( Tom's Blog ) and assuming 'Deptno' column here is actually my new column, i.e. "MY_LOV, I want to know how this list of selection based on lov query would be able to access each EMPNO down in the form of tables, i.e. 7839, 7698, 7782 etc.?

    overview.png

    Any help would be appreciated.

    Thank you.

    Tony.

    Hi Tony,.

    Take a look at the API APEX_ITEM for LOV

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_item.htm#AEAPI208

    Kind regards

    Brad

  • Look for the lines selected on a tabular presentation

    Hello guys and girls,

    I have a small problem trying to understand if/how I can check by pressing the "submit" button if there where no records selected in my tabular presentation.

    To explain better: I have a selection list in which the user select an employee. On this choice, a tabular presentation appears with the own products for this employee.

    The user must check at least one of the lines to go further.

    If the user does not select all and always press the "submit" button you should see an error message saying: "there are no selected product."

    What I was doing until now (stupid I suppose) was to create a Boolean as validation:

    DECLARE

    vRow directory;

    BEGIN

    BECAUSE me in 1... apex_application.g_f01. COUNTY

    LOOP

    vRow: = apex_application.g_f01 (i);

    If vRow is NULL then

    Returns false;

    on the other

    Returns true;

    end if;

    END LOOP;

    END;

    But does not work. If I have no active records it will say nothing and let me go. If I check something even record.

    Help, please.

    There must be something that I have no idea about.

    Thank you very much.

    Gabriel

    Checkboxes only support values for the lines. For example, a loop on the table will always return true since vRow will never be NULL. In addition, a table with a number equal = 0 will not be locked during all, again don't generate no errors.

    No loop, just check apex_application.g_f01. COUNTY. If it is 0, no checkboxes have been verified.

  • I need to rename a column for a tabular presentation

    How to rename a column, I created for a tabular presentation?

    I added a new column to a tabular presentation (using 'add a new link in the column') and he gave me a name of column, called "link column. I tried to change, but it does not - note: I can't change a sql column does not exist outside Apex - I created it for the display of a calculation.

    I don't know that it can be done as I did before.

    change the column name photo columnnamechange.png

    Does not change the name of  photo colunnamechange.png so cannot reference in my calculation

    Well, I found a way to do it anyway. This should be changed in the definition of region > source.

  • Dynamically set read-only columns in the tabular presentation at record levels

    Hello

    Is it possible to activate and deactivate fields at the level of the line in a tabular presentation... I use OFA to create a page that should give the possibility to activate and deactivate certain fields in the table on the fly...

    Here's the requirement:

    examples of data

    Item_code |   Review | Point Attrib1 | Article attrib2 | Article attrib3 | Columna | ColumnB

    1.234               100           A                         B                    _                  A               _

    1.235               100          B                              _                 B                 _                   A

    fields point attrib3 and Columnb should be read-only if the value of attrib1 point is A

    Even if point value attrib1 is B columna and attrib2 of the element must be read-only...

    I have PPR on item_attrb1 to manage the change of value in the attrib1 element, but I'm not able to make fields read only at the level of the line... Please help me if someone has work around this

    Is this possible?

    Thank you

    Dilip

    Hello..

    It is possible. Made myself.

    You must use SPEL for this.

    Steps to follow:

    1. the Caisse one type of transitional say as Boolean column ReadOnly

    2 set the Readonly property for that column as ReadOnly

    (Syntax FRO SPEL-> {oa. VO. ReadOnly})

    3 al ' PPR after checking the status, the ReadOnly Anaïs value accordingly.

    .

    You can get the idea here.

    https://blogs.Oracle.com/manojmadhusoodanan/entry/hiding_an_item_conditionally_through

  • How to apply the color to the line in a tabular presentation

    Hello

    My requirement is to apply the color to the line in a tabular presentation according to the conditions of the column value.


    Thank you

    1243 Tulasi wrote:
    I created a form of demo using the emp table

    but now it throw an error like "error report:"
    ORA-06550: line 1, column 29:
    PLS-00201: identifier 'CLERKS' must be declared.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    http://Apex.Oracle.com/pls/Apex/f?p=16091:1:12227641756607:

    Workspace: tipper
    username: guest
    password: demo

    Please help me on this very urgent issue.

    Thank you.

    Check it now, only it was you must reference column names using bind variables syntax not #XXX #.

    Refer to the help when you click on * model column 1 Expression * in your report model.

    also, I noticed that you lose the background color when you mouseover it. To do this, you may need to remove the #HIGHLIGHT_ROW # of your model.

    See you soon,.
    Vikram

  • Get the selected value of a select list item in a tabular presentation.

    Hi, I have a tabular form and I'm trying to get the selected value of a select list item and store the selected value in a page element hidden elsewhere on the form of tables, so I can use this value.

    I already have something similar to the input on the tabular presentation elements.

    Get the initial values
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $(' input [nom = "f12"]', ligne) [0];

    numberOfItems = 123456.123

    What I want to do is soemthing similar as above but capture the value of a select element in tabular form. I thought I could do something like:

    Get the selected value
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $('selected [name = "f08"] .val ()', line) [0];

    But this method leaves the as undefined var numberOfItems.

    Please help me to find a way to identify the item 'select' in the tabular form called "f08" and get this value.

    I am a newbie to jQuery selectors etc...

    Thank you.

    Strange that you do not get an error when you run your 2nd selector.
    In any case for this kind of thing, see the HTML code of your tabular form and tell us what triggers, the element can be useful. Or better create an example at apex.oracle.com.
    In any case, I see two errors:
    (1) is there any html element "not selected" instead, the LOV in the APEX element has the select tag
    (2) you can not write a. val() inside a selector that you must place it after your selection.

    So I'd like to rewrite your code to:
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems = $("select_[nom_="f08"]",_row).val () var [0];

Maybe you are looking for

  • Firefox ask you useless master password every time you start

    When he started, Firefox asks unnecessarily my master password every time. My homepage (Google Finance) does not require a password. This occurs in SafeMode as well. It's annoying and time consuming. I X-out the main 10 seconds password request windo

  • Enable Firefox Olympic flame

    Hello:I know that many people have problems with this doodle, but in my case having ' subject: House "as home page, I can't see the animation. How can I activate it?

  • How to change the language of Vista?

    Hello I just got my laptop back from repairs (there was of it replaced hard drive) and it had started in German! The laptop went to the office of Toshiba in Germany and came back with Vista installed:(en allemand) Could pleace someone explain how to

  • How can I find the free codecs for media player on my XP?

    Hello How can I find the codecs free dvd for windows media player on my xp pro computer? When I search for them I am offered Movie Player $ 40! I can't afford to upgrade to 7. Thanks for any help Bobby

  • ChoiceGroup.set (i, "new lbl", null) raise nullPointerException

    ChoiceGroup.set (i, "new lbl", null) raise nullPointerException This should not be: http://Java.Sun.com/JavaME/reference/APIs/jsr118/javax/microedition/lcdui/ChoiceGroup.html#set (int, %... work around: private static val mutable int [] imgWHITE_RGB