Session State is set to null when tab (from List) is clicked

Hi Gurus, et al,
Database: 10g Rel 2
APEX: 4.1.2
My application uses a tabbed navigation list to tab through different sections of the form. Each tab issues a doSubmit('tabname');. My application also uses Page 0 for regions that are common to several forms. When I tab through the form (called requisition), the session state for the page items is set to null while the page 0 remains intact. It seems like the doSubmit sets the page items to null. How can I prevent this from happening?
Also, it still happens on APEX 4.2.1 because I put the application on APEX.ORACLE.COM:
Workspace: RGWORK
Application: CSRSR (Application 60220)
Page: 8
Username: tester
Password: test123
Please follow these steps for this issue to occur
1. Run application 60220
2. Select the only choice on the menu (Creative Services Design Requisition (PA 0879))
3. List of Outstanding Requisitions is displayed
4. Click the edit icon next to the requisition Project Description is 'zazaza'
5. Change Date Needed to 3/31/2013
6. Click on the Project Type tab
7. All items are null for that tab (project type in the database = 'frame:dec')
Robert
http://apexjscss.blogspot.com

Denes,
While I appreciate your professional opinion, the issue still remains. I may not have the described the issue clearly. It seems that while the row is initially fetched (source type is only when null), project type and purpose items are not displayed initially with the infomation from the table when the appropriate tab is clicked. For example, while the row contains 'frame:dec' for project type, those checkboxes are checked on on the screen.
The form is "complex" for the following reasons:
1. Uses a wizard for new requisitions
2. Uses tabs for updates
3. Uses a Modal page to display outstanding requisitions for the user before the form is displayed
4. Uses common regions (on page 0) with other pages (3 pages uses project information, delivery, requesting department, and chargecode regions.
5. Authorized approvers popup list are populated
6. Manual tabular form is used for framing information including collections
I tried to uses application processes, application computations, package procedures and functions whenever possible.
SOMEONE, PLEASE HELP!
Robert
http://apexjscss.blogspot.com

Similar Messages

  • ASP Web Forms Error: Session state can only be used when enableSessionState is set to true

    Hello,
    I am developing a custom application page for a custom Web Forms I am creating, which I plan on using for custom task form into SharePoint 2010 Foundation.
    Currently, I am trying to test it in Debug Mode using Visual Studio 2010 but when I am trying to use Sessions I get the error:
    Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration
    I've already done this on trying to fix:
    On my page
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestForm.aspx.cs" Inherits="TestForm" EnableSessionState="True" %>
    And on my web.config
    <pages enableSessionState="true">..<httpModules>
    <remove name="Session" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </httpModules>
    Note: I am getting an error when I try to add <module> into web.config
    ASP .NET State Service is currently running.
    And the part where it keeps error is when in PageLoad, I try to set a List object something like this:
    List<object> myobject
    get
    if (Session["object"] == null)
    Session["object"] = new List<object>();
    return Session["object"] as List<object>;
    set
    Session["object"] = value;
    protected void Page_Load(object sender, EventArgs e)
    myobject= new List<object>();
    BUT the error still persists! I also try to restart IIS but still the error still happens.
    I am running out of ideas so can you help me out?
    Thank you!

    Could be your skype intercepting your requests at 80 port, in Skype options uncheck
    Or Your IE has connection checked for Proxy when there is no proxy
    Or your fiddler could intercept and act as proxy, uncheck it!
    Solves the above problem, It solved mine!
    HydTechie
    HydPhani

  • Session state can only be used when enablesessionstate is set to true.

    When I try to open up a certain webpage it says; Session state can only be used when enablesessionstate is set to true. What does it mean and what should I do?

    Contact the webmaster for that site and report the problem.

  • Installing Firefox 4 changed my tabs options so when I start load it starts a new session. I want to recover my tabs from my previous session. How?

    Installing Firefox 4 changed my tabs options so when I loaded, it has started a new session and not loaded the tabs I had open when I closed my last session.
    I want to recover my tabs from my previous session. Possible?
    My previous session had been open for over a week so this history is basically useless as it's cluttered with thousands of pages.

    # Press Alt+T
    # Click on Options
    # Go to General Panel
    # Under the category When Firefox Starts select "Show my windows and tabs from last time"
    ''<hr>Note: If anyone's reply has solved your problem, then please mark that reply as "Solved It" to the right of that reply after logging in your account. It will help us to concentrate on new questions.''

  • [svn:cairngorm3:] 17872: Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup .

    Revision: 17872
    Revision: 17872
    Author:   [email protected]
    Date:     2010-09-27 08:04:40 -0700 (Mon, 27 Sep 2010)
    Log Message:
    Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup. http://www.spicefactory.org/forum/viewtopic.php?p=3932. Added new sample to show model and view state interactions.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpFactory.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpWrapper.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/PopUpPM.as
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/src/PopUpModelExample.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopupWithModel.mxml

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Existing session is becoming null when returning from jsp

    Hi Guys !
    I have an urgent requirement to meet in few days from now and got stuck with session problem in servlet.
    Scenario :-
    For the first time when i call a servlet a new sessoin is created and after some validations i forward to a jsp which has some links.
    I have printed sessoin ids from both the servlet and jsp and they are same.
    Now when i clicked on the link in jsp , the servlet is called but session is lost its becoming null.
    Servlet Code :
    HttpSession session = request.getSession(false);
    if(session ==null){
    // create session code ....using getSession(true)
    RequestDispatcher r = servletcontext.getRequestDispatcher(resp.encodeURL("/user.jsp"));
    jsp code:-
    <a href="<%=response.encodeURL(/application/servlet/ViewUser") %">" > View User </a>
    GUYS GIVE ME A SUGGESTION IN THIS REGARD AS SOON AS POSSIBLE .....
    Thanks in advance !
    Aparna</a>

    Hi,
    Session Create Code in Login file
    HttpSession hs = req.getSession( true );
    hs.setAttribute( "user", lb.getUsername() ); // username() is ur unique id
    Session Tracking code in all file
                   HttpSession hs=request.getSession();
                   if ( hs == null || hs.getAttribute( "user" ) == null )
                        response.sendRedirect ( "./index.jsp" );
    Logout code
    HttpSession hs=req.getSession(false);
                   hs.setAttribute( "user", null );
                   hs.invalidate();
                   res.sendRedirect ( "./index.jsp" );
    // I hope this snippet will help u..

  • Setting doc. attributes when loading from web interface

    Hi!
    Does anyone know how can I "show" a form to set document attributes when uploading them from the web user interface?
    I saw that you can implement a JSP associated to the document class to set or modify the attribute values (or do whatever you want) but apparently it works AFTER the document has been loaded into de iFS (and so it relies on the user accessing the document after he has loaded it). This attributes would be required, so I need the user to set them WHEN uploading the document.
    How can I do that?
    Thanks in advance.
    Griselda

    I created my custom doc class, using iFSManager (or an XML file), but it's not clear how to bind the document to the custom type just defined.programmatically, you can bind by setting classname, in document definition, prior to creating document.
    or, registering classobject by extension parser, via ifsmanager
    Then, Can I search for the custom attibute that I've just defined?yes, ofcourse
    Please can You tell me where I can find the withe paper that you have mentioned?developer's guide

  • Open new tab from any webpage, click any link on new tab, waits till the page is loaded and try to go back one page on new tab (arrow is disabled).

    It happens whenever I open new tab from any wabpage. Once the tab is opened and initial webpage is loaded I may use any link to jump on another, second webpage in same tab. However, if I want to go back on initial webpage I can't do it cause that option (arrow) is disabled. I could use link on second webpage to jump on third, and only at that moment go back option becomes available again. However, I could not ever go back on initial webpage any more. As initial webpage has never existed.
    It happens quite often (95%).

    Right click the Back button and select the page you want to go back to from the list.
    If the list is too long to display via the Back button, hit CTRL+H, change the view to "Last Visited" and then load it from there instead.

  • When resuming from standby mouse-click/keyboard doesn't work.

    When resuming from standby about 80% of the time the mouse on my Macbook Pro (Early 2011) stops working. I think it is a software issue. It appears that the mouse will do a click or click and drag but will not let go when removing my fingers. The issue only happens within 5seconds of waking up. The issue is only fixed with a hard reboot. I can bring up the shutdown menu, but am unable to slect shut down as the mouse/keyboard won't give input. This issue was present in Lion and was gone for the first few months of Mavericks but appeared again this week.
    I can freely move around the mouse cursor and enter expose with three fingers but cannot select anything.
    Any help would be appreciated.
    Thanks.

    You can use viewToModel() method to get caret position for x, y location. No need to click.
    Regards,
    Stas

  • Setting page items when tab pressed?

    Does anyone know if you can set a page item when a standard tab is pressed on a page?
    Dan

    Or you might mean this:
    On the page on which you want to set an item:
    computation ->
    add ->
    item on this page ->
    select all the appropriate values using "after submit" for the computation point ->
    enter the computation static or dynamic value ->
    condition type: request = expression1 (where expression1 is the name of your static tab -- ex: T_MYTAB)
    You can also use one of the request !=, request in, request not in options for the condition type.

  • URLConnection returns NULL when called from within a weblogic servlet

    The following code snippet works when executed outside of weblogic, but does
    not work from within a weblogic servlet instance.
    URL u = new URL("http://" + ipString + newString.toString());
    URLConnection uc = u.openConnection();
    BufferedReader in = new BufferedReader (new InputStreamReader(uc.getInputStream()));
    String response = "", response2 = "";
    while(response2 != null)
         response = ((response2 = in.readLine()) == null) ? response : response + response2;
    The response is quite big. When this code is executed from within a weblogic servlet instance,
    in.readLine always returns a null right away. Yet a TCP/IP trace shows that the packets are coming
    back to my NT machine.
    Other info:
    Inside of weblogic:
    u's handler is of type weblogic.net.http.Hanlder
    uc is of type weblogic.net.http.HttpURLConnection
    Outside of weblogic:
    u's handler is of type sun.net.www.protocol.http.Handler
    uc is of type sun.new.www.protocol.http.HttpURLConnection
    Weblogic V4.51. Running on NT.
    Attempted the following to no avail:
    1. installing sp11
    2. changing the security to permission java.security.AllPermission;
    3. adding the following calls : uc.setRequestProperty("Content-Type", "text/xml");          
              uc.setDoInput(true);
              uc.setDoOutput(true);
    4. Started playing around with modifying the java.protocol.handler.pkgs system property,
    but I shouldn't have to do this.
    Any help would be appreciated.

    There are some problems with the WL implementations of certain protocols.
    WL hides the Sun implementations when you are in the WebLogic server. Here
    is an a solution that was posted to a similar problem:
    Https is an add-in so to speak. Try this before you create your url:
    System.setProperty ("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    // add the default security provider (again, in JSSE1.0.1)
    int iap = java.security.Security.addProvider(new
    com.sun.net.ssl.internal.ssl.Provider() );
    dennisNote how the code overides the WL setting which overode the Sun setting.
    Cameron Purdy
    [email protected]
    http://www.tangosol.com
    WebLogic Consulting Available
    "Brian Howell" <[email protected]> wrote in message
    news:[email protected]...
    >
    The following code snippet works when executed outside of weblogic, butdoes
    not work from within a weblogic servlet instance.
    URL u = new URL("http://" + ipString + newString.toString());
    URLConnection uc = u.openConnection();
    BufferedReader in = new BufferedReader (newInputStreamReader(uc.getInputStream()));
    >
    String response = "", response2 = "";
    while(response2 != null)
    response = ((response2 = in.readLine()) == null) ? response : response +response2;
    The response is quite big. When this code is executed from within aweblogic servlet instance,
    in.readLine always returns a null right away. Yet a TCP/IP trace showsthat the packets are coming
    back to my NT machine.
    Other info:
    Inside of weblogic:
    u's handler is of type weblogic.net.http.Hanlder
    uc is of type weblogic.net.http.HttpURLConnection
    Outside of weblogic:
    u's handler is of type sun.net.www.protocol.http.Handler
    uc is of type sun.new.www.protocol.http.HttpURLConnection
    Weblogic V4.51. Running on NT.
    Attempted the following to no avail:
    1. installing sp11
    2. changing the security to permission java.security.AllPermission;
    3. adding the following calls : uc.setRequestProperty("Content-Type","text/xml");
    uc.setDoInput(true);
    uc.setDoOutput(true);
    4. Started playing around with modifying the java.protocol.handler.pkgssystem property,
    but I shouldn't have to do this.
    Any help would be appreciated.

  • How do I set print size when printing from an IPhone or IPad?

    I have an HP Deskjet 3520. Today (11/24/12) is the first time I tried to e-print with both an IPhone and IPad (both IOS 6.01).  I was able to print easily from both devices. I tried a document from the Notes app on the IPhone and a photo from both the IPhone and IPad. The problem is that I had no idea what the print size would be because there were no formatting options prior to the printing. I printed on letter size paper. Do I need an app for that or is there another solution?

    Airprint will just default based on the printer options, and the file type. If you had a printer with a separate photo tray it would default to 4x6 or 5x7 if it is in the photo tray and you are printing a picture, most other files would use standard letter size.
    The HP ePrint app is what you want for this, it is free in the app store. This will give you options to set the paper type and size.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • How to set text size when printi from a web page

    can't increase text size when printing a web page

    If you're using IE, click on View, Text Size and then whatever size you'd like.  You'll see the changes on the screen and it should print out the same way.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • How to set Bin Location when adding Pick List by DI

    I would like to add Pick Lists by DI.
    This is Working but if i Try to Add a Bin Location by using This Code:
        oPL.Lines.BinAllocations.BinAbsEntry = Convert.ToInt32(binabs[a]);
        oPL.Lines.BinAllocations.Quantity = Convert.ToDouble( quantity[a]) ;
    i'll get iternal error -2007
    if i Update the Picklist afert addig using above mentioned code update runs without error Message but no Bin Locations are visible in Pick List.
    Picklist looks like this:

    Hi Fabian,
    SAPbobsCOM.PickLists oPickList = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists);
    oPickList.Lines.BaseObjectType = "17";
    oPickList.Lines.OrderEntry = 378;
    oPickList.Lines.OrderRowID = 0;
    oPickList.Lines.ReleasedQuantity = 5;
    if (oPickList.Add() != 0)
        System.Windows.Forms.MessageBox.Show("Error : " + SBO_Company.GetLastErrorDescription());
    //Screenshot 1
    if (oPickList.GetByKey(Convert.ToInt32(SBO_Company.GetNewObjectKey())))
        oPickList.Lines.BinAllocations.BinAbsEntry = 1; // 05-SYSTEM-BIN-LOCATION
        oPickList.Lines.BinAllocations.Quantity = oPickList.Lines.ReleasedQuantity;
        if (oPickList.UpdateReleasedAllocation() != 0)
            System.Windows.Forms.MessageBox.Show("Error : " + SBO_Company.GetLastErrorDescription());
    //Screenshot2
    Screenshot 1
    Screenshot 2
    regards,
    Maik

  • How to set condition for my Choose From List

    hi ..plz check my code...i want to set a condition on my CFL which opens GL Accounts..it has to show only Active Accounts...but when i run the program iam able to see all accounts..what might me the proble..
    my code is as follows
    '''''''''' load form
    private sub loadform()
    '' here iam loading form which is designed in Screen painter where i have a textbox (uid = 19) and CFL_2 as its choosefromlist and object type = 1 alias name = ActCode
    conditionCFL()
    oform.visble = true
    end sub
    '''''''''' end of load form
    '''''''''setting condition
    private sub ConditionCFL()
    Try
                Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                ' Adding 2 CFL, one for the button and one for the edit text.
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "1"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
                ' Adding Conditions to CFL1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "Postable"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "Y"
                oCFL.SetConditions(oCons)
                oCFLCreationParams.UniqueID = "CFL2"
                oCFL = oCFLs.Add(oCFLCreationParams)
            Catch
                MsgBox(Err.Description)
            End Try
    end sub
    '''''''''end of setting condition
    i have still more code...plz follow the next code which is posted below.....

    continuation from above code...plz foloow complete code
    '''''''''''item event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            Dim EventEnum As SAPbouiCOM.BoEventTypes
            EventEnum = pVal.EventType
            Try
                Select Case pVal.EventType
                    Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
                        If pVal.BeforeAction = True Then
                          Dim oCFLEvent As SAPbouiCOM.IChooseFromListEvent = DirectCast(pVal, SAPbouiCOM.IChooseFromListEvent)
                            Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvent.SelectedObjects
                            Dim val As String
                            Try
                                If pVal.ItemUID = "19" Then
                                   Me.oDBDataSource.SetValue("U_BalenceSheet_Acct", 0, oCFLEvent.SelectedObjects.GetValue(0, 0))
                                End If
                             Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
                        End If
                        Exit Select
                End Select
                           Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
    end sub
    ''''''''''end of item event
    Edited by: Shenaz Sultana on Nov 13, 2009 2:18 PM

Maybe you are looking for