Clearing Page Parameters After Use

Whenever a parameter is sent to a page, either from a portlet event or otherwise, the parameter remains active accross multiple requests to the same page. This causes a problem in my particular scenario.
Consider a root page that has 2 tabs. Tab 1 has a portlet that raises an event and populates a parameter that is passed to the same page for use by another portlet in Tab 2. This works fine the first time the event is raised. However, multiple accesses to Tab 2 by means other than the event need to use a default value. But this only works if the event parameter does not exist.
Is there a way to set up my scenario so that the event parameter is cleared after its use?

Hello,
In your onchange event of the select list you can put some code like: onchange="javascript:$x('P1_POSTAL_CODE').value = '';$x('P1_ADDRESS').value = '';"
Instead of the inline javascript you can also create a function in javascript and just call the function in the onchange event.
I'm not sure anymore if it also works in 3.1.1 but in the latest version of APEX you can use $v('P1_POSTAL_CODE') = ''
Hope that helps.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum

Similar Messages

  • XFCE: Pager broken after using compiz-fusion[SOLVED]

    Hi, I had problems with my pager when using compiz and after using...
    1. When using compiz the pager boxes(4) does not show but you can click on it..
    2. After disabling compiz, my pager won't let me choose number of virtual desktops anymore...:(
    Thanks in advance...this is my 1st time using compiz on xfce...
    update:
    I solved the issue, thanks anyway...:D
    On the compizconfig settings ---> General Options ---> Desktop Size
    I had set this values on the ff:
    Horizontal Virtual Size = 4
    Vertical Virtual Size = 2
    Number of Desktops = 4
    Thats it!
    Now I have a 2 column 4 workspace pager...
    Last edited by kaola_linux (2009-01-06 08:45:37)

    Wow this was really bugging me. Thanks so much!

  • I usually type the word "clear" and "exit" after using terminal. Is this Ok?

    Hi,
    I was using Terminal in my MacBook Pro to check if it was infected with the flashback Trojan but all results were negative. After confirming that I was not infected I typed the word "clear" and then the word "exit" before quitting terminal.
    Is this the appropriate procedure to close the terminal in OSX? Or it is an overkill? Will these commands affect the functionality of the command line in the future?
    Many thanks!

    Those commands won't help or hurt anything.
    (65448)

  • Updating pages, iTunes after using migration assistant.

    I recently used migration assistant as a data transfer, now I no longer have access to the 'stacks' documents, and when I open pages etc. it says I need to update it, even though I had installed them as a new app when I bought my computer... can anyone explain this to me.

    Software updates are made available from time to time, and one may have been released for Pages since you bought your computer.

  • After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help.

    After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help. It's very annoying. It even happened in the middle of a chat with Apple online support. I'd be very grateful for help!

    Several things come to mind ... when you say your wife uses the same system with a different login and doesn't have issues, that suggests looking at your login items. Go to System Preferences (on your dock or on your hard drive in Applications), accounts, and on your account look at login items. Anything there that shouldn't be or isn't used? If you don't know, create a new account for yourself with no login items, and see if you still have the issue.
    Next, I would run OnyX, which is a free disk maintenance program. You can download it from http://www.titanium.free.fr/download.php . Do the tasks on the cleaning and maintenance tabs. Before using any disk maintenance software, you should have a system backup. I periodically run it, and others have found that it can help with performance.
    You might look at how you're system is using memory. You should have enough but it's easy to check. Bring up the Activity Monitor (on your hard drive in Applications/Utilities), and look at the system memory tab. Note page ins and page outs. If page outs are 10% to 15% more than page ins, you can use more memory for the programs you run. A page out occurs when memory is full and OS X has to write a section of memory to the hard drive. Too much of this can really impact performance. The optimal situation is for page outs to be zero.  Note these  values reset on a system boot.

  • Option 2: Clear URL parameters jut before page is displayed

    Is it possible to clear the URL parameters after they have
    been used to
    filter out recordsets, etc. but before the page is displayed
    so that the URL
    address does not have any url paramters ?
    A

    I did, thing is that it is using the 'insert' behaivor from
    DW, I went to
    the line where the Querystring is added to the URL and
    commented it. That
    did the trick.
    A
    "RobGT" <[email protected]> wrote in
    message
    news:ej1nkq$krp$[email protected]..
    >
    > Send them through a form POST instead of using GET?
    > Cheers,
    > Rob
    >
    http://robgt.com/ [Tutorials and
    Extensions]
    > Firebox stuff:
    http://robgt.com/firebox
    > Skype stuff:
    http://robgt.com/skype
    > SatNav stuff:
    http://robgt.com/satnav
    >
    >

  • HT5622 I was making new Apple ID with my other Email on iTunes, but I canceled the process on payment page. After a while i went to make a new ID with same Email but it says the Email is already in use! what should i do?

    I was making new Apple ID with my other Email on iTunes, but I canceled the process on payment page. After a while I went to make a new ID with same Email but it says the Email is already in use! what should i do?

    You will need to try changing the email address on the first account and see if you can then re-use it on a new account - you can try changing the email address via http://appleid.apple.com or by logging into it via the Store > View Account menu option on a computer's iTunes (if you don't have a spare email account then you can create one via http://gmail.com or http://hotmail.com)

  • After using my macbook for 2 years with same printer,all of a sudden I can't print a page doc even though printer is working and I can print from I/Mail, etc.Anybody had this happen and have a possible answer?

    After using my MacBook Pro and pages for 2 years with the same printer, all of a sudden I can't print a pages doc even though the printer works and I can print from I/Mail, etc. Anyone have a possible answer?

    Often printing problems are a sign of corrupt preferences. Go to HD > Users > (your account) > Library > Preferences, delete the com.apple.iwork.pages.plist file & then restart Pages.

  • The scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture.

    the scroll back gesture to the previous page, even after i sign out of my email account or Facebook anyone can still be able to see the content in the accounts just by scrolling back using the gesture. how can i stop safari from showing the content of my accounts?

    Try calling Tech Support, they should be able to check to see if theres a lock and try to help you reset it, I had to call and get my account unflagged, for something that I didn't even do.

  • Open new tab (before update, clear page) after update a web page search engine (unwanted) )

    After clicking on the plus sign (new tab) this comes up:
    www.delta-search.com/?babsrc=NT_ss&mntrId=067974DE2B19E349&affID=119820&tt=040713_ctrl&tsp=4935
    I have never requested this nor I have ever heard of it.
    I have tried to find where this page resides to no avail, can someone tell me please how do I eliminate this website and all I want is to have a clear page when I click on (Open a new tab)

    install the [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Search Reset Tool]. and remove "Delta Search" from the control panel, also delete a possible user.js file
    https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save#w_user-js-file-overriding-preferences
    * [[Remove a toolbar that has taken over your Firefox search or home page]].
    Did this fix the problem? Let us know!

  • Bookmarks are saved yet after using the page icon is still displayed instead of the actual icon for the website. I have followed the directions for "Favicons do not display".

    My bookmarks, on a HP Pavilion dv-7-2273cl notebook, are saved yet the page icon is still displayed after using the bookmark instead of the actual icon for the website. I have followed the directions for "Favicons do not display" without any success. This problem is not experienced on my much older Gateway desktop.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_places-database-file

  • Please rate the After Effects Help pages you find useful

    You may have noticed that Adobe employees and Community Experts hanging in this forum keep pointing users to the relevant sections in After Effects Help on the Web. The reason for this is, of course, that the quality of explanations, visual examples, video tutorials and other materials in those pages is much higher than what anyone could quickly type in a forum reply. Personally, I think AE help has experienced a drastic overhaul in the last few years, to become a great, community-driven, user-focused resource.
    if you find these pages helpful, you can in return help the documentation team by stating which pages you find useful by using the buttons at the bottom of each page.

    You should also leave comments to tell us what other information you'd like to see... or to leave a tip, link, or technique of your own.
    After Effects CS4 Help

  • Clear the Parameters on a Page

    Hi,
    Does anyone out there know who to clear the parameters on a page? I have users that input values into feilds on a page and when they press submit the results return. Now I want the users to be able to press another button to clear their inputs. The reset button does not work for this, it only resets the parameters to what they were when I pressed submit. I just need to know how to clear the parameters on a page. Please help!
    Thanks!

    try to add a button and put the following code in the controller. This is not a advisable approach in OAF , but it avoids the screen to be posted to the server even when clearing the input fields.
    StringBuffer resetScript = new StringBuffer("function formClear() {     ");
                   resetScript.append("     ");
                   resetScript.append("     for( i=0; i<document.forms[0].elements.length; i++) { ");
                   resetScript.append("          if(!document.forms[0].elements.readOnly){     ");
                   resetScript.append("          if (( document.forms[0].elements[i].type == 'text' ) || ( document.forms[0].elements[i].type == 'textarea' ) || ( document.forms[0].elements[i].type == 'password' )) {     ");
                   resetScript.append("               document.forms[0].elements[i].value = '';     ");
                   resetScript.append("          }     ");
                   resetScript.append("          if ( document.forms[0].elements[i].type == 'checkbox' ) {     ");
                   resetScript.append("               document.forms[0].elements[i].checked = false;     ");
                   resetScript.append("          }     ");
                   resetScript.append("          if ( document.forms[0].elements[i].type == 'select-one' && ( document.forms[0].elements[i].length != 0 )) {     ");
                   resetScript.append("               document.forms[0].elements[i].options[0].selected = true;     ");
                   resetScript.append("          }     ");
                   resetScript.append("     }     ");
                   resetScript.append("     }     ");
                   resetScript.append("     return;     ");
                   resetScript.append("}");
              pageContext.putJavaScriptFunction("formClear", new String(resetScript));
              OAButtonBean resetButton = (OAButtonBean) webBean.findIndexedChildRecursive("reset");
    if(resetButton != null)
    resetButton.setDestination("javascript:formClear('" + "');");

  • After installing 8.2 on my iPad all the apps crash during use. It appears that the iPad saves a version of what I was using because after the app crashes I double press the home button an there is a screen of an older version of the page I was using.

    After installing 8.2 on my iPad (2nd gen) all the apps crash during use. It appears that the iPad saves a version of what I was using because after the app crashes I double press the home button an there is a screen of an older version of the page I was using. I swipe it away and start over, only to have the same thing happen again. I have reinstalled all the apps, rebooted, synced and re-synced with iTunes. This is VERY irritating!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • Pages file document went missing after force quit. cant find it anywhere even after using recovering files softwares. HELP

    pages file document went missing after force quit. cant find it anywhere even after using recovering files softwares. HELP
    i was working on a document with pages. while transferring files from USB, the 'pinball' thing popped up for the longest time which lead me to force quit the document. the document had been saved before quitting. however, my macbook starts to reboot, and after rebooting that specific file is missing. Before it quit, it says that the file is locked and asked me to create a duplicate, which i clicked yes to.

    Hi,
    just to say that while waiting for a help
    I decided to go back from zero and moved to a second network (thanks i got some few computers available for my tests ) and this time i run in another trouble wich is the subject of a former post (with no reply...) <<HELP!! "Checksum failed" & "Integrity check on decrypted field failed ">>
    http://forum.java.sun.com/thread.jspa?threadID=791804&messageID=9468957#9468957
    Seems this always just leads us to problems...
    Strange Sun Java Security Team just won't do anything to help us deploy quite easily on one of the most widely-spread platform ( despite we don't like them that much it's MS servers (2000 and 2003) )
    Anyway if one could help... on one of the two issues Thanks

Maybe you are looking for

  • After iOS8 update my iphone 5 doesn't connect the wifi properly and battery dies instantly

    Hi, I have upgraded my iphone 5 to iOS 8 and after that the full 100% battery discharges instantly even if I do not use any apps.I have to charge it every 2 hours. I do not know what to do now it became unreliable. Second issue is that I cannot conne

  • Error messages in Process chains

    Hello BI fans In which transaction can I maintain batch-initiated error messages from process chains. I am not looking for the process chain variant for messages. I would like to create messages only for errorness messages. thanks BEO

  • How to create a custom listview with a specific listview item style?

    Hi everybody, I am trying to implement a custom image gallery. It has a very distinct design though, It supports drag and drop reordering. Each item has a button on the left and a thumbnail. The drag and drop should happen only when we drag the thumb

  • Getting socket permission exception

    package LoadDriver; import java.sql.*; public class LoadDriver public Statement driver() throws Exception String dbUrl = "jdbc:db2:deal://extreme:50000"; String user =""; String password =""; Statement s; Class.forName("com.ibm.db2.jcc.DB2Driver"); C

  • Record selection issue in same table

    Hi All I have the following table with emp as (            select '11' A,'aaa' B, '40' C from dual union all            select '11','bbb', '40' from dual union all            select '33','ccc', '30' from dual union all            select '44','ddd', '