Success message in dynamic action with pl/sql

Hi, I want to know how to display the message "action proceed" in the "inline notification" from my block pl / sql is a dynamic action.
Like this :
Declare
Begin
  Delete RSCLASSE_ACTIVITE
   Where ROWID = :P_DELETE_ROWID;
-- here --->
-- I want display a info message in notification message "This recors is deleted". --
  Exception
     When NO_DATA_FOUND Then
          Pck_Suivi_Traitement.Prc_Log_Erreur('APEX Application : ' || :APP_ID || ' Alias:' ||  :APP_ALIAS || ' page :' || :APP_PAGE_ID  ,Null,
                                          'Erreur dans la suppression d''un enregistrement RSCLASSE_ACTIVIE No_data_found '
                                          ,Substr(Sqlerrm,1,200));
     When Others Then
         Pck_Suivi_Traitement.Prc_Log_Erreur('APEX Application : ' || :APP_ID || ' Alias:' ||  :APP_ALIAS || ' page :' || :APP_PAGE_ID ,Null,
                                          'Erreur dans la suppression d''un enregistrement  RSCLASSE_ACTIVIE '
                                          ,Substr(Sqlerrm,1,200));
End;
I found only APEX_ERROR.ADD_ERROR....in the api.

If you want to do this from a DA, does that mean you don't want to refresh the page?
If the page won't be refreshed and you want to make the message display you could do this technique taken from Dan McGhan's Modal plugin.
$('#messages')
  .hide()
  .append("Your Success Message Here")
  .slideDown('slow');
This approach is dependent on the Theme you're using. Here your inline notification is inside an ID of #messages, you may need to change this.
The code finds your messages div/section/element, then hides it, in case there's an old one.  Then the new message is added and displayed with slideDown.
You may also want to add more to your message to style it in the same fashion as your themes message.
For example: <div class="success">Your message here</div>
Let me know if this doesn't get you close.
Thanks
-Jorge
http://rimblas.com/blog/

Similar Messages

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to clear grey loading screen and animated gif (Dynamic Action with "Show Processing" on submit)

    APEX V4.2.3
    DB 11.2
    I have a classic report on page 1.  I have a region button called "Export" (defined by a submit dynamic action with "show processing=Yes") that submits the page and then via a branch directs me to page 2 which has a slightly different version of the report on page 1 (i.e. no breaks) which I want to capture as a CSV export.  Therefore I've set the report template on page 2 to " Export:CSV".
    Now when I click on the page 1 export button the grey screen and loading gif appears indicating that the report is executing and then as expected, page 2 doesn't appear but instead the standard open/save window's dialog box appears asking to open or save the generated CSV file.  All good..but the grey loading screen remains.  How do I clear this loading screen and get back to the context of page 1 ?
    thanks in advance
    PaulP

    Hi PPlatt,
    We would love to help but you left out one crucial part of the puzzle: namely how does your CSV report get exported. With the way it is setup (a redirect to another page), I'm going to assume you do that because you have some PL/SQL on that page that prints the CSV.
    Now there are two questions that are crucial here:
    - How do we stop the icon from bugging us on the screen
    - How do we communicate with the browser that it should no longer display the loading icon
    The first question is rather easy, two simply lines of codes can do that:
    $('#apex_wait_popup').hide();
    $('#apex_wait_overlay').hide();
    But when do we use this code? Quite simple when the document is downloaded. When is it downloaded? At the end of the PL/SQL code that prints the document to the browser.
    What you could do is at the end of that code give an application item a certain value. For example :AI_PRINTED := 'Y';
    Then all you need to do is let the browser ask for the value. You could do this by using JavaScript to continuously fire AJAX to the server using a JS timing event:
    http://www.w3schools.com/js/js_timing.asp
    Better would be a Server send event, but since you left out another crucial piece of information: your browser, I will not go deeper into this.
    Start this timing event when someone asks for the document, and end it as soon as the process returns that :AI_PRINTED equals 'Y'.
    Despite the lack of information, I hope I have given, or at least inspired you to get to the solution.
    Regards,
    Joni

  • Dynamic Actions with Multiple Actions Capability

    Dynamic Actions with Multiple Actions Capability
    How can I get Dynamic Actions to work on Actions that are stored solely on IT0302 due to the multiple relationship to a previous Action that is stored on both IT0302 and IT0000?
    When multiple actions on a given day are executed, the dynamic action from the first action entered is executed twice - when it should only execute the first time with the second actions dynamic action triggering the second time.
    Thanks

    When there are multiple actions with the same effective date the wrong dynamic action is triggered.  For example, if I have an Expat Return To Home action followed by an Internal Move action with the same effective date the below events occur:
    1.  IT0001 is updated due to Expat Return to Home - triggering the Dynamic Action off of IT0000 which is Expat Return to Home (Correct)
                -  Action is stored on IT0000 and IT0302
    2.  IT0001 is updated due to Internal Move - triggering the Dynamic Action off of IT0000 which is Expat Return to Home (Incorrect - background processing creates data not needed)
                -  Action is stored only on IT0302
    Question:
    How can we leverage Multiple Actions with the same effective date while continuing to use Dynamic Actions?

  • Binding parameters to dynamic VO with PL/SQL API call with no where clause

    Hi all,
    I am required to change exisiting queries to queries with "bind" parameters. Some of our VOs are dynamic and with PL/SQL api calls like below:
    String stmtStr = "selectXXX_API_UTILS.chk_urg_since_last_prg("
    + projectId + "," + PPCId + ",'XYZ_TASKS'," + taskId+ ")"
    +" from dual ";
    ViewObject tmpVO = transaction.createViewObjectFromQueryStmt(stmtStr);
    In this regard, I am unsure how to bind the PPCId and taskId parameters to the VO. setWhereClauseParams() would not work here as there is now where clause.
    Thanks in advance,
    Srini

    In case of preparedStatement, we mention bind parameters to be passed using "?". Then we pass paramters sequencially.
    But in the your case following is enough:
    int projectId = 100 ; (hardcoding values for example)
    int taskId = 500 ;
    String stmtStr = "selectXXX_API_UTILS.chk_urg_since_last_prg("
    + projectId + "," + PPCId + ",'XYZ_TASKS'," + taskId+ ")"
    +" from dual ";
    -Anand

  • Problem setting a hidden item value when button clicked with dynamic action or pl/sql process

    Apex 4.1
    Oracle 11g
    I have a page that consists of a main region and several sub regions.  I have a pl/sql process in After Header SET_DISPLAY(:P400_DISPLAY :='MAIN';)
    Three subregions have a contional display where P400_DISPLAY = STORE.  This works in hiding the sub regions.
    Now I want to change the P400_DISPLAY value to STORE to show the subregions when I hit a button.
    I tried creating a dynamic action for on click of the add button but get the following error:
    The selected button uses a 'Button Template' that does not contain the #BUTTON_ID# substitution string
    I went to the templates and found:
    Substitution Strings
    Substitution strings are used within sub templates to reference component values. This report details substitution string usage for this template.
    Substitution String
    Referenced
    From
    Description
    #LINK#
    Yes
    Template
    To be used in an "href" attribute
    #JAVASCRIPT#
    No
    To be used in an "onclick" attribute
    #LABEL#
    Yes
    Template
    Button Label
    #BUTTON_ATTRIBUTES#
    No
    Button Attributes
    #BUTTON_ID#
    No
    Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format 'B' || [Internal Button ID]
    I then tried creating a page process, pl/sql, :P400_DISPLAY :='STORE'; when the appropriate button is pressed.  The button action is submit page. However, it does not change the P400_DISPLAY value and the subregions stay hidden.
    Suggestions please on how to fix the template or change the P400_DISPLAY value?

    The root issue is that, although you change the value of your page item, it isn't visible to other areas of the page until it is in the session. So, any other action based on the value of your page item; the visibility of a control, a report based on the item's value, etc. will all be unaffected by changing the value of the page item until it has been changed in the session. Even after this the items are stored in the session, you must thereafter do something to cause the value to be reevaluated. To see the effect of this, observe that your page loads and evaluates the value of your page item, it sees that is "MAIN" and hides the regions. However, it doesn't reevaluate them after this.
    So; your choices to get this value set in the session are to either Submit the page, or use JavaScript to set the value in the session. If you use the latter of these, you'll have to do some further work to cause the visibility tests to be re-run, So, let's stick with with the submit method.
    What you've done above sounds correct for this but, there are a lot of decisions you could have made that might have caused things not to happen in the correct sequence.
    Firstly, let's confirm that what I describe above is your problem. From the development environment, load the page, click the button to change the value and submit. Now, click the link labelled Session. Is it still set to MAIN? If so; this is your issue.
    Let's start with the your After Header computation. Did you set it to *only* run if the current value of your page item is NULL??? If not, that's your problem.
    Load Page -> Item set to 'Main' by Computation -> Click Button -> Item set to STORE -> Submit -> Load Page -> Item set to 'Main' by Computation
    See the problem?
    Assuming this isn't the issue, you created a Branch to the same page, right? What is your process point for the Branch? Is it *After* Validation, Computation etc? Because if not, you aren't changing the value before the submit happens.
    I bet it is the first issue but, take a look at these.
    Cheers,
    -Joe

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • Dynamic action with function works, doesnt refresh textfield

    Hi all,
    experimenting with dynamic actions so I got the following setup:
    I've built a screen with 2 text boxes
    P7_input
    P7_output
    The goal is to put some tet in P7 input and have it returned with additional text in P7_OUTPUT
    CREATE OR REPLACE PROCEDURE PRC_ECHO
      P_INPUT IN VARCHAR2  DEFAULT 'LEEG'
    , P_OUTPUT OUT VARCHAR2 
    ) AS
    BEGIN
      p_output := 'Ingevoerd: ' || p_input;
    END PRC_ECHO;I've created a dynamic action on the LOSE FOCUS event of item P7_INPUT.
    The true action executes PL/SQL (sequence number 10)
    Begin
    eigen_apps.uga_prc_echo (:p7_input, :P7_OUTPUT);
    end;"Page items to submit" are set to P7_INPUT, P7_OUTPUT
    (and I tried with just P7_INPUT).
    The second true action (sequence number 20) does a REFRESH on ITEM P7_OUTPUT (and I tried refresh region and other things I thought would make it work.)
    When I enter something in P7_INPUT and tab, click or enter away from the P7_INPUT field, nothing changes in my P7_OUTPUT textfield.
    Only when I hit the refresh button in my browser P7_OUTPUT is filled with 'Ingevoerd: <P7_INPUT value>.
    So. The procedure does return the value into P7_OUTPUT, but I cant get an instant refresh of the P7_OUTPUT to work.
    Can any of you help me?
    Robin

    Getting some other errors now, will look into this tomorrow.
    1 error has occurred
    ORA-06550: line 4, column 18: PLS-00382: expression is of wrong type ORA-06550: line 4, column 7: PL/SQL: Statement ignoredNeed to check my procedure...
    Robin

  • How to display an error message in Dynamic Actions

    Dear Team:
    Scenario as below:
    Whenever the user creates Contract Elements Record, the begin date should be checked with the hire date in 0041 - Date specifications infotype (Date type) and Date of hire. If this is not equal to, then record should be rejected with an error message. Please let me know how do I write the lines in table V_T588M for infotype 0016.
    HOW TO INSERT AN ERROR LINE TO BE DISPLAYED IN DYNAMIC ACTIONS.
    Regards
    Team Member.
    Edited by: Patlolla Mallikarjun on Jul 8, 2009 1:53 PM
    Edited by: Patlolla Mallikarjun on Jul 12, 2009 10:13 AM

    No replies.

  • Dynamic Actions with Function Module

    Hai all,
    I got a problem while doing Dynamic Actions. I want to delete a record from 0105 infotype and it is through dynamic actions using function module. All things going correct but in the database table the entry was not deleted. While debugging it was giving as deleted but actually it is not deleting in database table. I hope u help me out.
    Thanks,
    Tara.

    Hai Srimantra,
    Thanks for ur response and here iam sending the code where i used the function module. and i called the subroutine from sm30.
    I should not use any sql statements or commands to delete the records from database tabels. hope u will help me out.
    Thank u,
    Tara.
    TABLES p0105.
    *data: lw_0105 type p0105.
    TABLES: pspar.
    *&      Form  HR_INFOTYPE_OPERATION
          text
    FORM hr_infotype_operation.
      DATA: l_it_pa0105 TYPE STANDARD TABLE OF pa0105.
      DATA: l_it_p0105 TYPE STANDARD TABLE OF p0105.
      DATA: l_p0105 TYPE p0105.
      DATA: wa_pa0105 TYPE pa0105.
      DATA: l_return TYPE bapireturn1.
      break developer.
      SELECT SINGLE * FROM pa0105 INTO CORRESPONDING FIELDS OF l_p0105
      WHERE pernr EQ p0105-pernr AND
            subty EQ p0105-subty AND
            begda EQ p0105-begda AND
            endda EQ p0105-endda AND
            seqnr EQ p0105-seqnr AND
            objps EQ p0105-objps AND
            sprps EQ p0105-sprps.
      CHECK sy-subrc EQ 0.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
         EXPORTING
           infty                  = '0105'
           number                 = l_p0105-pernr
           subtype                = l_p0105-subty
           objectid               = l_p0105-objps
           lockindicator          = l_p0105-sprps
           validityend            = l_p0105-endda
           validitybegin          = l_p0105-begda
           recordnumber           = l_p0105-seqnr
           record                 = l_p0105
           operation              = 'DEL'
          TCLAS                  = 'A'
          NOCOMMIT               =
          VIEW_IDENTIFIER        =
          SECONDARY_RECORD       =
        IMPORTING
          return                 = l_return.
          KEY                    =
      MESSAGE l_return-message TYPE 'S'.
    ENDFORM.                    "HR_INFOTYPE_OPERATION

  • Dynamic Action with field DIVGV not working

    We have built the dynamic action below to default values from infotypes 0007 and 0008 behind the screnes in infotype 0491 Payroll Outsourcing. The issue that we are having is that the dynamic action will not work for field P0008-DIVGV, but will work with all the other fields.
    The only difference between the DIVGV field and the rest of the other fields mentioned in this dynamic ation is that it seems to be a free text field (which you can modify), even though the values are pulled from the work schedule rule in infotype 0007. We have also hidden the DIVGV field in 0007 per client requirement.
    Does anyone have any suggestions on how to get this working. Do we need to populate these values in any of thh HR tables first?
    06     10     *     *** COP 0491 US PAYROLL OUTSOURCING ***
    06     12     P     T001P-MOLGA='10'
    06     14     I     COP,0491,,,(P0008-BEGDA),(P0008-ENDDA)/D
    06     16     W     P0491-OTF06='PS TYPE'
    06     18     W     P0491-OTV06=P0008-TRFAR
    06     20     W     P0491-OTF07='PS AREA'
    06     22     W     P0491-OTV07=P0008-TRFGB
    06     24     W     P0491-OTF08='WORK SCHEDULE RULE'
    06     26     W     P0491-OTV08=P0007-SCHKZ
    06     27     W     P0491-OTV09='WORK HOURS/PERIOD'
    06     28     W     P0491-OTV09=P0008-DIVGV

    Hi Damas,
      it seems to be no specific reason for not updation P0008-DIVGV only.Please cross check whether field is populating or not in Infotype 0008, before dynamic action triggered, other that that there is no reason.

  • Access to triggering element in a Dynamic Action from PL/SQL ?

    Hi,
    I have a form that is used to calculate the volume of a (large) number of tanks based on entered tank heights.
    I have a PL/SQL procedure that performs the calculation - it is given the name of the tank and the height and calculates the volume (each tank may have different physical characteristics).
    I didn't want to create a Dynamic Action per tank (I'm lazy and the number of tanks is large!). I currently have a Dynamic Action that is triggered whenever any of the tank heights on the form change. The action PL/SQL calls the calculation for each tank. E.G.
    :P1_TANK1_VOL := tank.vol('TANK1', :P1_TANK1_HEIGHT);
    :P1_TANK2_VOL := tank.vol('TANK2', :P1_TANK2_HEIGHT);
    :P1_TANK50_VOL := tank.vol('TANK50', :P1_TANK50_HEIGHT);
    This works but involves performing 50 calculations whenever a single one is required and can appear to be slow.
    Is there a way to identify the triggering element from the PL/SQL action? E.G.
    IF TriggeringElement = 'P1_TANK1_HEIGHT' THEN
    :P1_TANK1_VOL := tank.vol('TANK1',:P1_TANK1_HEIGHT);
    END IF;
    Any ideas?

    Very neat, many thanks.
    I now have a 'Set Value' 'Javascript Expression' action of 'this.triggeringElement.id;' to set a hidden *but unprotected* page item. This is followed by the 'Execute PL/SQL' action which simply calls a package procedure and passes the name of the triggering item. The procedure then sets the session state(s) as required.
    Thank you!

  • Dynamic  action - execute pl/sql code

    Hi All and thanks fro any assistance.
    I am trying to Execute the following pl/sql Code in a dynamic action however get the following error - AJAX call returned server error ORA-01403: no data found for Execute PL/SQL code.
    I have all page items iin the page items to submit section.
    declare
      l_file_comments  IMM_DOCUMENTS.FILE_COMMENTS%type;
      l_file           IMM_DOCUMENTS.FILE_BLOB%type;
      l_filename       IMM_DOCUMENTS.FILENAME%type;
      l_mimetype       IMM_DOCUMENTS.FILE_MIMETYPE%type;
      l_charset        IMM_DOCUMENTS.FILE_CHARSET%type;
    begin
        select f.blob_content,
               f.filename,
               f.mime_type,
               nvl(f.file_charset, f.dad_charset)
          into l_file,
               l_filename,
               l_mimetype,
               l_charset
          from wwv_flow_files f
         where f.name = :P80_FILE;
      if l_file is not null then
        insert into IMM_DOCUMENTS
          sub_id,
          document_type_id,
          filename,
          file_blob,
          file_comments,
          file_mimetype,
          file_charset
        values
          :P80_SUB_ID,
          :P80_DOCUMENT_TYPE_ID,
          l_filename,
          l_file,
          :P80_FILE_DESCRIPTION,
          l_mimetype,
          l_charset
        delete from wwv_flow_files where name = :P80_FILE;
      end if;
    end;

    Hi Marie,
    as Matthew says, the only part of the code that could result in that error is the select into statement. This is because, in pl/sql, a select into statement is expected to return one row only. If it returns no rows it raises a no data found exception and if it returns more than one row it raises a too many rows error.
    If it is acceptable that this query may return no rows, then you have to handle this situation. The two methods that you can use would be firstly to use a named cursor and fetch a row from this, if there is no data then it does not raise an exception. The other method would be to put in an exception handler around the select statement.
    EG - prefered, mainly because I think it is better to code in a way that minimises exception handling.
    declare
       l_file_comments  IMM_DOCUMENTS.FILE_COMMENTS%type;
       l_file           IMM_DOCUMENTS.FILE_BLOB%type;
       l_filename       IMM_DOCUMENTS.FILENAME%type;
       l_mimetype       IMM_DOCUMENTS.FILE_MIMETYPE%type;
       l_charset        IMM_DOCUMENTS.FILE_CHARSET%type;
       CURSOR file_cur IS
         select f.blob_content,
                f.filename,
                f.mime_type,
                nvl(f.file_charset, f.dad_charset)
           from wwv_flow_files f
          where f.name = :P80_FILE;
    begin
       OPEN file_cur;
       FETCH file_cur INTO
                l_file,
                l_filename,
                l_mimetype,
                l_charset;
       CLOSE file_cur;
       if l_file is not null then
         insert into IMM_DOCUMENTS
           sub_id,
           document_type_id,
           filename,
           file_blob,
           file_comments,
           file_mimetype,
           file_charset
         values
           :P80_SUB_ID,
           :P80_DOCUMENT_TYPE_ID,
           l_filename,
           l_file,
           :P80_FILE_DESCRIPTION,
           l_mimetype,
           l_charset
         delete from wwv_flow_files where name = :P80_FILE;
       end if;
    end;
    OR
    declare
      l_file_comments  IMM_DOCUMENTS.FILE_COMMENTS%type;
      l_file           IMM_DOCUMENTS.FILE_BLOB%type;
      l_filename       IMM_DOCUMENTS.FILENAME%type;
      l_mimetype       IMM_DOCUMENTS.FILE_MIMETYPE%type;
      l_charset        IMM_DOCUMENTS.FILE_CHARSET%type;
    begin
      BEGIN
        select f.blob_content,
               f.filename,
               f.mime_type,
               nvl(f.file_charset, f.dad_charset)
          into l_file,
               l_filename,
               l_mimetype,
               l_charset
          from wwv_flow_files f
         where f.name = :P80_FILE;
      EXCEPTION
        WHEN no_data_found THEN
          NULL;
      END;
      if l_file is not null then
        insert into IMM_DOCUMENTS
          sub_id,
          document_type_id,
          filename,
          file_blob,
          file_comments,
          file_mimetype,
          file_charset
        values
          :P80_SUB_ID,
          :P80_DOCUMENT_TYPE_ID,
          l_filename,
          l_file,
          :P80_FILE_DESCRIPTION,
          l_mimetype,
          l_charset
        delete from wwv_flow_files where name = :P80_FILE;
      end if;
    end;Note : code is untested.
    Regards
    Andre

  • Trying to use Dynamic Action with button - no #BUTTON_ID#

    I saw this post: Issue with apex  dynamic action
    and I'm having exactly the same issue. I'm using the Blue and Tan Theme and the button's "normal template" looks like the following:
    <table class="t2Button" cellspacing="0" cellpadding="0" border="0"  summary="">
    <tr>
    <td class="t2L"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_left.gif" alt="" /></a></td>
    <td class="t2C"><a href="#LINK#">#LABEL#</a></td>
    <td class="t2R"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_right.gif" alt="" /></a></td>
    </tr>
    </table>Can someone help me get the #BUTTON_ID# tag in the correct spot?
    (PS. This application was originally built using APEX 3.2 and upgraded to 4.1. Don't know if that matters or not.)

    The button calls a procedure which can take several minutes to complete. It calculates and stores values for display. I'd like to open up a modal window so that the user has more concrete feedback that the calculation process is underway. I'd also like to tie it to the refresh of a particular region on the page that shows a list of the stored calculations.

  • Dynamic Action with KeyCode check for ENTER button pressed

    Hi,
    I want to create a dynamic action which executes if the ENTER button of field P1_NAME is pressed.
    I thought about this type of DA:
    Event: Key Press
    Selection Type: Item(s)
    Item(s): P1_NAME
    Condition: Javascript expression
    Value: this.triggeringElement.keyCode == 13
    That unfortunately doesn't work! Dynamic action doesn't get executed...
    Hope for help! :)
    Tobias

    I found the solution in my own blog: :)
    Event: Key Press
    Selection Type: Item(s)
    Item(s): P1_NAME
    Condition: Javascript expression
    Value: this.browserEvent.keyCode == 13

Maybe you are looking for

  • Contacts app? no accounts. can't add one. won't save a new contact.

    My Contacts app shows no accounts, I cannot add an account local or cloud, and if I add a contact it is not saved to disk. Anyone have any idea what is going on? and how I might fix it. Other apps in this group (Calendar, Mail, Notes, etc) seem to be

  • Continual Error message: iTunes has encountered a problem

    New iPad (first generation) owner here. Also have laptop with Windows XP. On it, everytime I open iTunes I get an error messsage reading 'iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. If you were in the midd

  • Quaries taking more time

    Hi we have two databases db1 and db2,in database db2 we have number of nested tables were there. Now the problem is we had link between two databases,whenever u firing the any query in db1 internally it's going to acces nested tables in db2. For fech

  • Firefox views my web site differently from Chrome or Safari

    When I view my web site as https://signature-book.com or http://signature-book.com or http://www.signature-book.com everything looks correct But when I view it as https://www.signature-book.com It views in magnified view Chrome and Safari view these

  • Icons appear too big on desktop after desktop

    Icons appear too big on desktop after desktop