Add row in tabular form fails, "gErrItems is undefined"

I'm struggling to get Apex working on my new laptop.
Apex 4.1.1, Oracle 10.2.0.5, Windows 7 64 bit.
I click 'Add row' on the detail region (the tabular form) on my Master - Detail page.
The row appears, but after clicking 'Apply changes' it's gone again.
Using Firebug, I see that the javascript causes an "gErrItems is undefined" error, something coming from apex_4_1.min.js
The same application works fine on apex.oracle.com, so it's the installation on my laptop.

It seems to be a problem with apex_listener under Glassfish.
I'll post in the proper forum again.

Similar Messages

  • ADD ROW in tabular form with new max value for a certain field

    All,
    I have a tabular form with an 'ADD ROW'-button.
    When a row is added the field 'TemplateID' should get
    automatically a new value which is MAX from TEMPLATEID + 1.
    I would be very glad, if someone has a hint for me.
    Thanks in advance,
    lucio

    Hi
    the cause of not seeing the 'Default Item Field' is,
    that during creation of a 'Tabular Form' the column with the
    primary key doesn't get that feature, why so ever.
    I still hope that someone could give me a hint why that code isn't working:
    function SetNewID(vDBID)
    v_check = $v('P20_MAX_TEMPLATEID');
    pNd = $u_Carray(vDBID);
         for(var i=0;i<pNd.length;i++){
              var node = $x(pNd);
              node = $x_Check_For_Compound(pNd[i])
              var lTr = $x_UpTill(node,'TR');
    updateRow = lTr.rowIndex - 1;
    document.wwv_flow.f02[updateRow].value=$v(v_check)
    Many thanks in advance
    lucio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Add Rows in Tabular Forms

    Hi,
    I have created a tabular form using wizard.I am inserting into the table using a procedure which is being called at Page process.This procedure I am call
    My problem is that when I click Add Row to create an empty row(we type in data to be saved in this empty row) on the form,my procedure to save the records into the table is being called which I do not want.I want the procedure to be called only when we click the Add Row to save.
    This problem exists when I try to add row on entering the page from anther page.
    If i click add row continuously without moving out from the page,it works without any problem.
    please suggest a work around.
    thanks and regards,
    k.tanna

    Hi,
    Kindly go to the url
    http://apex.oracle.com/pls/otn
    Workspace:kdoyen
    user:demo/demo
    Application:60347 - test
    You can login into the application using demo/kdoyen
    Go to the tab 'Orders',clicking on an existing order,it will take to the page view/modify orders.
    Go to sql commands and run the query select * from DEMO_ORDER_ITEM_DETAILS;check the records...
    Click on Add Item to Order.
    Go to sql commands and run the query select * from DEMO_ORDER_ITEM_DETAILS;
    you will see a row has been added to the table even without entering any data on your empty row.
    Now enter data in your empty row,and click add item to order,the row will be added in your table which works fine.
    my problem is when we click Add item to Order to create an empty row,my procedure is called.
    I hope you have understood.
    Please let me know if you have any queries.

  • Add row to tabular form pagination problem when sorted

    Hi,
    I have a problem with a tabular form that has various sortable columns. If the user tries to add a row when the sort order is set to something where possibly the nulls are appearing first in the list, then the user cannot enter any data (since the last page of results is always shown after clicking the add row button).
    I know the empty record is in the list somewhere since the pagination page count is increased by 1, but there is no way for the user to enter data into that record since traversing back pages then removes the empty record. How can I fix this? Is it possible to programatically reset all column sorting?
    Cheers!

    Hi,
    Sort orders in reports are stored as user preferences - these can be removed using PL/SQL. Have a look at: Need to do column SORTING only when I click the column heading and Re: Default sort and pagination placement not working in reports
    Or, you could try adding a blank row in your SQL statement itself: Problems With "Add A Row"
    Andy

  • Add rows to tabular form with apex_item.checkbox?

    Hi,
    I have created a data manipulation process to add a row to a tabular form. The issue is that I have some checkboxes and when I click the button to call the add row process it doesn't
    create any of the checkboxes only the text fields. Is there anyway for me to accomplish creating the checkboxes in this manner?
    Thanks in advance!

    Hi,
    So any existing data on the table must be hidden from view, so that this tabular form is, in effect, for inputs only?
    If so, you can create dummy rows using something like:
    SELECT NULL EMPNO, NULL ENAME, etc
    FROM DUALAs long as the process still refers to the EMP table that should be ok. If you still needed to include data from the EMP in certain circumstances, you could then just do a UNION ALL to the above and provide a WHERE clause:
    SELECT NULL EMPNO, NULL ENAME, etc
    FROM DUAL
    UNION ALL
    SELECT EMPNO, ENAME, etc
    FROM EMP
    WHERE :P1_SHOW = 1You could also delete the rows using javascript but you would lose any entered changes by the users - either of the above would be used during a page load, though, so any entered data would be saved when the page is submitted (unless you conditionally disabled the process)
    Andy

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • Add rows to tabular form does not work

    When two user try to "Add row" simultaneously then nothing happens i.e no new row is added.
    When one of the user clicks on the "Previous" pagination buttons then only its possible to add a new row. The following pagination options is used in the report:
    Row Ranges 1-15 16-30 in select list (with pagination)
    I use internal Application Express account credentials and login page in this application as my authentication scheme.

    Any idea, what is not working here.
    Help!

  • Multiple 'add row to updateable form' buttons on same page

    Hi,
    I have a master-details page with 1 master region and 2 details regions. Both details regions are updateable reports. In each details region, I created a 'Add row' button, with a different name. Then I created 2 'Add rows to tabular form' processes, one for each button.
    The issue is that both buttons add a row to the same details report. How to specify which button adds a row to which report?
    Thanks,
    Guillaume

    Guillaume,
    The built-in tabular form feature only supports one tabular form on each page. You'll have to put the two forms on separate pages. Or use simple reports as the detail reports with edit links to an edit form page.
    Regards,
    Marc

  • Delete rows from Tabular form

    Hi,
    Anyone knows how dynamicly delete rows from Tabular Form (on button click, button is as item)?
    Thanks.

    I am in a great fix. We had a test instance.. and we had a version apex 3.2.. But when the same application has been uploaded to prod.. we used apex 4.0.Why on Earth would you do this? The whole point of the testing is to verify that the application will work in the production environment: the first requirement for this is that the test and production environments are equivalent.
    has any body is facing the same issue as mine..Yes, as is easily discovered by searching the forum...see Delete button doesn't work in tabular form after upgrade from APEX3.2 to 4.

  • How to add a new row in Tabular Form based on a table

    Hi
    I have tabular form based on a table.
    I want the table to have an empty row when there is no data
    in the table so that I can enter data directly.
    But right now whenever the page is launched, its showing a no data found message and I have to press the 'Add Row' button to enter data.
    Can anyone help me out on this?
    Thanks

    Hi Leo
    Your suggestion works fine in the APEX 2.1
    But in 3.0.1 it gives this error :
    Error in add row internal routine: ORA-01476: divisor is equal to zero
    Error Unable to add rows.
    I am not sure why this happens.

  • Dynamic Action on new row in Tabular Form

    Hi Guys,
    APEX version is 4.1
    I created a dynamic action on change of a select list, if changed then disable the related fields on the same row.
    This is working fine for all EXISTING rows on the tabular form.
    However, if I click on ADD ROW button, a new row is added to the page, but the change event on select list is
    not triggerred from the dynamic action.
    Is there any thoughts or workaround on this interesting problem?
    Thanks in advance,
    Frank

    I got it working by adding a onchange event which is triggering js function on the page.

  • How to stop insert of new row in tabular form if it's also being deleted

    Suppose you have a tabular form, and one of the fields is a not-null column. A user checks a button to "add additional row", which adds a new row to the form, defaulting that not-null column to null. Assume it's a name or something, so there is no reasonable non-null default value that can be entered here to keep it from being null.
    Now suppose the user makes a series of changes on the page, but then decides they don't want that row they just added, so they mark it for deletion, then click on "Delete Checked Rows". The not-null column was left blank.
    The page is constructed in such a way that the ApplyMRD process runs first, then the ApplyMRU process. (I do this so that the user doesn't lose all their updates if they want to delete a row. I've had a few people complain when they tried to combine both operations, and unexpectedly lost their updates when they hit delete instead of submit.)
    What happens? The page errors out because the ApplyMRU process is trying to insert a row with a null value in a not-null column. The ApplyMRD process ran fine, but because the row marked for deletion didn't exist in the database to begin with, it effectively did nothing. But ApplyMRU still tries to add the row, even though it was marked for deletion.
    Is there any way to prevent this scenario from happening, without requiring the user to Cancel instead of deleting the blank row, which would cause all other changes on the page to be lost? I'd also like to avoid losing the ApplyMRU process when the user clicks "Delete", since it's more effective to combine operations and this will address the UI complaints I'd received otherwise.
    (This is on ApEx 4.0, if it matters.)
    Thanks,
    Keith

    Thinking about this some more, doing the delete and update together may not be an easy thing to accomplish after all.
    Consider the above scenario, but the user puts a dummy value like "ignore-me" into the not-null text field, so the error doesn't come up with ApplyMRU is fired. But if ApplyMRD runs before ApplyMRU, it still doesn't do anything because there is no row in the database with the value "ignore-me". Then ApplyMRU runs and it adds that row, even though it was marked for deletion.
    So you probably need to always run ApplyMRU before ApplyMRD. But then you wind up inserting a row before you delete it, and that may have unintended side effects, if the user really never wanted to add it in the first place.
    Right now, the only workaround I can think of is to:
    1) put ApplyMRU before ApplyMRD
    2) add a pre-commit validation that checks to see if a row is blank AND checked, and if so, put a dummy value into the not-null field
    3) let that row get added and then deleted, and make sure there are no side effects from this (for example, there is an audit table that tracks updates to the base table -- I can add a trigger that does nothing if presented with this dummy value)
    Hopefully, though, there is an easier and more "built-in" way to achieve what I'm aiming for.

  • How to disable row in tabular form when checkbox checked?

    Hi.... this is what i want to do....
    I created tabular form for offering items... there is a checkbox that is used to select item with lowest price...
    But i have also one column that shows item options ( option is for example... i want offer for 22" monitor Samsung, but seller have only 22" LG monitor.... so in my offering will be shown item (22" monitor Samsung) that i want, and in row below item (22" LG monitor) that seller have... both items will have same order id....
    Next thing i want to do is when i select checkbox with item (22" LG monitor) as lowest price, i want that row with same order id (22" samsung monitor) is disabled.
    Is that possible to do?
    This is my code for creating tabular form:
    SELECT
    CASE WHEN RED_BR_OPCIJE = 0 THEN '-' ELSE TO_CHAR(RED_BR_OPCIJE) END RED_BR_OPCIJE,
    apex_item.hidden(1, ID_STAVKE)||
    apex_item.hidden(2, ID_STAVKE_IZ_ZAHTJEVA)||           ---order_id
    apex_item.hidden(3, ID_PONUDE)||
    apex_item.hidden(4, ODABIR_NAJPOVOLJNIJE_STAVKE)||     
    apex_item.checkbox(5, '#ROWNUM#', null, decode(ODABIR_NAJPOVOLJNIJE_STAVKE, 'X', '#ROWNUM#')) Odabir,    ---checkbox_lowest price
    apex_item.textarea(6, NAZIV_ARTIKLA_TRAZENO, 3, 40, 'readonly="readonly"') NAZIV_ARTIKLA_TRAZENO,
    apex_item.textarea(7, NAZIV_ARTIKLA, 3, 40, 'readonly="readonly"') NAZIV_ARTIKLA,
    apex_item.text(8, SIFRA_ARTIKLA, 8, 20, 'readonly="readonly"') SIFRA_ARTIKLA,
    apex_item.text(9, JMJ, 5, 20, 'readonly="readonly"') JMJ,
    apex_item.text(10, KOLICINA, 6, 20, 'readonly="readonly"') KOLICINA,
    apex_item.text(11, JEDINICNA_CIJENA, 12, 20, 'readonly="readonly"') JEDINICNA_CIJENA,                                      ---price
    apex_item.text(12, IZNOS_STAVKE, 12, 30, 'readonly="readonly"') IZNOS_STAVKE,
    apex_item.text(13, IZNOS_RABATA, 12, 20, 'readonly="readonly"') IZNOS_RABATA,
    apex_item.text(14, JEDINICNA_CIJENA_NAKON_POPUSTA, 12, 20, 'readonly="readonly"') JEDINICNA_CIJENA_NAKON_POPUSTA,
    apex_item.text(15, IZNOS_STAVKE_NAKON_POPUSTA, 12, 20, 'readonly="readonly"') IZNOS_STAVKE_NAKON_POPUSTA
    from PONUDE_STAVKE
    where ID_PONUDE = :P34_ID_PON
    ORDER BY ID_PONUDE ASC, ID_STAVKE_IZ_ZAHTJEVA ASC, RED_BR_OPCIJE ASC
    And this is example table with a few column names:
    order_id      option_number               item_name                      price         checkbox_lowest price
    1086                    -                Samsung 22" monitor              100$                 null                ---this row should be disabled because next row is selected as lowest price
    1086                    1                LG 22" Monitor                    90$                 X                   --- both rows have same order_id
    1050                    -                Router                            100$                X

    Hi snake2903,
    {thread:id=998140}
    {thread:id=1554583}
    {thread:id=2249233}
    Hope it helps!
    Regards,
    Kiran

  • Password Masking & Background Color for Multiple Rows in Tabular Form

    Hi all,
    I have a requirement of making a column in Tabular form, having multiple rows, masked(password field). I also want to give bg color to this field indicating that its a mandatory field.
    I am unable to accomplish both at a time in my page. I am using Apex 3.2.
    Waiting for your valuable comments. Thanks,
    Regards,
    Sandeep

    APEX_ITEM API doesnot have a password function, but input fields of type password are available in HTML.
    So you would have to change the field type to password in JS
    That is from :
    <input type="text" ...change it to
    <input type="password" ...If you were using jQuery it would have been simpler, but to do it in native JS it is a bit more hard work.
    Anyway here goes (a quick check in a tabular form seens to work fine)
    var password_array=document.getElementsByName("f04");
    for(var i=0;i<password_array.length;i++)
       password_array.type = 'password';
    password_array[i].style.backgroundColor = 'RED';
    +Replace the "f04" with your password field's array name(use firebug to identify the field name)+
    Does that solve your problem ?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Dynamic no of rows in tabular form

    Dear oracle forms experts,
    hope you all will be doing fine.
    Is it possable to that a tabular form take dynamic no of rows at run time, i mean if we i query mode if data contains 20 rows then it should expand to 20 rows and if it is only 5 rown then it should expand to 5 rown. and if i do not want to use side bar as well.
    Regards
    Abbas

    OK and thanks you too.
    now if i take it in this way that i have defied a tabular form for let say 20 rows and now in query mode if there are only 5 records then my form shuold show only first 5 rows that have data and rest 15 should get hidden..
    so now can it be possable in forms Developer 10g.
    Kind Regards
    Abbas

Maybe you are looking for

  • Sqlldr - can you skip last row from a data file

    Hi I need to skip last line from the data file when I load the data into the tables. Is that possible to do using sqlldr, if yes How? Also, the first row in the data file, which has a single column needs to be loaded into all the rows of the table. H

  • Connecting Ipod once synced with a PC to my Mac and not losing my songs!?

    I want to connect my Ipod (which I put all of the songs on from an Itunes on a PC) to my Mac but I am afraid that as soon as I hook it up, my current Itunes (on my new Mac) will delete all the songs! I need to know: a) how to get all my Ipod songs on

  • After Archive and Install, my Home folder is not quite right....

    I did an A&I last week and am slowly getting it back to the way it was (minus the problems) but am wondering if my Home Folder has all it should- it seems like it should have more in it so I am just double checking. In my Home Folder I have these ite

  • Install Solaris 8, Intel platform

    I have the two installation CD:s OK. Installation starts OK. I can chose "Solaris interactive", but here comes the problems: a lot of (all?) undefined symbols like: /kernel/drv/ipsecesp: undefined symbol:' xxx' and the boot process stops with "tmpfs

  • Dataguard (10.2.0.5) - physical standby (async, real time apply)

    Hi Guys, Just wondering. For eg, I have a Production Database and a physical standby DB. Only the physical standby DB has flash back on. For eg, one day if there's a need for me to restore the production DB from tape (point in time recovery, so need