Javascript:doSubmit action

Hi all,
1. I've created an updatable report with buttons in each row.
2. A click on the button would create a form in the adjoining cell using JS.
3. When I click on "Save" in that form a table is updated with the comment entered.
4. At this point I want the page to refresh too. I've tried by using the
doSubmit('REFRESH_PAGE233');
and created -
a. a conditional dummy process which will run if Request = REFRESH_PAGE233
b. a conditional branch in the page which will redirect to the same page acheiving the page refresh when Request = REFRESH_PAGE233.
However this does not seem to work for me. Ant suggestions ?
The application is http://apex.oracle.com/pls/otn/f?p=17276:19
Thanks,
- Yogesh

Looks like someone is testing this app.
I set the status to 'N' and comments back to null
so that all the rows appear back in the first report.
- Yogesh

Similar Messages

  • APEX 3.1.2 javaScript:doSubmit don't able navigate BUG

    Hi everybody,
    We're working with APEX 3.1.2.
    We're not able to navigate from page to page with the Thumbnails.
    It seems that the javaScript:doSubmit doesn't execute.
    In our example we want to go from 'Généralités' page to 'Paramètres' page:
    javaScript:doSubmit('T_PARAMÈTRE');
    Can you help me ?
    Thanks & Regards.
    Eric.

    HI everybody,
    I apologize, when I say ``Thumbnail`` it means ``Tabs``.
    Anybody had never get this bug yet ?
    Thanks & Regards.
    Eric.

  • How to find the JavaScript Script Actions?

    Where can I find the JavaScript Script Actions for being executed in the
    Correlation Engine Java VM process?
    sonfan
    sonfan's Profile: https://forums.netiq.com/member.php?userid=692
    View this thread: https://forums.netiq.com/showthread.php?t=42697

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    What do you mean? The action plugins are available for download from
    the regular Sentinel plug-in site:
    http://support.novell.com/products/s...elplugins.html
    The ability to access or manage plugins will depend on your product
    (Sentinel 6.1, 7.x, or Log Manager).
    What you want to do may also slightly affect how you access them so
    knowing that, and really knowing the entire story, would help.
    The SDK can also be used to build new ones, if you're interested.
    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.19 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
    iQIcBAEBAgAGBQJQbyY5AAoJEF+XTK08PnB5KVEP/RuXqAbhsFWtt5iBVF8OHn2y
    dlhgNcYbBHvC5YCrO+AD3lOD4kBX2NMCHXmZQiyU/c8eohGzG6iJgOXwIj1MiUiF
    fBkbvSi8tvT85j7og0noAUKMyhp4cASa8EPl0C5JiSRYZGvH57 PXDRxd+J5TUdyK
    lS9nHhmLXKgOTVeUcmUoqatywF2wgHbtvJsj0Ys5Zb1ITcddRK khenb8pn9cZrx0
    GUgQip3Z/wSPJphgpluVRs74z3qJkRwmpNBZCpRouDWJUM6ca2nwUOECMSO rIAD4
    KI2zHiJKdYosLdUpkIIFQpwmOEJ/JW0pLSL9TZxeO3/yz4gSuK/YFFw9GFAWtq/D
    ddl/9+iUoelYIl43PowvPG4gG8M/JCRLjL2f1FQ0ZHTPeAEIFPSzY1+1pu0O2fcG
    mq9vJ7cV1nrw2WGh46zCWVprB8bT1IEBffm8vj/6/tSysZAEgfZH/+2hmWMxstP8
    kZL03QeIJZ2Ks0fbZ4YroqIfPEI4qQTVHcRgV4OsgsRL2N6PiL aEJOaVqLthSCPG
    srUbECkg9JidSfp2BWDYI9tzOeOTwf4NCM7Wvlu2B9eqp97uEA cU0amuJrGYWxBP
    cKVqjTD6SwlvCsEo0614Q/ohlH524l+1gi985E3RNWeWn32BFt4sNCvaau4R0VJu
    n1RTg5azY9RlS/zjVR41
    =kCL+
    -----END PGP SIGNATURE-----

  • Javascript:dosubmit  - error

    i have just build application.. and i don't know what happened every javascript:dosubmit button on page 1 give me an error
    look at picture
    http://img526.imageshack.us/img526/8498/47216945.jpg
    any suggestions?
    i can't build it again, please help :(

    check your after submit validations, computations, processes and branches for any select ... into ... statement. Also check if any of these call a procedure or function in which there may also be a select into statement.
    cheers,
    Jure

  • The function javascript:doSubmit not passing variables between pages

    Hi,
    I have an report that has a link to another page, and I'm trying to pass 2 variables. If I use a target URL as such the variables do not get passed, but if I use a page target and explicitly add the item name and values it works fine. Here is the call I'm using to javascript:doSubmit:
    javascript:doSubmit('f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#');
    Does anyone have any insights?
    Thanks,
    Joe

    You can't use doSubmit to pass variables; it will only submit your page with the request you passed in.  All normal page processing and branching will be followed..  Why are you using doSubmit?  Just put the URL in the URL field.
    f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32, CIR:P32_PROJ_ID,P32_DID:#AWARD_NUMBER#,#ID_PROVIDED#

  • Javascript: doSubmit()

    I would like to do something like
    javascript:doSubmit('foo');alert('&ITEM.');
    There is a After Submit process (for request=foo) that calls a PL/SQL procedure and sets the value of :ITEM.
    It doesnt seem to be working. The page is submitted but the JS alert box is shown before the after submit process has completed, thus showing the incorrect (older) value of :ITEM
    Am I doing something wrong, is there another way to do this?
    Thanks

    html source. You could branch back to the same page
    and emit the same javascript to get an alert box with
    the submitted value. How can I do this? What would I put in the region/item source? I thought JS alert boxes only launched by user explicitly clicking something.
    Of course the alert would have to be in
    an item or region that was displayed
    conditionally based on whether it was a
    pre-submit or post-submit-and-branch rendering caseNot sure how I can do this either. Could you elaborate?
    The page is submited by doSubmit('foo'). The after submut process does its thing and sets the value of &ITEM.. The page has a branch back to itself. Now what?
    Thanks

  • How to run javascript through action

    Is it possible to run the javascript file via illustrator action? How?
    Thanks,
    Prabudass

    My ultimate goal is to force a document to only use a specific color library. To do this, I have been using the Live Color options. Of course, the only thing I can do as an action is open the Live Color (recolor artwork) tool. The artist will still have choose certain settings.
    Also, there are specific layers that are locked with objects that need to conform as well. Figured I had to do that with a script. The script unlocks a layer, unlocks any objects on that layer, selects them and recolors them (With a swatch created in the script as well) then locks the object back and then locks the layer. So, the action calls the script for one part, and then the recolor artwork for the rest.
    The hope (plan) was to have this setup for the artist so all they would have to do is run the action.

  • Javascript and Actions

    This has been asked before.
    Just got off the phone with Adobe Tech support, which told me "We aren't trained in Scripting, you'll need to post on the forums".
    So here I am, posting on the forums hoping to get an official response from Adobe.
    Why can't we call actions from Javascript? Or if we can like yout manuals say:
    "A script can execute an action, but actions cannot execute scripts."
    - ADOBE ILLUSTRATOR CS5 SCRIPTING GUIDE
    - ADOBE ILLUSTRATOR CS4 SCRIPTING GUIDE
    - ADOBE ILLUSTRATOR CS3 SCRIPTING GUIDE
    - ADOBE ILLUSTRATOR CS2 SCRIPTING GUIDE
    It's been there from the beginning with no reference to "Only works with Applescript and VBScript" or "Does not work with Javascript".
    Adobe, if the functionality exists, why can't it exist in Javascript?
    Why can't we have access to menu functions, or panel functions (like the Pathfinder toolset). Why can't I tell Illustrator to call the "Merge" pathfinder tool on object[1] and object[4]?
    Has anyone discovered a way to get in touch with an official Adobe Illustrator Script-dev to get his/her take on the issue? Or has anyone found an official response from Adobe regarding it? Or has anyone found the magic function that allows calls to actions?
    Thanks in advance,
    TJ

    I don't recall ever seeing someone from Adobe's Illustrator Scripting team posting in this forum… You do get this in the Ps & Id scripting forums… I think at best they may send you some 'tipex' so that you can remove that from your guides… There is a whole list of things that should have been added to this app's scripting capabilities but have not. In my trial of CS5 where was nothing that I was hoping to see added…

  • Please Please help with JavaScript and Actions

    Hello!
    Is there a way to perform a saved Action from the Action Pallette using a JavaScript script? I know there is a way to do it with Visual Basic.
    Is there a way to run a Visual Basic script from a JavaScript script?(which could be a potential workaround if JavaScript CANNOT call on an Action)
    Is there a way to call on a JavaScript from an Action?
    Here's specific information on my problem:
    I am using Illustrator CS2 on a PC
    I have written all of the JavaScript scripts that I need to perform various layer selection procedures and they all work perfectly. I have placed them in the Presets > Scripts folder so that they appear in my file menu.
    I wrote a very long action that called on these scripts (using Insert Menu Item > then selecting the script by going File > Scripts) sequentially and did some selecting and copy-pasting and applying graphic styles in between scripts. The Action worked PERFECTLY and ran all the scripts I needed to an automated a process that usually takes me an hour in less than five minutes!
    I saved the actions and saved the file.
    After closing Illustrator all of the lines of the action that called on scripts disappeared! It seems this is a known bug...I currently know of no workaround.
    Can anyone help with any of the following things:
    1. Getting actions to SAVE the commands to run javascripts
    2. Writing a JavaScript that runs an Illustrator Action
    3. Writing a JavaScript that runs a Visual Basic script that runs an Illustrator Action.
    I spent three days learning the basics of JavaScript (mostly by trial and error) and successfully wrote all the scripts I needed...I was overjoyed! But now that I've closed illustrator my actions to run said scripts do not work. PLEASE ADVISE!!!
    Thanks in advance,
    Matthew

    try next
    1)if possible split JS-code into 2 parts (before/after action)
    2)make vbs script with contents
    Set appRef = CreateObject("Illustrator.Application.3")
    appRef.DoJavaScriptFile("C:\my1.js")
    appRef.DoScript(Action As String, From As String)
    'add wait while ActionIsRunning
    appRef.DoJavaScriptFile("C:\my2.js")
    3) run vbs (File > Scripts or double-click).

  • How to call javascript function & action method on clicking jsf  button?

    I have one jsf custom button. I am checking client side validations in mail by calling javascript function & also sending mail by calling action method of a bean which will execute at server side for onclick event of that button. Because of this when I click on that button its calling both javascript function and action method. So even though validations failed its sending mail. How can I overcome this problem?? Please help me....

    I am asking regarding commanLinks in jsf. I have the following code block in jsf. Even though mailSentMessage('true'); returns false, its calling action="#{emailObjectAction.sendEmail}" method. thats why I got that doubt. try the following code.
    <h:commandLink id="mailBtn123Send"      onclick="return mailSentMessage('true');" value="send mail"     action="#{emailObjectAction.sendEmail}">          
    </h:commandLink>

  • Button javascript dosubmit

    hello,
    i have a button that submits the page.
    I want to show an alert box, if certain conditions are met ( for example, text box is empty ) and do NOT submit the page - redirect to this same page. If those conditions fail, then continue with doSubmit flow.
    // I do know that this can be done using the validation tab, but i'm just curios how to implement this in javascript.
    thank you.
    Andrew

    Andrew,
    With Apex 4 this is supposed to become much easier. If you'd like to do it now it's a bit more work. You basically change the button to call a custom JavaScript process which will in turn call doSubmit if/when you want it to.
    You do this by setting the button's Optional Redirect to URL and then putting something like the following in:
    javascript:validateMyItems();Of course there'd have to be a function of that name to do the job. Warning - JavaScript validation should not replace server side validation - it should supplement it.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to manipulate pdf files using javascript in action wizard

    Respected all ,
    I am a software programmer from india and i want to make a programe which can do below described things :
    I want to know that how can i achive this kind of steps using javascript in acrobat XI :
    for ex. if i have  4 pdf files :  800123-001.pdf , 800123-002.pdf    and  800555-001.pdf , 800555-002.pdf
    then i want to do using javascript
    step 1 :  pdf to ps , output should be : 800123-001.ps , 800123-002.ps , 800555-001.ps , 800555-002.ps
    step 2 : ps to pdf (acrobat distiller ) : 800123-001.pdf  , 800123-002.pdf , 800555-001.pdf , 800555-002.pdf
    step 3 : pdf merge : 800123.pdf  - > which contains both : 800123-001.pdf and 800123-002.pdf
                   and                     800555.pdf -> which contains both : 800555-001.pdf and 800555-002.pdf
    ----------END------------
    Is it possible using javascript in acrobat or any other way ?

    i can not access adobe site .. can you plz replay me on my personal e
    mail.. [removed personal contact info, please send a forum message instead]
    On Wed, Jun 19, 2013 at 1:16 AM, Test Screen Name
    Message was edited by: sinious

  • Execute javascript from plsql in a dynamic action.

    Is it possible to execute javascript with htp.p from a plsql block in a dynamic action (on change).
    I have tried it but I get a JSON error.
    The reason I want to to this is:
    I have to check something with plsql and depending on the result I want to do something in javascript.
    I now going to try it with ajax from javascript, but if somebody has a other way to do this i like to hear it.
    Thanks,
    Fred.

    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!

  • How can I have a backing file call a JavaScript function?

    I have a Weblogic portal with a JSP portlet. The portlet has a backing file. How can I get the backing file to call a JavaScript function in my portlet?
    thanks

    Hi
    your questions are not correct because you are mixing up server side operations with client side operations.
    First server side code executes then the page is sent to the browser , then any javascript executes on the browser. So asking for javascript to be called from backing file (server side) doesn't make sense or asking for javascript to read a parameter doesnt exactly work either.
    However in your server code suppose you have a variable action in the request that you want javascript to know then in your JSP you would add something like
    <script type="text/javascript">
    var action = '${requestScope.action}';
    alert(action);//or whatever you want to do
    <c:if test="${requestScope.someOthervariable == ''xyz'}"><%-- this check is done on the server --%>
    callSomeJavascript(); <%--this javascript is only executed when the server side value of someOtherVariable is xyz --%>
    </c:if>
    </script>
    i.e. you can output the javascript that has the variables you need or the function calls you want.
    Like I said understand whats server side and whats client side.

  • Calling a BI Publisher report from a dynamic action

    Greetings,
    I am working with Apex 4.1.0. I have created a BI Publisher query and layout and defined them in the Shared Components for my application. I also created a button defined as 'Download Printable Report Query'. When I press the button, everything works as expected. The page variable is passed to the report and the report prints as it should.
    My question is, can I run this report using a Dynamic Action instead of a button?
    Thanks
    Larry

    Hi,
    All that such a button does is submit the page and branch to page zero passing in the request field something like this:
    PRINT_REPORT=my_report
    So, to do the same in a dynamic action, use an "execute javascript code" action with something like this in it:
    location.href = 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=my_report';
    Luis

Maybe you are looking for

  • DMZ issues in ASA 5505 Firewall

    hi , i have asa 5505 firewall with ASA5505-UL-BUN-K9 license i have problem with DMZ. I am not able to create dmz. please suggest me what i need to do in order to be able to configure dmz. should i need to upgrade the license. please suggest.

  • How to calculate Excise on Customs Duty?

    Dear All, My client wants to calculate excise on the customs duty for the imported goods for which they can take CENVAT credit. So, the calculation should be on the following components: (Price*Quantity)Customs DutyPacking Currently, the customs duty

  • How to retrieve string array using Session?

    Hi, I am having some problem retrieving string arrays through session. String personalData[] = new String[17]; personalData = (String [])session.getValue("PersonalData"); The coding above isn't working. Advise pls.. Thanks

  • Camera Raw Plug in 6.5

    I just bought a new Nikon D610 camera and I am shooting Camera Raw files. I am using PSCS5 with Camera Raw 6.5 plug in loaded. My question is I am unable to tranfer these files using my camera raw from my camera. I get no error message. My comuter ju

  • Very slow wi-fi connectivity past few months on mac-mini os x 10.4.11

    Thanks Randy for my earlier post response. I'm using a 2007 Mac mini which runs on OS X Tiger 10.4.11. I am facing hard time connecting with Airpot ON and Wi-Fi...past few months? Almost all of the websites are taking long time to display. I'm able t