Clear form when changing tab or page

I do have a few pages which hold information separated into many tabs. Within the tabs are porlets consisting of one form portlet and a report portlet. I used the query button in on form and change the tab or page and did changes on the other tab/page. If I go back to the original tab/page the form stays in the query state holding the values of the last query. This is dangerous because I could have changed the data of the table behind the form on another page. Therefore I want to reset the form every time I leave the the tab/page where the form is. Has everyone tried this and succeeded?
Thanks for you help.
Alexandra

I don't know exacly why this does not work for your system as
well. I can just guess. There is another configuration for
caching in the main configuration of PORTAL I think it is the
file http.conf under Oracle\iSuites\Apache\Apache\conf. My system
admin told me that he had totally disabled the caching option for
PORTAL. This is how my http.conf file looks like at the lines
that have to do with caching:
# CacheNegotiatedDocs: By default, Apache sends "Pragma:
no-cache" with each
# document that was negotiated on the basis of content. This asks
proxy
# servers not to cache the document. Uncommenting the following
line disables
# this behavior, and proxies will be allowed to cache the
documents.
#CacheNegotiatedDocs
# To enable the cache as well, edit and uncomment the following
lines:
# (no cacheing without CacheRoot)
#CacheRoot "D:\ORACLE\iSuites\Apache\Apache\proxy"
#CacheSize 5
#CacheGcInterval 4
#CacheMaxExpire 24
#CacheLastModifiedFactor 0.1
#CacheDefaultExpire 1
#NoCache a_domain.com another_domain.edu joes.garage_sale.com
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First either `none'
# or `dbm:/path/to/file' for the mechanism to use and
# second the expiring timeout (in seconds).
#SSLSessionCache none
#SSLSessionCache shm:logs\ssl_scache(512000)
SSLSessionCache dbm:logs\ssl_scache
SSLSessionCacheTimeout 300
Don't know if this helps. But it works for 3.0.8.9

Similar Messages

  • Clearing Form when changing from Insert Mode to Enter/Execute Query

    Morning folks,
    I need some help or pointers with a form I am working on. At startup, the form is in Insert mode. I am using Oracle Forms 9i.
    Goal: Clear the form with NO_VALIDATE when User enters an ID in Insert mode and clicks on the Execute Query button(DEFAULT&SMARTBAR Inbuilt Menu)
    The user can do two things when they first open the screen.
    Option 1: Enter the STUDENT_ID and press Tab
    Option 2: Enter the STUDENT_ID and press the Execute Query button (Part of the DEFAULT&SMARTBAR Inbuilt Menu)
    There is a When-Validate-Item trigger on STUDENT_ID to check if the Student ID already exists in the database. If it does, it gives an Error message saying "Student ID found. Please Query the record or enter a new Student ID". This is fine with Option 1.
    The problem arises with Option 2. When I Enter a Student ID in Insert Mode and (thinking I am in Enter Query mode) and press the Execute Query button, I get two messages:
    Message 1: "Student ID found. Please Query the record or enter a new Student ID"
    Message 2: Oracle message "Do you want to save the changes? Yes/No/Cancel.
    Is there a way to stop this *Message 2?*
    Here is what I have done to try and mitigate this situation. I have created a non database field and have called it clear_form.
    In When-Validate-Item I set the field clear_form = 1 when I encounter *Message 1*
    {code}
    if t_record_exists > 0 then
    set_alert_property('ALERT_ERROR',ALERT_MESSAGE_TEXT,'Student ID found. Please Query the record or enter a new Student ID');
    alert_button := show_alert('ALERT_ERROR');
    :clear_form := 1;
    end if;
    {code}
    By creating *Key-EXEQRY* Trigger at Form Level, I was hoping that it would just clear the form. I put some messages and its seems to me that *KEY-EXEQRY* is firing first and then the *WHEN-VALIDATE-ITEM*. Is there a way to have the *WHEN-VALIDATE-ITEM* trigger fire first?
    {code}
    if :clear_form is null then
    execute_query;
    else
    clear_form(no_validate);
    end if;
    {code}
    Thanks!
    Edited by: Roxyrollers on Sep 28, 2012 8:50 AM
    Edited by: Roxyrollers on Sep 28, 2012 9:45 AM

    Having the actual Student_ID column from the table is dangerous, since it is also the key to the student's data. What if the user properly executes a query, showing a student's data, and then wants to look up another student, so keys in the new ID. If he then presses Execute Query, the Form asks "Do you want to save your changes?"
    If the user presses Yes, the new ID becomes the previous student's key.
    It would be better if you put the student_ID field in a control block. Then, the user enters a Student_ID, and presses Execute Query, the query then populates the student's data in the Base Table block. In the B_T block, the actual Student_ID column should be hidden.

  • Forcing Save when changing Tab Pages

    Hi,
    I have a form with four different tab pages
    and a common "Save" button (that performs
    the Form commit).
    The problem is that I would like to force
    the user to commit any changes they have
    made in one tab pages before allowing them
    to change tabs.
    Sort of a PRE-TAB-CHANGE trigger.
    Any ideas on how to solve this ?
    Thanks in advance.
    Regards,
    Klas Malmstrom

    Hi
    You may use trigger When-Tab-Page-Changed, asking for commit and if user answers 'NO' return him to previous Tab.
    Andrew.

  • Calling a form in a tab from another form in another tab, same page

    I've created a page with three tabs and a different form for each tab, then
    I've placed a button in each form to call the following form, using this code:
    htp.formOpen('PORTALORACLE.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1544154288&
    p_arg_names=_show_header&p_arg_values=YES&
    p_arg_names=id_dip&p_arg_values='||to_char(v_id_dip)||'&p_arg_names=_id_dip_cond&p_arg_values==', 'post');
    htp.formSubmit(NULL,'next form');
    It works fine but loads a new page for each form instead of switching the tabs.
    How can I get it works as intended?
    thanks for the help
    Alessio

    If I have got your requirement correct, then this is what you are looking for :-
    1> you have 3 forms, one in each tab
    2> there is a button in a form in tab1 and when you click the button, the information entered in the form in tab1 will be passed to the form in say, tab3, and page with tab3 should be shown.
    This is possible. You need to write some pl/sql code to get this done.
    Portal provides a placeholder object called wwsto_api_session. The methods of this object will enable you to set and get values.
    The general steps would be :-
    1> for the form in tab1, write pl/sql button handler code for the button to set the form inputs into the wwsto_api_session object
    2> Use form's Call/Go feature to call/go to the URL of the page's 3rd tab;
    3> for the form in tab3, write pl/sql code in the additional pl/sql section (...before displaying the page) to get the values from the placeholder object and use it in the form.
    The usage of wwsto_api_session placeholder object is available in the following Discussion Forum post :-
    Re: session state security

  • How to get an empty form when we run the page?

    Hi all!
    Hope you are well
    My question is, how to get an empty form at run time? means when we run the page, text fields are filled with blank....Could anyone please help me with this..
    Thanks in advance,
    nanda.

    Hi Nanda,
    Just follow these steps:
    1) Create a bounded taskflow (uncheck the create with fragments checkbox)
    2) Drag the CreateInsert operation on your bounded taskflow and mark it as the default activity
    3) Drag a view and link the CreateInsert to the view component using a control flow case
    4) Double click on the view to create the page
    5) Drag the view object on the page as an ADF form
    6) Go back to your bounded taskflow and from the General tab make sure under visibitliy you select "url-invoke-allowed"
    Run you tasfklow and your form will be rendered in insert mode.
    Regards
    Antonis

  • Facebook turns black when changing tabs... How can I fix this?

    Whenever I'm on safari and I open my facebook it works just fine. But when I go to another tab and return to my facebook tab the page is all of parts of ik are black and I have to refresh the page for facebook to look normal. This has been going on quite a while and it never really bothered me, but now it's just getting annoying! Does anybody have a solution or know what to do? Thanks in advance!

    I have the same problem but if you go back to another tab and quickly back to facebook it'll go back to normal. I know it doesn't solve anything but its an alternative to refreshing the page... probably just as annoying though

  • "Forms" and "Links" tab in "Page Info" dialogue

    In Firefox 2.x the "Page Info" dialogue has the "Forms" and "Links" tabs, but they are gone in the latest version.
    It seems that this is not documented in the Release Notes.
    How can these functionalities be restored ?

    You can look at this extension:
    *Link And Forminfo: https://addons.mozilla.org/firefox/addon/6939

  • When New Tab Canvas/Page?

    What is the best way to determine when you user has navigated to a new tab canvas/page when the navigation does not occur by clicking on the tab canvas's Tab? For instance, when the user clicks a button item that navigates to a different tab canvas/page I want to disable the tab canvas/page the user came from.
    Any help would be greatly appreciated.

    Hi
    i asked that question before pls read the following link
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2191397
    Amatu Allah

  • Clear data bag, when change tab in top level navigation!?

    Hi, i had search the forum, but i don't find an answer!
    I have the following problem:
    We have to clear the client data bag (EPCM), when the user change the tab,
    but how can i do something, when the user change? Is there a event and i only must subscript on this event, or what can i do?
    I would be lucky with some ideas or a solution!
    Lars

    Hi Lars,
    IF u are using HTMLB tabstrip then there is event for tabitem change.
    For instance :
    <hbj:tabStrip
    id="myTabStrip1"
    bodyHeight="100"
    width="200"
    horizontalAlignment="CENTER"
    verticalAlignment="TOP"
    selection="3"
    tooltip="Tooltip for myTabStrip1"
    >
    <hbj:tabStripItem
    id="myTabStripItem1"
    index="1"
    height="80"
    width="160"
    onSelect="myTabStripItem1OnSelect"
    title="Tab 1"
    tooltip="My Tooltip for Tab 1"
    >
    <hbj:tabStripItemBody>
    <hbj:textView
    text="TextView on Tab 1"
    />
    </hbj:tabStripItemBody>
    </hbj:tabStripItem>
    <hbj:tabStripItem
    id="myTabStripItem2"
    index="2"
    height="80"
    width="160"
    onSelect="myTabStripItem2OnSelect"
    title="Tab 2"
    tooltip="My Tooltip for Tab 2"
    >
    <hbj:tabStripItemBody>
    <hbj:textView
    text="TextView on Tab 2"
    />
    </hbj:tabStripItemBody>
    </hbj:tabStripItem>
    So for the change in selection u can define an event and write your logic in this event handler in ur controller.
    check all the controls of tabstrip in below pdf
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a41cee4-0601-0010-5fb3-d8e704f88817">EP pdf</a>
    Thanks
    Swathi
    Do offer pts:-)

  • Change tab control page programatically using boolean.

    I am wondering if there is a way to programatically change the tabs on tab control when a user clicks a button on  the interface? Here is what I am trying to do and if anybody has any great ideas please let me know. I have a tab control with currently 3 tabs. I want a button on the main area of the vi to go to page 2 and back to page 1 as the user clicks it. The second is that I want about 5 buttons in page 2 that will go to say page 3-5. Any ideas. Thanks
    Derek Tucker
    Derek Tucker
    [email protected]

    Sure, though I don't know why the user can't just click the tabs themselves. All you need is a simple event structure and writing to a local variable of the tab control.
    Attachments:
    tab control.vi ‏43 KB

  • Random artifacts appear when changing tabs

    For some time, I've been getting occasional (though seemingly more and more frequent) weird artifacts on my browser when going to another tab. As you can see (outlined with red circles for visibility), the address bar changes to the other tab but the contents don't and when i move my cursor on the screen, the elements from the correct tab do load when touched by the cursor but the site doesn't show as it should until I select yet another tab and then the correct one again. Here are the screenshots:
    http://i.imgur.com/dJ3J9XL.png
    http://i.imgur.com/NsqT8Le.png
    My setup is Firefox 33.1 (though it happened for long enough that I think the previous versions were also affected), Windows 7 x64 Professional. I have hardware acceleration turned off, I also tried browsing in safe mode (with all add-ons turned off) but the same thing happens. What may be the problem?

    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Try to disable OMTC and leave hardware acceleration in Firefox enabled.
    *<b>about:config</b> page: layers.offmainthreadcomposition.enabled = false
    *http://kb.mozillazine.org/about:config

  • The Consistence appearance of Forms when called from a page's Portlets

    Hi,
    I have created forms,reports(i.e portlets) and added these portlets in a page and created appropriate tabs for them and for pages i used styles to give them a consistent look. Some of Forms and reports calls other forms but that forms do'nt show that looks(color, background image). How can i make that Forms and reports to show the same colors and other things( as visual attributes in developer 2000) for consistency.
    Thanks
    Muhammad Ejaz

    there should be a method like getPortletBakcingContexts() for you but there is not - I will file an enhancemet request.
    In the mean time i think you can use
    public List getRenderedChildrenWindowBackingContexts()
    and do an instance of of the objects in the list
    Chris Jolley
    Portal Architect

  • URL region error when changing tabs

    G'day all,
    I've created a page in my app to have a url region in it but every time I access that page then go to another I get the dreaded /pls/otn/wwv_flow.accept was not found error.
    I've now tried in 3 environments:
    1. Oracle HTMLDB site - app 2780 page 5
    2. DB 9.2.0.4 Win2K HTMLDB 1.6.1
    3. DB 10g Linux RedHat EL 3.0 HTMLDB 1.6
    and get the same result on all of them.
    The URL I'm currently trying is very basic (http://www.google.com.au)
    Any ideas ???
    Greg

    Greg,
    URL regions work ok for pulling content from another site onto your HTML DB page. They don't work as well for situating that site's page within the FORM that is an integral part of each HTML DB page and having the "pulled" page operate as it would in an independent request. First, there are HTML issues that are not immediately solved having to do with relative vs. absolute URLs on the pulled page, where that page gets its images and script, the base HREF, etc. Second, there are limitations on the type of response returned by that page request: anything other than HTML will trip up the underlying use of utl_http.request. Third, forms that operate correctly in the foreign page when requested natively may not (often won't) work when embedded within the HTML DB standard page form.
    Scott

  • Subreport tabs are re-querying the database when changing tabs

    I've got a simple report with embedded subreports that open in a new tab in the viewer.  When I switch between tabs, the tab is re-running the query and rebuilding the report or subreport.  Is there a way to prevent this and just display the already-rendered report?

    start with storing the report in session so that it uses the session object on each postback (paging, drilling, etc all cause postbacks) instead of reopening the report each time.

  • Firefox mozilla 15 stutter when scrolling and when changing tabs

    have the latest Adobe flash player installed
    the latest nvidia driver for Gigabyte GTX460 1GB
    4GB DDR3
    windows 7 64bit
    microsoft essential antivirus

    Gigabyte GTX460 1GB
    302.41

Maybe you are looking for

  • I have 5 iphones on one account and all contacts have merged together after the update

    I have 5 iPhones and they are all on the family plan, so we all use the same account and now all of our contacts have merged together after the update to ios5. What do I do?

  • Customer Group wise sales

    hi is there any standard report to check customer  group wise sales. Rajendra

  • IOS 4 software ALL features should work on ALL devices

    It's really not fair. I bought an iPod touch when they were about $300 canadian. (tax included) and i have the 2nd gen touch. ive wanted to change the homescreen background ever since i got it. So all the people who bought the newer iPods and iPhones

  • Can't Edit a Link

    For some reason I am now unable to edit an existing link on a site that I am working on. It is now grayed out when I try to edit the link. What did I change or what needs to change now so I can redit.

  • I can't believe it takes this long to create a DVD...

    Ok, I just bought a new Intel iMac 20" Dual Core 2.66 ghz with 2 gig of RAM and iDVD has been sitting on the Burn step with a message of "Writing..." for about 6 hours now. I've burned data DVD's before and it took about 45 minutes on my old PB G4 86