Tabular presentation displays lines not (although it should be)

HI -.

I have a page that contains a tabular presentation, which I call in an iframe. Frame recharge parent the tabular presentation when an item on a jquery tree is selected (settings for the new page).

I open a page of the child who doesn't have any line in, choose 'Add new lines', then back to the parent page and select another node in the tree. Loading of the page of the child, but no data is displayed in my tabular form - even if there is data. I get a header and the line of paging only. If I click on the button "next" pagination, refreshes the page of the child and the data is displayed as I hope.

I think that paging is being upset in some sort of page being refreshed by the parent to halfway between the creation of a new line and saving it.

How can I say specifically the page re - load with regular pagination values? Or I'm doing something too hard?

Thanks in advance - I would be recognizing all of the ideas, we're really stuck!

Rochelle,

Looks like you need to reset pagination when you click on the tree to recharge your tabular presentation, you can do this by putting "RP" in the URL that you call, here the section in the doc that explains the syntax of the URL:

http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/concept.htm#BEIJCIAG

Then look at this description of URL:

f? p = App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

... you need to get PR in the position where it says ClearCache, for example (assuming that your tabular form is on page 10):

f? p = & APP_ID: 10: & SESSION. : RP

I just want to mention that when you use 4 APEX, you can actually refresh regions in a table through dynamic actions, without iFrames.

Kind regards
Marc

Tags: Database

Similar Questions

  • What should I do for default values when a new line is created in a tabular presentation?

    Hello all-

    I have a tabular presentation that requires a few columns to be entered by the user when he or she creates a new line, but other fields in the column can just default to certain values.  How to set these values by default so that the user doesn't have to be bothered with enter no data except those which MUST be entered?

    An example:

    Form1

    CITY OF COUNTRIES IN THE REGION

    APAC JAPAN TOKYO

    SIDNEY AUSTRALIA, APAC

    APAC KOREA-SEOUL

    REGION is almost always APAC, then I want that by default.  The user can always adjust if necessary, but I want to put it to the user, only to save having to enter a value.  When the user clicks on the button to add a line, that I want to load this value immediately and leave the two empty fields so the user can enter what they want.

    Thank you!

    John

    Hello

    Go change this column.

    Under attributes of tabular form, you will find options to set the default value

    Kind regards
    Jari

  • tabular: Add the line: line does not get inserted

    Hi all

    I have a tabular presentation based on a products table, quantity, unit_price and product_id columns

    in the form of Tha also has a calculated field price (unit_price * amount) and a total on the price column

    When the user changes unit_price or quantity, the price is calculated together total whith, this is done using javascript

    I want to accomplish is add when you click line, and then the total row of the report should remain the last row

    I managed to do it, but when I add a line and then fill in the same row is ignored by apex, 0 rows inserted

    This is because when you change a field in the hidden input field fcud_xxxx does not change to would be "to 'C'

    How can I fix this, I have to write a change event for each column?

    any other ideas?

    I put the code on apex.oracle.com

    workspace: martijnke

    login/password: demo/demo

    application: 78396: apex advance

    Start the application and click orders, and then click on any order to go to the edit page 4 control elements

    Click Add line and see what happens

    the javascript code is on page 4, the function is called switch_last_row()

    I found this in widget.tabular.js:

       // Register change handler on new row form fields, change "fcud_*" hidden element to C if a change occurs
            lNewRowIndex = tabular.pad( ( tabular.gNumRows + tabular.gNewRows ), 4 );
            $( ":input[id^=f][id$=_" + lNewRowIndex + "]", apex.gPageContext$ ).change( function() {
                $( "#fcud_" + lNewRowIndex, apex.gPageContext$).val( "C" );
            });
    

    Why change this event not working for my vacuum dial-up?

    DB: 11 GR 2

    Apex 5.0.2

    KR

    Martin

    Martijnke wrote:

    I have a tabular presentation based on a products table, quantity, unit_price and product_id columns

    in the form of Tha also has a calculated field price (unit_price * amount) and a total on the price column

    When the user changes unit_price or quantity, the price is calculated together total whith, this is done using javascript

    I want to accomplish is add when you click line, and then the total row of the report should remain the last row

    I managed to do it, but when I add a line and then fill in the same row is ignored by apex, 0 rows inserted

    This is because when you change a field in the hidden input field fcud_xxxx does not change to would be "to 'C'

    How can I fix this, I have to write a change event for each column?

    any other ideas?

    I put the code on apex.oracle.com

    workspace: martijnke

    login/password: demo/demo

    application: 78396: apex advance

    Thanks for the creation of the example. Makes it so much easier to understand the problem and to work there.

    Start the application and click orders, and then click on any order to go to the edit page 4 control elements

    Click Add line and see what happens

    the javascript code is on page 4, the function is called switch_last_row()

    I found this in widget.tabular.js:

    1. Sign change on the form fields Manager new line, change "fcud_ *" element hidden C if a change occurs
    2. lNewRowIndex = tabular.pad ((tabular.gNumRows + tabular.gNewRows), 4);
    3. $(«: entrée [id ^ = f] [id$ = _ » + lNewRowIndex + «]», apex.gPageContext$) .change (function() {}
    4. $(«_#fcud__»_+_lNewRowIndex,_apex.gPageContext$).val ('C');
    5. });

    Why change this event not working for my vacuum dial-up?

    It does not work because the use of the method. html() in this function replaces the DOM elements these managers events are related to the:

    function switch_last_row(){
          var l_total =  $('td[headers="CHECK$01"] b').parent().parent().html();
      var l_last = $('td[headers="CHECK$01"]');
      var count = l_last.length;
      //$('td[headers="CHECK$01"] b').parent().parent().html(l_last[count - 1].innerHTML);
      var v_html = $(l_last[$('td[headers="CHECK$01"]').length - 1]).parent().html();
          //alert(l_total);
          //alert(v_html);
          $(l_last[count - 1]).parent().html(l_total);
          $(l_last[count - 2]).parent().html(v_html);
    }
    

    Event managers are left intact by using an approach much more simple that moves the total line node below the newly added in the DOM instead of exchanging their content:

    function switch_last_row() {
      var totalRow = $('td[headers="CHECK$01"] b').closest('tr');
      totalRow.next().after(totalRow);
    }
    

    I created a demonstration of this in page 4 a new application in your workspace. However, this leads to a number of other problems. As I'm not sure of the magnitude that these additional questions were present or planned in the original, I left things to this page 4 and started from scratch on pages 586 and 587. In general, the JS code in the example seems to be too procedural. It does not entirely the ability to work at a higher level of abstraction using jQuery (' write less do more ") and the DOM objects. Doing this, in conjunction with dynamic actions APEX gives more compact code, better separation of concerns and an application that is much easier to debug and maintain. Compare the use of the CSS level page and unique dynamic action to bind several columns of report versus change events manually adding/changing the attributes of style event and online at the column level.

  • 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.

  • 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

  • Tabular presentation - defining a line just to the first of the default value.

    Hi all

    How to set a default tabular form only in the first row?
    When I click on "add row" I want the new line have an empty value.

    Thanks in advance.

    Hello

    When you add a new line to the shape of the table, all existing lines must be recorded in the database. You can, therefore, to verify the existence of these files and set the value of a page hidden as a result element. The default value for an item of tabular presentation can then rest on this hidden item.

    This is possible by setting the Source used for "Always,...» "on the hidden item called, say, P1_DEPTNO_DEFAULT, and the Source to something like:

    DECLARE
     X NUMBER;
    BEGIN
     SELECT COUNT(*) INTO X FROM EMP WHERE DEPTNO = :P1_DEPTNO;
     IF X > 0 THEN
      RETURN '';
     ELSE
      RETURN :P1_DEPTNO;
     END IF;
    END;
    

    It is a Type of Source of "body of the PL/SQL function.

    In this example, we will check if there are all the records with a DEPTNO value that matches the P1_DEPTNO EMP. If there is, then the tabular presentation must contain at least one line already, so we return an empty string. If there is no record, the tabular presentation should be empty, so return us the value of P1_DEPTNO.

    The default settings on the DEPTNO column in tabular form would then be:

    Default type: (name of the application or page element) Element
    Default: P1_DEPTNO_DEFAULT

    Andy

  • having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in

    having display problems with my macbook air, first version of 2015. When I turn on my macbook, after boarding the password, then press on enter three lines (not really they look more like flashes coming from the top of the screen appear) in the colors Blue, green and red.

    also when I turn off my laptop just until the display on the top of the screen that is 2 and a half inch thick green line appears and goes about a second.

    help someone?

    Thank you

    Howdy Yaser of zoysia,

    It seems that your screen displays some graphical anomalies when you connect to your user name. I would use these troubleshooting steps in the following article on the resolution of screens:

    Restart your Mac in safe mode to reset the default display resolution.

    If booting safe mode doesn't resolve the problem, reset your Mac NVRAM and SMC to reset the video ports on your Mac to their default values.

    From: get help with graphics issues on external displays connected to your Mac.

    Thank you for using communities of Apple Support.

  • My windows cannot display the volume on the taskbar control, I think that volume control program is not installed, what should I do?

    My windows cannot display the volume on the taskbar control, I think that volume control program is not installed, what should I do?

    Have you tried the following tutorial?
    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    The tutorial is for Vista, what operating system are you using?

    t-4-2

  • 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

  • Transformation of collapse on my Precomp reveals a trackmatted layer, although it should not

    Hello

    I use adobe after effects CC 12.0 on a windows machine.

    I checked and I have this problem too on after effects cs6 11.0 (different machine)

    This problem does not occur on legacy CC 12.2

    My problem is that I have a composition with a precomp that contains a layer to help

    a solid matte with a mask that is revealed from the top down.

    When I move the precomp forwards in time in my main composition and press the collapse Transformations

    for the precomp, the layer which is supposed to be hidden first and then revealed from top to bottom

    turns out although it should not immediately, as if I'm looking forward in time in my precomp.

    This only happens when I use a matte instead of hide the layer itself.

    and if I take the Precomp and move it to the beginning of my composition

    It works very well even when collapsed. but only after I have served all the memory.

    If I move if forward in time again it works very well but if I uncollapse and collapse again

    and clean the cache - it causes the same problem.

    My question is:

    is this a bug? or am I missing something here?

    given that it is difficult to explain

    IM attaching a project file with a similar situation to clarify

    http://F1.CreativeCOW.NET/6948/6948

    and also fixing 5 jpegs to illustrate the problem.

    001.jpg002.jpg003.jpg004.jpg

    005.jpg

    This is expected and has been so for as long as I can think. Only AE 12.2 changed the behavior of the mattes in comps collapsed. You will have simply to structure your comps differently and add a level of nesting (without CR) of those things of mats...

    Mylenium

  • Incorrect display of lines not put across the 9-slice symbols inside the Flash IDE of CC

    Hello everyone.

    I found a problem with the Flash IDE of CC. It shows lines not put across the 9-slice symbols incorrectly inside his IDE (However the final result published is correct). The source and example files can be downloaded here: http://cdn.dmldevelopment.com/plugins/tests/incorrect_work_with_scaling_in_Flash_CC.zip you can compare 2 screenshots in the archive: look_inside_Flash_CC_IDE. JPG and look_inside_Flash_CS4_IDE. JPG and you will easily understand that wrong.

    Will be waiting for the resolution from Adobe on this point. Hopefully they'll fix it soon as this question always takes the extra of our developers time when we try to make perfect pixel patterns.

    Hi Infeter,

    There is another solution to workaround if you do not use thin strokes.

    Change your original symbol - select the shape - Goto Menu - change form - convert lines to fills.

    After that make sure you adjust the width and height of the PI you like and you're good to go!

    And on your old applications, you should be able to follow the same link and please try to provide as much detail as possible while making your requests.

    Kind regards

    Mabrouk

  • Tabular presentation, problem adding a line

    I created a tabular presentation shows 4 fields apart from a hidden ID and the PK, when I press 'Add Row' and enter new details and then submit, the record gets in the base, but the screen refreshes with a new empty row, how do I avoid this, what is the cause?

    Thank you

    Hello

    Change the page, check that the Page process of "Add a LINE" is conditional that only fires when add a LINE button is clicked.

    Kind regards
    Shijesh

  • 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);
    
     });
    
  • 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.

Maybe you are looking for