It is possible to modify apex.submit() method?

Hello everybody,
It seems that apex.submit() method always performs a HTTP-POST method. Something like this:
POST /pls/htmldb_devdb11/wwv_flow.accept HTTP/1.1
Content-Length: 180
p_flow_id=136&p_flow_step_id=17&p_instance=962043850817501&p_page_submission_id=1613388309541601&p_request=T_ORDERS&p_md5_checksum=&p_page_checksum=82507D5724D222E8E9BCB19A79C6D62F
I would like to be able to change this for a GET, this is something like this:
GET /pls/htmldb_devdb11/wwv_flow.accept?p_flow_id=136&p_flow_step_id=17&p_instance=962043850817501&p_page_submission_id=1613388309541601&p_request=T_ORDERS&p_md5_checksum=&p_page_checksum=82507D5724D222E8E9BCB19A79C6D62F HTTP/1.1
Thanks in advance,
Luis

Luis wrote:
Hello everybody,
It seems that apex.submit() method always performs a HTTP-POST method. Something like this:
POST /pls/htmldb_devdb11/wwv_flow.accept HTTP/1.1
Content-Length: 180
p_flow_id=136&p_flow_step_id=17&p_instance=962043850817501&p_page_submission_id=1613388309541601&p_request=T_ORDERS&p_md5_checksum=&p_page_checksum=82507D5724D222E8E9BCB19A79C6D62F
I would like to be able to change this for a GET, this is something like this:
GET /pls/htmldb_devdb11/wwv_flow.accept?p_flow_id=136&p_flow_step_id=17&p_instance=962043850817501&p_page_submission_id=1613388309541601&p_request=T_ORDERS&p_md5_checksum=&p_page_checksum=82507D5724D222E8E9BCB19A79C6D62F HTTP/1.1
Thanks in advance,
LuisBut why do you want to modify the standard apex.submit() api? you should not be modifying that anyway. It is only doing standard submit() method
Instead you can use jQuery get() method like this
$.get('wwv_flow.show',
       {"p_request"      : 'APPLICATION_PROCESS=YOUR_ON_DEMAND_APPLICATION_PROCESS',
        "p_flow_id"      : $v('pFlowId'),
        "p_flow_step_id" : $v('pFlowStepId'),
        "p_instance"     : $v('pInstance'),
        "x01"              : 'test'
        function(data){
         alert(data);
       );

Similar Messages

  • Extending/Modifying VOImpl Class Methods

    Hi All
    In iExpense Module, there is one CreditCardsVO, which is already extended by a developer as BTCreditCardsVO
    The standard CreditCardsVOImpl class has its contructor method, executeQuery, encodeCardNumber, etc methods.
    My requirement is to modify the encodeCardNumber method ( This method masks the CreditCard Number with '****' , leaving just last 4 digits to display using substring function)
    I need to modify this 4 digits to 9 digits.
    This encodeCardNumber is called in executeQuery method. Also, this method is private type.
    Extending standard VO is possible and usually SQLs are modified to add new columns.
    Is it possible to modify/extend the methods of the standard VOImpl classes.
    Rgds
    Vaddi Rakesh

    Hi Kumar,
    Thanks for the reply.
    Correct me if I have got it wrong.
    To extend the private method EncodeCardNumber, I need to copy the standard ExecuteQuery method in the extended VOImpl class and also the EncodeCardNUmber method with modifications.
    I have Copy/Pasted whats in the standard VOImpl and Also what I intend to change in extended VOImpl.
    Standard VOImpl Class:
    public class CreditCardsVOImpl extends OAViewObjectImpl
    public CreditCardsVOImpl()
    public void executeQuery()
    super.executeQuery();
    while(hasNext())
    CreditCardsVORowImpl creditcardsvorowimpl = (CreditCardsVORowImpl)next();
    String s = creditcardsvorowimpl.getCardProgramName() + encodeCardNumber(creditcardsvorowimpl.getCardNumber());
    creditcardsvorowimpl.setDisplayedValue(s);
    if(Boolean.TRUE.equals(isMultPaymentsForCard(creditcardsvorowimpl)))
    creditcardsvorowimpl.setDisplayedValue(creditcardsvorowimpl.getDisplayedValue() + " - " + creditcardsvorowimpl.getPaymentDueFrom());
    private String encodeCardNumber(String s)
    if(s.length() > 4)
    return " ****" + s.substring(s.length() - 4);
    else
    return " ****";
    /// Other Public methods ...........
    Extended Code :
    public class BTCreditCardsVOImpl extends CreditCardsVOImpl
    * This is the default constructor (do not remove)
    public BTCreditCardsVOImpl()
    // COPIED FROM STANDARD VOImpl CLASS
    public void executeQuery()
    super.executeQuery();
    while(hasNext())
    CreditCardsVORowImpl creditcardsvorowimpl = (CreditCardsVORowImpl)next();
    String s = creditcardsvorowimpl.getCardProgramName() + encodeCardNumber(creditcardsvorowimpl.getCardNumber());
    creditcardsvorowimpl.setDisplayedValue(s);
    if(Boolean.TRUE.equals(isMultPaymentsForCard(creditcardsvorowimpl)))
    creditcardsvorowimpl.setDisplayedValue(creditcardsvorowimpl.getDisplayedValue() + " - " + creditcardsvorowimpl.getPaymentDueFrom());
    // MY VERSION OF ENCODE METHOD
    private String encodeCardNumber(String s)
    if(s.length() > 4)
    return " ****" + s.substring(s.length() - 9); // changed from 4 to 9
    else
    return " ****";
    My Query would be, the ExecuteQuery would be calling super.executeQuery.
    Does this refer back to Standard ExecuteQuery and then subsequent EncodeCardNumber.
    Or is it, my concepts are not clear. And extending the Standard methods, would simply replace any call to the methods of the Standard class, with the ones extended in the Extended VOImpl
    Please advise
    Rgds
    Vaddi Rakesh

  • Possible to Modify Submit Commands?

    I am a new user to Adobe products.  Currently I am working in Adobe Acrobat 9 Professional.  I am in the process of creating a multi page form for users to complete & email back to myself and other department members in my group.  The forms include fill in data fields and the document has been saved to extend features to Adobe Reader users.  Is it possible to include different submit fields throughout the same document?  For example, can a submit button be added for pages 1 to 2 where only that portion of the document is emailed to specific members of our department and not others.  We would also want to create a different submit button for pages 3 to 4 to go to a different email distribution listing & include only those pages and not the first two.  Presently, the forms are saved as separate documents, but we would like to merge into a single document since there is duplicate data that users have to enter.
    Also, I noticed that when users select the submit button the document is attached to an email & is removed from their screen.  If multiple submit buttons are a possibility, can the document continue to remain on the user's screen to allow them to finish & submit the remaining portions of the form?
    Thank you for any help you can offer.

    You cannot do what you want. To get that level, you are better off placing the form on a website (No worries about number of instances being used, extended rights limit you to 500 instances). With a properly written script the information from the pdf file can import the information from the fields and either sent to the appropriate people or inputted into a database which people can then query. You can restrict who sees what in the database. This is the best way to handle forms that have information that must be used by different people.

  • Is it possible to create APEX user in background?

    Hi experts,
    I have a page to create new user with the following items in an application:
    P1_USER_ID
    P1_EMAIL
    P1_PASSWORD
    It is using Automatic Row Processing (DML) to insert these to PEOPLE table.
    When submit it above in the same time, I would like to create APEX's user using the values which are specified on it above.
    I think that I can use APEX_UTIL.CREATE_USER, but the user who log into the current application with APEX authentication does not have admin privilege. I guess that the operation might fail. Correct?
    Or, is it possible to create APEX user without admin privs if it is background?
    Thanks in advance,
    Rui

    Hello,
    >> but the user who log into the current application with APEX authentication does not have admin privilege. I guess that the operation might fail. Correct?
    Yes, correct. To execute APEX_UTIL.CREATE_USER, the current user must have administrative privileges - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#BABCFBGG .
    >> Or, is it possible to create APEX user without admin privs if it is background?
    I don’t see the relevance of a background process, in this context. The admin privileges demand is there to prevent un-authorized users to open new users, without any control. It seems to me like a recipe for chaos to allow every user to define new users in the application.
    Regards,
    Arie.

  • Apex.submit issue when using jQuery Overlay

    Dear All,
    This is my first post in this forum and I hope I can find a solution for my issue.
    Currently we are developing a new Time Attendance System by Apex.
    I am facing a problem when I use the jQuery Overlay in one of the pages.
    the page it self is working fine and all it button and tabs are also working fine until I click the link for the overlay content
    the content is another page getting loaded in a similer to a popup window (overlay effect) after I close this overlay window
    all the links in the original page that are using the apex.submit are not working and show an error in the browser "Object doesn't support this method or property"
    This only occur when I click the overlay link but if I load the page and I don't open the overlay link all links are working fine.
    And Thank you all inadvance.
    Regards

    It's always easier to debug an issue like this by recreating the problem on apex.oracle.com and providing credentials.
    How did you set up the overlay content? Did you create any additional HTML elements within one of the apex regions? If was just adding some DIV content then try moving that DIV content to after the #FORM_CLOSE# substitution string in the page template.

  • How many items are possible in page APEX 3.2

    Hi All,
    I have created around 95 page items,8 different region , 10 buttons and i have used collections in page processing
    While processing the page by using Select with LOV getting error http://3264-ch-dbs:8080/apex/wwv_flow.accept
    I have created 15 extra page item due whih count increases from 80 to 95 .once I have created this I tried processing the page by select list with submit . I am getting above mentioned error
    how many items are possible in page APEX 3.2 , is there limitation ?
    Any sugeestion is welcomed
    Thanks and Regards
    Sachin

    Hello Sachin,
    >> how many items are possible in page APEX 3.2 , is there limitation ?
    You can render up to 100 APEX item on the page, and that includes hidden items. You can define more than 100 items and use conditions to determine which items will be rendered. (Buttons and other components you mentioned are not included in the 100 count).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

  • LMS3.2: is it possible to modify timeout session

    Hi,
    On windows, is it possible to modify the default timeout session ?
    What is the default value ?
    Many thanks for your help,
    Elisabeth

    which timeout?? - I assume you are talking about the web server timeout !?
    I found this in one of my notes I made years ago ...
    ... the entry is still there in LMS 4.1 so I believe it is still valid...
    (I do not know if you have to restart dmgtd afterwards)
    make a backup of the following file:
        NMSROOT/MDC/tomcat/webapps/classic/WEB-INF/web.xml
    open the file in a text editor and look for the tag below; the session-timeout is given in minutes (default: 2h);
    keep in mind that changing the value has impact on the web server load (i.e. do not make it too long..)
    the tag should be at the very end of the file:
            120

  • Is it possible to call a class method using pattern in ABAP editor.

    Hi,
         Is it possible to call a class method using pattern in ABAP editor.
    Thank U for Ur time.
    Cheers,
    Sam

    Yes,
    Click patterns.
    Then choose Abap objects patterns.
    Click on the Tick
    It will give a new screen
    Here Give the name of the class first.
    Then the object (instance of the calss)
    And finally the method ..
    it will give you the pattern
    Hope this helps.

  • Error in MSMP Submit method - in ERM 10.0

    Hi All,
    We configured BRF+ Methodology with Role Type : Single & COndition group with methodology steps. Also defined the Initiator and Agent rule with Role Type : SIN & the User id: ZZZZ as approver.
    However when we intiiate the approval button - it is throwing an error "Error in MSMP Submit method"
    Where are we going wrong in the logic as we are using only 1 attribute as Role type.
    How to check the detail log of the error in GRC 10.0
    Thanks and Best Regards,
    Srihari.K

    hello
    Error in MSMP Submit method"
    Activate role approver related process id in MSMP without any errors then  re create role.

  • Is it possible to stop APEX using a cached query?

    I was hoping that the issue where report regions sometimes show the error: "ORA-06502: PL/SQL: numeric or value error: NULL index table key value" would be fixed in 3.1.1 however it seems not to have been (We have had it several times now). The workaround seems to be to change the query slightly such as selecting NULL as an additional column and then hiding that column.
    This obviously only works AFTER the issue has occured, ie, after we have received a complaint from someone!
    Is it possible to stop APEX using the cached version of some queries altogether? The ones we are calling are quite simple and so will not give that much overhead.
    Thanks.

    I've actually found several threads on this from the past:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=644172&tstart=120 (This thread states the problem has been fixed however it would appear either it hasn't or there is a similar bug elsewhere.)

  • Address Book possible to modify views in column

    Is it possible to modify the view preference in order to allow the Prefix (a title like Dr) to come after the name, so it shows as Brown, David, Dr?
    That would allow me to sort by last names and see it in an alphabetical list form which I would like.
    I currently am using Now Contact and like its flexibility, but would prefer to switch over to Apple Address Book

    That is not possible, but if you do not use the suffix as a field, maybe you could add that field - which would show after the name - and use it as the prefix field?
    hope this helps

  • Possible to modify default module settings for large deployments?

    Is it possible to modify the default threshold and action settings for select modules, so that everything is good to go as soon as I add the node into SMC?
    I am trying to find a way to easily standardize the monitoring and notification settings across the environment.

    Hi mcomdsm,
    I think the easiest way to standardize your thresholds and actions settings would be to use the Manage Jobs feature, which allows you to create tasks like loading/unloading modules, adding rows to specific modules, setting up alarm thresholds and actions and apply it to a user-defined group of objects. This way, if you add a new node to Sun MC, you can run the same task already saved in managed jobs against the new node.
    There is a nice example on how to use Manage Jobs here: [http://forums.halcyoninc.com/showthread.php?t=97&highlight=threshold]
    Pegah Garousi
    Halcyon Monitoring Solutions

  • Javascript apex.submit

    Hi,
    I am using the Javascript (javascript:apex.submit('TEST')) on the report attributes item (PID). I need to pass the PID value. Can i pass the value of the item in the Javascript
    apex.submit.
    Please suggest how we can pass the value.
    Thanks,
    Vikas

    Vikas,
    In APEX 4.0, we added a new signature for the apex.submit function that does allow setting an item's value. For example, in the column link 'URL' for your PID column, you could specify the following:
    javascript:apex.submit({request:'TEST',set:{'P1_HIDDEN_PID':'#PID#'}});This assumes you have a page item called 'P1_HIDDEN_PID' that stores the specific row's PID value.
    We actually use this technique on the 'Report Attributes' page itself, when clicking a column link to edit a column (to save any changes made to the current page and still branch to the appropriate column edit page). Official documentation on this function can be found in our API reference guide here:
    http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDBEACA
    Hope this helps.
    Anthony.

  • Est-ce qu'il est possible de modifier le site web fait avec muse depuis Adobe Business Catalyst ?

    Bonjour,
    Est-ce qu'il est possible de modifier le site web fait avec muse depuis Adobe Business Catalyst, sans avoir d'abbonnement muse ?
    Merci d'avance
    Hello,
    Is it possible to change the website made with Muse from Adobe Business Catalyst, without having abbonnement muse?
    Thank you in advance

    Claire Corteville a écrit:
    Hello
    Je sais que ce chat existe en français, mais je ne trouve plus le lien.
    Je l'ai déjà utilisé, tu discute en français,  en direct avec un vrai être humain.
    Ils sont très sympas et très efficaces
    Ca y est ! je l'ai trouvé  
    http://helpx.adobe.com/fr/contact.html?product=creative-cloud&topic=downloading-updating-a nd-installing-apps
    Tu cliques sur "j'ai encore besoin d'aide" en bas de la page.
    Il est indiqué si un agent est disponible ou non
    a++

  • Possible Bug In Apex 4.0.2

    Hi Everyone.
    I would like to report what I think is a bug in Apex 4.0.2.
    If you go to my workspace on apex.oracle.com:
    Workspace = EEG
    Username = [email protected]
    Password = galaxy (all lowercase)
    Run the application: 37796 - Elie_Various_Goodies [no credentials are required]
    This app was imported from my 4.0.1 workspace at my job. On the page I created two Date Picker items, P1_BEGIN_DATE and P1_END_DATE. I set them up so that whenever a user selects a begin date, a dynamic action "MANAGE_DATES" fires and automatically sets P1_END_DATE to this selected begin date value. Now when a user goes to select an end date, the displayed calendar starts at the previously selected begin date rather than the default of "Today".
    All of this worked fine on my office (4.0.1) workspace. However, after exporting this app and then importing onto apex.oracle.com, none of this functionality would work. Even worse, whenever I try to select a begin date or even an end date, the selected dates never make it into the date picker fields. Displaying the "Session" window shows these fields as empty.
    It was only after I copied the two date picker fields and also re-created my dynamic action (P1_BEGIN_DATE2, P1_END_DATE2, MANAGE_DATES) did my functionality return.
    This behavior is quite strange. I can only think this is some sort of bug attributed to the export/import process when exporting a 4.0.1 app into a 4.0.2 workspace. I am not sure if this bizarre behavior happens with non-date picker items. Nor am I sure if this beavior would be repeated if I export/import from 4.0.2 into the another 4.0.2 environment.
    Another strange thing I noticed. If I change my date picker items to be "date picker (classic)" type items, the dynamic action does not work at all. This is true in both 4.0.2 and 4.0.1. I'm not sure if this a bug or not. It could be that the classic date picker is just not "javascript" enabled so to speak. If that is true, then it would have been nice if the docs would have warned us about this.
    Has anyone else seen this behavior?
    Thank you.
    Elie

    Hi Joel.
    First let me thank you for the warning about allowing "everyone" access to my workspace.
    You're correct, of course. Anyone could destroy anything within my workspace. I guess I was too trusting especially as I have seen many posts on the Forum where others have given access to their workspace so that responders can offer help. I really should be more discreet about this. Again, thank you. Needless to say, I have changed my password.
    With respect to the possible bug, the MANAGE_DATES dynamic action is intended to be a submit page because that is the only way I can see to get BOTH the P1_END_DATE date picker item as well as the end date textual field to be assigned the selected P1_BEGIN_DATE. I tried to use a dynamic action in which javascript sets the value of the end date textual field to the selected P1_BEGIN_DATE value. This works without the need to submit the page. Unfortunately, this does not cause the P1_END_DATE date picker item to default to this value. Instead, the default remains at today's date. This is why I finally resorted to a dynamic action that submits the page whenever a new value is selected (that is, a "change" event) from the P1_BEGIN_DATE date picker item.
    All of this works in my office 4.0.1 environment. However, I was puzzled when this fails under 4.0.2 on the hosted web site at apex.oracle.com. This is why I posted a "possible" bug in 4.0.2.
    I hope this all makes sense.
    One more thing, as already mentioned in my original post, this "defaulting a date picker" functionality does NOT work at all for the "classic" date picker items in both 4.0.1 nor in 4.0.2. I realize one can implement this functionality (I' guessing) my using, say, a "onChange" javascript call to submit the page. It's just funny that the "classic" date picker items are not acted upon by the dynamic action MANAGE_DATES that submits the page.
    Thank you.
    Elie

Maybe you are looking for

  • How to append structure into transperant table in sap abap

    Hi all,   I have 1 structure already in the data dictionary . And this structure is already being used by other transperant table for creatin the fields . Now i need to create new table and wann use the same structure . when i click on the Append Str

  • Certain Albums Have Songs Not In The Right Order...

    I believe this is a bug from iTunes. Lately my songs from albums are having songs dis-located as having certain tracks in the beginning of the album instead of where they belong. The wierd thing is that it appears to be fine on iTunes but it's totall

  • Conecting Apple Tv and Home

    I have an Apple Tv and would like to conecting whith may home teather. Is possibility and how? tanks

  • Camera Raw CS6: WHere is it?

    I have just noticed that I do not have Camera Raw in CS6 either that or it has changed locations from where it used to be in CS5.5

  • Dreamweaver CC study guide book

    Hello everyone!!! I'm a new user and.. Can anyone tell me which book/s can i study to passing the Dreamweaver CC exam?? Thanks everybody!!!!!