Submit a page when ColumnLink is clicked

I have a form and a report on the same page. The form contains details of a selected record and the report displays all comments specific to that record (master - detail).
The report has a column link so that the comments can be edited. When I click on the column link, the page gets redirected (not submitted). As a result I lose all changes that I have made on the form. Is there a way to submit the page and then redirect via the column link?
Thanks in advance,
Ghazi

Thanks Farhan.
Like you pointed out, I had to use javascript to accomplish this.
Below are the steps I did:
1. Created a new button called EDIT2 and added branch that navigates to my desired page (instead of column link redirecting to the page it is now done via the branch).
2. Created the below javascript
function setCommentIDandSubmit(commentID){
document.getElementById('P0_CID').value=commentID;
doSubmit('EDIT2');
This javascript assigns the ID of the selected row to a hidden variable in Page 0.
It then submits the page with EDIT2 request.
3. The pl/sql process that does my update was earlier tied to the APPLY_CHANGES button. I changed the condition to "Request is contained in Expression1" and the values in expression1 are APPLY_CHANGES,EDIT2
4. Changed the column link to a URL i.e.
javascript:setCommentIDandSubmit(#ID#)
And it appears to work now. Every time I save the form or edit a comment, the data on the form is being saved. Can you think of any drawbacks to this approach?
Regards.
Ghazi

Similar Messages

  • Refresh BSP Page when button is clicked

    Hello friends,
    I am developing a BSP application in which on page1, when button is clicked, new popup window(page 2) for caculating one field is displayed.
    At the same time I want to update value of the field(Calculated in page 2) to be updated in calling page(Page 1).
    Your help would be appreciated.
    Best regards,
    Dharitree

    I think it would be possible using javascript code.
    Try following javascript code:
    Write following 2 javascript functions in Page1.
    function openPopup()
    document.open(u2018page2.htmu2019, u2018page2u2019, "height=450 width=500 left=320 top=200 status=no")
    function transf(calculatedvalue)
    document.getElementById("<ID OF YOUR ELEMENT(INPUTFIELD)>").value = calculatedvale;
    In Page1, onClientClick event of the Button call openPopup() function Javascript
    Write following function in Page2.
    function getCalcValue()
        opener.transf("<%=CALCULATEDVALUE%>");
        window.close();
        return true;     
    In Page2, after the calculation, call getCalcValue Javascript function.
    Let me know if you need any further clarification on this.
    ~Salil
    Edited by: Salil Patel on Aug 8, 2008 2:51 PM

  • Hay i found google page when ever i click new tab button , also i found click on one tab another will be closed .

    i found google page error . when ever i click on new tab button i found automatic google page load .

    This issue can be caused by an extension (McAfee SiteAdvisor) that isn't working properly.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Auto Recharge not working, can't buy credit - Dumps me to front page when "Buy" is clicked

    I already contacted Customer Service (if you can call it that) on the Chat link. They couldn't fix the problem and said they have to escalate it, and I still haven't heard back. The problem is that auto-recharge isn't working, and really never has. I solved the problem in the past by clicking "buy credit" and just added credit to my account. Now when I do that, it dumps me out to the main front page of the skype.com website. Before you tell me to clear cache and cookies, I tried it from 3 different computers, and even my iphone, same results. Can someone who works for Skype please help? If customer service has devulved into posting to a community so we "can help each other" and there is no one to talk to from the company, how is this ever going to success long term? Microsoft and Skype should be embarrassed. I guess I need to start looking for an alternative solution to international IP calling.

    Hi,
    Special offer for North American residents only, i'm afraid...   
    On ne regarde pas l'avenir dans un rétroviseur !
    IMac Intel Core i3 3.2 GHz - RAM 12 GB - OS 10.10.3
    Skype 7.8.391
    Logitech usb headset or Jabra 250 bt

  • Can't open links get whte screen with text at top. Won't go to next page when it's clicked etc

    Whenevr I click a link to a photo , a next page on mail order sites, a link to instrns in Adobe, Won't enlarge photos when I click
    All I get is a blank white page with 2 rows of text at the top
    - can't even buy online as it won't move on

    Whenevr I click a link to a photo , a next page on mail order sites, a link to instrns in Adobe, Won't enlarge photos when I click
    All I get is a blank white page with 2 rows of text at the top
    - can't even buy online as it won't move on

  • How can I get Firefox 3.0 to work as a browser on my iBook G4 with OS10.3.9 so I can work my Hotmail email account? The download loads OK but will not open to a browser page when I double click on it. Tom.

    Have been using Firefox 2.0 just fine for years. But now stupid Windows Live Hotmail has made it impossible for me to "use" my email, such as doing Bcs or Attaching something, or even typing new text in the message box. Hotmail tells me I have to update my Firefox browser. But updating to Firefox 3.0 due my OS system limits does not now allow me to open onto the internet even after a successful download of 3.0. Tom.

    Firefox 3 will not run on OS X 10.3.9, it requires at least 10.4
    Try one of these browsers to see if you can access Hotmail - [http://www.seamonkey-project.org/releases/seamonkey1.1.19/ SeaMonkey 1.1.19] or [http://caminobrowser.org/download/ Camino 1.6.11]

  • How to achieve SUBMIT for the current page when I click other tab?

    Problem: How to achieve SUBMIT for the current page when I click other tab?
    Description: I have a two-page application and each page associates with a tab. Say page1 associates tab1 and page2 associates tab2. In each page, I have a submit button, a after submit process associated to the submit button, and a tabular form. For page1, I fill out the fields and hit the button. The page1 will appear again and I can see the data I have insert. However, If I fill out the fields and click the tab2 (page 2) instead. when I come back to page1, the data I filled out are all gone. Is there any way in HTML DB to force the submit in the current page after you click other page. If use JavaScript, what is code looks like.
    Appreciate your time and your answer.
    Mike

    Scott,
    just for clarity, if I understood correctly what you said there are two possibilities:
    1) keep the standard tab branch and give up the possibility of validating page items. Below you can find an example of such cases.
    2) Replace the template substitution string and perform a "custom" button-like submit also adding a branch to the main page associated with the tab. Page items will be validated if the branch firing point is set after the validations.
    I couldn't find an example of the latter, but I found easily an example of the former:
    it's the "Report attributes", page 420 of app 4000.
    If you enter 'aaa' in the "Number of rows" form field and then you press "apply changes", htmldb correctly displays an inline error message saying that the value must be numeric. On the contrary, if you click on the "Region Definition" tab, htmldb takes you to a page showing an oracle exception:
    ORA-20001: Error in DML: p_rowid=4785927011172906402, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value aaa for column PLUG_QUERY_NUM_ROWS
    Bye,
    Flavio

  • How to set the time in messageTextInut when i am click the submit button

    Hi
    In my form one messageTextInput field and submit button .when i am click the submit button the time (continuously)display in messageTextInput field.so plz tell me the process.

    You can associate a VO Attribute to the textinput field and set its value when the Submit button gets clicked. Thereafter you can renavigate to the same page.

  • I want to see my chosen home page when I click on Firefox, but your ad shows up. How do I get rid of it?

    When I go to Mozilla Firefox, I always see YOUR page first instead of my chosen home page. This page says "Committed to You, your privacy and an open web under your logo, and in top right corner, it says "See what's New" and it makes me either check "No Thanks" or "Let's go". This is annoying because I really just want my home page when I click on Firefox.
    How do I get rid of YOUR page that comes up first? If I can't get rid of this, I plan to no longer use Mozilla Firefox. Please advise. (I would have given you a screen shot, but your system doesn't accept it here)
    Thanks!
    Kathy Burden

    You can check the target line in the Firefox desktop shortcut (right-click: Properties) to make sure that nothing is appended after the path to the Firefox program.
    Do you still have your home page set correctly?
    *Tools > Options > General > Startup: Home page
    Firefox supports multiple home pages separated by '|' (pipe) symbols.
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with preferences.
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • When I left-click the home button, how can it open my home page in a new tab?

    I thought it used to do that. I had to do a clean install of Windows, I believe I was only on FF 22 or 23 when this happened. Now I'm on FF 26 and obviously all my settings are gone.
    I'm 99% sure that when I left-clicked on my home button, it opened my home page in a new tab. I know I can middle-click to get that affect, but it used to be left-click and I do that automatically now. But I don't want to lose the current window I have up, so something's wrong.
    Anyone know how to fix this? Or an add-on to do this?

    If you hold down the Ctrl key while left clicking the Home button then the home page opens in a new tab.<br />
    You can also middle-click the home button like you can with any other link

  • When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Firefox 29 When I right click to open in a new tab, the tab will open but it will be a blank page. Tried Firefox Safe Mode & with Ad On Disabled Nothing

    When I right click to open in new tab, the new tab will open but the page is blank. I have tried it in Firefox Safe Mode & with Add Ons Disabled, still doesn't work.

    Hi UKBlue,
    Is your new tab page set to about:blank? You can change this from the about:config page or you can restore defaults by resetting Firefox.
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Clicking on a mailto link or when I try to send a page when in Firefox 5, my macmail does not activate! This has not happened before!

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/858001]]</blockquote>
    If I try to send an email from a website by clicking on an email link my mail client (MacMail) does not pop up! This is not a problem with any other Browser. Similarly if I want to send a page (webpage) and I click on sendpage under the file pull down menu nothin happens. Again only with Firefox 5.0.1

    Hi,
    /Users/sarahschadek/Desktop/Safari.app/Contents/MacOS/Safari
    Move the Safari app from the Desktop to the Applications folder.
    Restart your Mac.
    That's why you see this:
    When I try to do the updates my computer says it has ready it goes through like it is downloading them then at the end it says some of the files could not be saved to "/" files.
    After your restart your Mac, click the Apple  menu (top left in your screen) then click:  Software Update ...
    Carolyn  

  • Clicking on a link does not open firefox and take me to the page when firefox is my default browser but does when Internet Explorer is my default browser, what is wrong?

    All of a sudden (I think after the last firefox update) links in other web pages won't open firefox to access the page when firefox is my default browser but works when I change my default browser to Internet Explorer and I can't figure out why. Help!!!

    This problem just arose for me today. Very frustrating. Tried all of the suggestions here without success. Then a very simple solution came to me:
    UNINSTALL CHROME. I haven't used Chrome for a long while anyway since it seems to have chronic problems of one sort or another. Firefox does 95% of what I need, and Internet Explorer can handle the other 5%.
    After uninstalling Chrome I clicked a mailto link. It asked me what program to use and did not list Firefox as an option for some reason. In the Tools menu, I chose "Options" and went to the "Applications" tab. Searched for "mailto". There was a single entry - when Chrome was installed it gave me no options to switch. After uninstalling Chrome I was able to change that. It still did not list Firefox, but it did list "Gmail". Selecting that causes my Gmail to open in Firefox.
    I have no idea whether Google or Microsoft is responsible for this, but I'm inclined to give the hairy eyeball to Google for this one. It's the sort of stunt they'd pull on Microsoft, then pretend it was just a mistake. Just one guy's opinion, of course.

  • Redirecting to the Home Page when clicking on close button of the Item in a list

    Hi all,
    I have a SPD Workflow configured in a site to show a link to the current item view form from the autogenerated mail, so that when a user clicks on the link , it gets redirected to the list item as a Viewform.aspx. on closing t hat the user will be redirected
    to the list and shown the allitems.aspc view of the list. But the user now wants to redirect to the Home page of the site. I have created and deployed the SPD WF using Designer 2010 and deployed to the production. But Now I am fearing that to achieve
    this requirement do I need to change the entire approach of SPD Workflow? If anyone has pointers please share with me.
    Thanks,
    K.V.N.PAVAN

    No, I said to set the Source parameter of the URL to the home page.  You have to do this in order for the browser to know where to send the user upon closing or updating the item.  This is how all redirects work in SharePoint.  If you go browse
    around and click on an item, you will see a Source parameter in the address bar.  The URL that comes after "&Source=" is the URL your browser will be sent to after you click "close."  This is how SharePoint remembers the context of where you
    were.  If you don't provide a Source parameter, then it defaults to the list where the item lives.  That's what you're currently doing, so you need to add a Source parameter to the URL you provide in the workflow email.
    http://sitename/list/DispForm.aspx?ID=[Current item: ID]&Source=http://sitename
    Something like that.
    SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force

Maybe you are looking for

  • Cannot get an invoice created with IWork Numbers to open correctly in Excel

    I used the Template in Numbers to create an invoice,and it's great. However, I cannot seem to open this file in Excel no matter how I send it, no matter how I save it. Have saved as windows friendly, have saved as Excel file. I have to be able to hav

  • Reporting in Hyperion Workspace

    Hi all, I am a beginner in Hyperion Workspace reporting and have slight hands on experience on Hyperion Planning. I created some planning applications, corresponding dataforms and business rules. Now while creating new reports from Workspace a report

  • Setting a default Analysis preference in OBIEE 11.1.1.6.2

    How do I set the default Catalog EDIT setting of a saved Analysis/Answers Quey i.e. instead of initially displaying the RESULTS it should firstly display the CRITERIA (to modify the Query) so that I could modify the saved Query and thereafter display

  • How to open Word with Lion?

    After getting Lion, I can't open my documents on 2004 Microsoft Word.  If I bought iwork would it open my documents?  What about Pages?

  • HT1277 how do you connect your outgoing mail, it says its constantly offline

    I have tried disconnecting and connecting my mail account a number of times and everytime i have tried to do this the outgoing server says its offline. How do i get it to stay online? Thanks