Refresh APEX_ITEM.TEXT Value when Interactive Report Page Changes

I use an APEX_ITEM.TEXT column in an IR where the user can enter some number date.
to make this data persistent while paginating the ir, i use some DA . Via ajaxthis DA call an onDemandProcess to save the entered data in a collection.
works great; the input is stored in the collection.
To show the already entered data, the ir sql statement joins the collection.
select  APEX_ITEM.hidden(2,artikelnr)||
        APEX_ITEM.TEXT(1
          ,COL_artikel.preis
          ,3
          ,3
          ,'autocomplete="off" onfocus="javascript:f_set_last_val(this);" onchange="javascript:f_validate_integer(this);"'
          ,'INPUTBESTELLEN'
         ) Inputbestellen,
article.*
from article
left outer join COL_artikel on COL_artikel.nummer = artikelnr where col_artikel is a view for better access on the collection
Now the issue:
On the first Page i add some data, then i go head to page 2 and 3 of the ir. The collection is filled withe the entered data.
But when i navigate back to page 1 the entered data is not shown in the input field unless i relload the whole page . I guess because the query is not re-executed when paginating foreward/backward.
ist there any way to overcome this tiny small issue?
regards
peter

It looks like you are trying to combine apex_item function with a standard tabular form and as far as I know this won't work. You will need to create a manual tabular form in that case. See this and other examples as a refference:
http://htmldb.oracle.com/pls/otn/f?p=31517:170
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------

Similar Messages

  • Is it possible to have editable text field in interactive report?

    Is it possible to have editable text field in interactive report?
    Thanks,
    Dip

    Hi,
    I followed your suggestion and defined an IR with apex_item.text columns and it works fine. Now however I face a new problem when I run the page and use the standard Search Bar:
    - Click on Actions/Filter
    - Select a column, for example the employee name.
    - Open the Expression field LOV: I correctly see the different names.
    - When I select one of the names, in the Expression field, instead of the name, I see:
    "<input type="text" name="f03" size="20" maxlength="2000" value="Eugene" />"
    Horrible!!!!!!
    Is there a way to see the name and not that expression? The same thing get downloaded, so it´s really annoying.
    Thank you very much in advance for your help!!!
    Regards
    Francesco

  • Set Form Values From Interactive Report Row

    Using Apex 4.2.
    I have two tables: T1 and T2
    Table T1 contains five columns: CT11, CT12, CT13, CT14, CT15
    Table T2 contains 4 columns: CT21, CT22, CT23, CT24
    I have a page with two regions. Region 1 is a Form on a Table using table T1. Region 2 is an Interactive Report ( IR ) on table T2.
    The SQL for region 2 is:   select apex_item.RADIOGROUP(p_idx => 1, p_value => CT21) "Choose", CT22, CT23, CT24 from T2;
    When the user clicks a radio button for a row in the Interactive Report, I would like the values in the IR cells CT22, CT23, CT24 to populate the CT13, CT14, CT15 fields in the table form in region 1. If a user clicks another row radio button, the values should update.
    Any help is greatly appreciated.  Thanks!

    Hi,
    As per my understanding ur requirement is as below.
    When the user clicks the 'Link Column' it should redirect to another page with the value of id, Day, Start Time, and End Time.
    Hope all the cloumns are from the same table.
    As Denes said, it is enought to pass the ID value to the link column as of below.
    ie., u can modify ur query as of below.
    SELECT Last Name,First Name,Day,Start Time,End Time, ID as "Link Column"
    FROM t.
    Now u can pass the value  as #Link Column# which will pass the ID value to the next page.
    Hope my understanding is correct.

  • Pass Values from Interactive Report

    Hello,
    I am sure this is an easy question, but I haven't been able to find the solution myself.
    I have an interactive report that has 6 columns, which are:
    Last Name
    First Name
    Day
    Start Time
    End Time
    Link Column
    I need to assign an ID which is not shown in the report, the Day, Start Time, and End Time to variables P5_IDX, P5_DAY, P5_START, and P5_END to be used
    as Display only items on another page.  I can only pass 3 values using the column link in the IR.
    Is there another way to pass more than 3 values from an interactive report?  Sorry if this has been asked and answered previously.  I searched the forums and didn't find an answer, but maybe a searched with the wrong keywords.
    Thanks for any and all assistance,
    Bob

    Hi,
    As per my understanding ur requirement is as below.
    When the user clicks the 'Link Column' it should redirect to another page with the value of id, Day, Start Time, and End Time.
    Hope all the cloumns are from the same table.
    As Denes said, it is enought to pass the ID value to the link column as of below.
    ie., u can modify ur query as of below.
    SELECT Last Name,First Name,Day,Start Time,End Time, ID as "Link Column"
    FROM t.
    Now u can pass the value  as #Link Column# which will pass the ID value to the next page.
    Hope my understanding is correct.

  • Text Wraps on Interactive Report

    I created an APEX 4.1.1.00.23 application with some interactive reports. On the interactive reports I had a problem with text wrapping around so a string like this:
    505 EAST 144TH STEEET
    Would display as:
    505 EAST
    144TH
    STREET
    I corrected the problem with the following java script in the Execute When Page Loads page attribute:
    $('td[headers="ADDRESS"]').attr("style","white-space:nowrap");
    The user requested that the report break on two columns. I opened Actions>Format>Control Break, selected the columns, and saved the report. Now the java to format the address column does not seem to take effect. Before I applied the breaks the text would sometimes wrap and I could correct it by pressing the F5 key but this does not work anymore. How do I get the java script to take effect or otherwise correct the text wrapping problem?

    Comet wrote:
    I created an APEX 4.1.1.00.23 application with some interactive reports. On the interactive reports I had a problem with text wrapping around so a string like this:
    505 EAST 144TH STEEET
    Would display as:
    505 EAST
    144TH
    STREET
    I corrected the problem with the following java script in the Execute When Page Loads page attribute:
    $('td[headers="ADDRESS"]').attr("style","white-space:nowrap");
    The user requested that the report break on two columns. I opened Actions>Format>Control Break, selected the columns, and saved the report. Now the java to format the address column does not seem to take effect. Before I applied the breaks the text would sometimes wrap and I could correct it by pressing the F5 key but this does not work anymore. How do I get the java script to take effect or otherwise correct the text wrapping problem?See +{message:id=9208685}+
    With the control break the IR generates different mark-up, so you need to add another selector to the rules so there's a match on the column cells in both the standard and break report views.

  • Incomplete List of Values in Interactive Report Column Headers

    Oracle Database 11g 64-bit
    Apex 3.1.1.00.09
    I created an interactive report that results in over 10,000 records, and several of the columns have incomplete filter values when you click on the column header. It's not even close in some instances. It's not even showing the values that are loaded in the visible page.
    I have tried recreating the report on a new page, as well as creating a database view with the query and then just querying the view (in case there was a problem with query complexity).
    I'm at my wits end as to why this is happening. Have any of you seen this happen, and is there any way to get around it? I know I can write my own LOV query for the column headers, but those won't be dynamic like they are supposed to be out of the box taking applied filters into account.
    Thanks in advance.

    Tim,
    Did you find a solution to this. I have the same problem.
    Cheers
    Yog

  • Can't see interactive report page pagination icon

    Version 3.2.0.00.27
    When my interactive report first appears, it displays "1-15" in the pagination region. It does not show an icon to let me display the next 15 rows.
    However, if I modify the report (as a user), and save that version (as "temp") so that I now have the "Working Report" and "temp" tabs, the pagination now includes the next page icon (i.e. 1-15 ->)
    What do I need to do to have the next-page icon appear in my default report?
    Thanks,
    -Ken

    Hi Sharmila,
    About privilege it4s ok, I have full control, all the permissions.
    When I do "Refresh Portlet Repository" it gives me this ....
    Portlet Repository Refresh Status
    Started By: RENATO
    Started On: August 27, 2002 09:38:17
    Completed On: August 27, 2002 09:38:36
    Refresh Status: Complete
    Refresh Result: Succeeded
    View Details:
    Error: Unable to perform query (WWV-10202)
    ORA-01722: invalid number (WWV-11230)
    No row returned.
    Could be this error the problem ?
    If yes, do you have any ideia about how to deal with it ?
    Thanks !
    Best Regards,
    Renato

  • Search bar  value from Interactive Report

    Could someone help me to acces the value entered in the search bar and pass it to another page?
    Basically our apex interactive reports has a link which allows to edit single records. However customer is looking to edit multiple records at the same time and I am thinking if I can pass the search bar value to an tabular form, then it will allow to update multiple records
    Thanks
    Rajesh Alex

    Hi Rajesh,
    There are a set of views that seem to contain the data for the IR:
    APEX_APPLICATION_PAGE_IR
    APEX_APPLICATION_PAGE_IR_CAT
    APEX_APPLICATION_PAGE_IR_CGRPS
    APEX_APPLICATION_PAGE_IR_COL
    APEX_APPLICATION_PAGE_IR_COND
    APEX_APPLICATION_PAGE_IR_RPT
    You could have a look through these to see if any help.
    Andy

  • How apex generate LOV values for Interactive report

    Scott,
    For interactive report, does APEX full table/index scan to generate the LOV drop down list every time user click the column header? If I set max row count to 100, does LOV values only derived from the first 100 rows that apex hits?
    If I enter SQL query in "list of value definition", will that sql get executed every time users click the column header or the result is cached?
    For standard and interactive report, does APEX parse (soft/hard) the sql statement again when user do pagination?

    Hi N.Raj,
    {thread:id=2245456}
    Yes you have to Configure BI Publisher or other.
    {thread:id=2242147}
    Hope it helps!
    Regards,
    Kiran

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

  • Notified when the active page changes

    Hello,
    We have a panel that displays the content of script lables. A script label can be added to a page.
    How do we determine the current page? The page might be selected from the from the pages panel and might not have any items on the page. Our ActiveSelectionObserver is not being called when the visible page is being changed.
    Thanks.
    P.

    Well, I'll answer it...
    There is no way to do it with ExtendScript and InDesign alone.
    You can do it (and I do in one app I've written) with APID from Rorohiko. In fact, I use APID as my primary event engine.
    Events I routinely use from APID:
    subjectCreated - when a frame or something has been created.
    subjectDelete - same, but
    subjectModifed - when an object has been modified
    subjectModifed-text - when a text object is reflown
    docSelected
    docDeselected
    selected - a page item is selected
    deselected - a page item is deselected
    Regards
    Bob

  • Text deleting when I try to change color or actual font

    I will try to explain. So say I have a photo (or blank canvas) and I have typed words on it. If later I go and double click the word (or layer, etc) so that I can change the color of the word(s) &/or change the actual font, it will just automatically delete the whole word(s) on that layer.... which means I have to go change the color &/or font again BEFORE typing anything, and then re-type it all. So I guess in other words... I guess the text is deleting when I try to change the color or actual font (after it's already typed). Sorry if that's confusing.
    (I have a Mac, and I am using the Photoshop that comes with the Creative Cloud subscription).

    Something is wrong here, the text should not delete when changing font, color or whatever.
    But try this. First off you don't need to double click to change the text atributes.
    Just make sure you are on the correct text layer, have commited the text but keep the text tool the active tool. Now in the options bar you can change any or all attributes (color, size, font etc). The text updates real time.
    You only need to select word(s) if you want that word to be in another color/font/whatever than the other words of that same text layer.
    If you want to change the attributes of more than one text layer in one go then you must select those layers before changing attributes in the options bar.

  • How to convert text values acceses from jsp page into an xml file?

    /* this is the jsp page which i want to convert it into an xml file
    please help me , i thank in advance*/
    <html>
    <head>
    <title> xml test</title>
    </head>
    <body>
    <form action="testxml2.jsp" method = post>
    <ul>
    <li>
    <ul>NAME:
    <br>
    <li>First Name:<INPUT NAME="firstName" TYPE=text SIZE=20><br>
    <li>Middle Name:<INPUT NAME="middlename" TYPE=text SIZE=20><br>
    <li>Last Name:<INPUT NAME="lastname" TYPE=text SIZE=20><br>
    <li>t Name:<INPUT NAME="tname" TYPE=text SIZE=20><br>
    </ul>
    <br>
    <ul>Role:</b><p><input type="radio" name="role" value="buyer">Buyer<p>
              <input type="radio" name="role" value="seller">Seller<p>
              <input type="radio" name="role" value="thirdparty">Third Party<p>
    </ul>
    <ul>
    Qualification:<br>
    <li>Highest Degree:<INPUT NAME="degree" TYPE=text SIZE=20><br>
    <li>Percentage: <INPUT NAME="percentage" TYPE=text SIZE=20><br>
    </ul>
    <ul> Adress:
    <li> streetName:<INPUT NAME="street" TYPE=text SIZE=20><br>
    <li>cityName:<INPUT NAME="city" TYPE=text SIZE=20><br>
    <li>StateName:<INPUT NAME="state" TYPE=text SIZE=20><br>
    </ul>
    </ul>
    <b>
    <INPUT TYPE=SUBMIT VALUE="ENTER" >
    </body>
    </html>

    hi there,
    In the MCV there is a part about struts, this is a descent way to do this.
    how to do it:
    create an actionform containing all the properties of the page.
    then when you submit your form use an method in the actionforms (that you have written) that makes sets your data in a xml file.
    this works very quickely and i use it in production...
    you can choose if you want the xml to generaded hard coded or via a parser.
    greetings

  • Processing Values When Rendering A Page

    Hi,
    I have an application that loads a page and retrieves a single row from a table. If one specific column is not null, I have a PL/SQL function call that retrieves related information (via database link) for display. This does not seem to be working when I first render the page; subsequent views of the same page (after applying changes, for example) will show the information properly.
    Any suggestions how to make the related data retrieved from the PL/SQL call display on the first rendering of the page?
    TIA,
    Earl

    Scott,
    I can communicate the techical problem if I knew precisely what you needed. I just can't send you all the code, which is what you asked for. Anyway, I've embedded comments/responses to your assumptions below, which hopefully clarify the issue so I can get a solution to the problem.
    > Let me expand on why troubleshooting your problem
    without this information is a waste of time: 1) You
    said "if a column in a fetched row is NOT NULL,...".
    I can assume that you are using an Automated Row
    Fetch process and that you have page items with
    Source Type Database Column. But I should not have to
    assume that, you should volunteer all such
    information.
    Yes, I have a single column in a fetched row, gathered using the Automated Row Fetch process. The ARF fetch is based on the table column COW_ID, which is the primary key for the table. The page item P23_COW_ID has source type of Database Column and maps to this specific column in the table.
    The page item is called P23_CQAI_NUMBER, with a source type of Database Column. Default type is STATIC_TEXT_WITH_SUBSTITUTIONS, ACCEPT_PROCESSING = REPLACE_EXISTING, and USE_CACHE_BEFORE_DEFAULT = NO. There are no tranlations or post-processing on the field. The ARF happens at sequence #1, before the page is rendered.
    2) You said "...call a PL/SQL
    procedure..." I can assume that you're using an
    on-load page process based on some condition and that
    the conditions aren't working and that you've already
    determined that the process itself would work if only
    the condition worked. But that assumption may be
    incorrect.
    The following anonymous block PL/SQL is defined as an on-load page process, AFTER_HEADER (tried BEFORE_HEADER, but no difference in behavior). I originally set it to run conditionally (on if P23_CQAI_NUMBER was NOT NULL), but decided to run it unconditionally and embed the not null logic in my PL/SQL block in attempt to debug:
    begin
    if (:P23_CQAI_NUMBER is not NULL) then
    my_package_name.get_cqai_data(p_cqaiID => :P23_CQAI_NUMBER,
    p_submitter=>:P23_CQAI_SUBMITTER,
    p_assignee=>:P23_CQAI_ASSIGNEE);
    end if;
    end;
    p_submitter and p_assignee parameters in the above procedure call are both VARCHAR2 OUT parameters.
    This code always failed, until today in attempt to debug, I changed the block as follows:
    declare
    l_cqai_number varchar2(8);
    begin
    select cqai_number into l_cqai_number from my_table
    where cow_id = :P23_COW_ID;
    if (l_cqai_number is not NULL) then
    my_package_name.get_cqai_data(p_cqaiID => l_cqai_number,
    p_submitter=>:P23_CQAI_SUBMITTER,
    p_assignee=>:P23_CQAI_ASSIGNEE);
    end if;
    end;
    This works every time; but I don't understand why I have to make a second query to the database to get the data already fetched by ARF in sequence #1.
    3) I can further assume that you're
    referencing the fetched column value using bind
    variable or v() notation sometime after the ARF
    process runs and that you are using the proper DML
    Fetch Mode attribute of the ARF process and that you
    are using a version of Application Express that
    supports that attribute. You are correct. As far as using the APEX version that supports the attribute; I don't know. I'm using version 1.5.0.00.33 and the documentation is a little thin.
    ScottTIA,
    Earl

  • Displaying a CLOB value on a report page in an application from a DB-link

    Hello, i am having trouble displaying a CLOB value from a DB-Link, i have tried using temporary local tables, but they didnt work.
    I am now trying to use a collection (page process) to display the CLOB column's data from the link but to no avail :(
    This is my collection source:
    declare
      col1   number;
      col2   date;
      col3   clob;
    begin
      apex_collection.create_or_truncate_collection('LOBCOLLECTIONPLAN');
      for r in ( select * from TABLENAME@DB-Link ) loop
        APEX_COLLECTION.ADD_MEMBER('LOBCOLLECTIONPLAN',
        p_c001          => r.col1,
        p_c002          => r.col2,
        p_clob001       => r.col3);
    end loop;
    end;when i run the page it displays 'no data found', yet there is data in the linked DB table.
    Is there anything i am doing wrong?
    Or is there another way around this?
    Thanks in advance

    There used to be a problem with pulling CLOB's through dblinks. I don't know if that is still an issue, but I think it probably is, as that is a 'problem' with the database itself.
    If you run the same SQL query on your local database, getting the CLOB's from a remote database, do you get any errors or do you get all of the data?
    No idea if I'm right or not, but it's something you should be able to test fairly easily.
    Bill Ferguson

Maybe you are looking for

  • Error message when trying to activate caller ID fo...

    Hello. I keep getting an error message when trying to activate my caller ID for my mobile number. It keeps saying "We were unable to send you a confirmation code at this time. Please try again later. " I have checked the list of countries excluded fr

  • Problem "close"

    hi, I accidentally clicked "Close" from the File menu and disappeared from the project timeline, how can I take it back?

  • BW documents with crm environment

    Hi, Need a help, I need PPT or PDF document of SAP BW with CRM environment scenerio . (Technical or Functional)  . Thanks Savio

  • Where is the iTunes Side Bar in ver12. I hate not having the Side Bar!@

    Where is the iTunes Side Bar in ver12. I hate not having the Side Bar!@ Continually feel like I am in Apples 1984 video, except Apple replaces IBM as the "Big Brother", lets all walk in lock step to the Apple Reich! Give us back the iTunes side bar A

  • ORA-20001

    Hi, While uploading csv file through utilities I am getting the following error. I tried uploading one row of data. Please help me. "ORA-20001: Unable to create collection: ORA-20001: Unable to parse a row with more than 32KB data." Regards, Pallavi