How to reference session state in a list entry label

You can use &<item>. to reference session state values which can then be used in titles and item labels but it seems it does not work in the label for a list entry (i.e. to build a menu).  Is there a workaround?
thanks in advance
PaulP

OK I just realized that referencing session state doesn't work for lists used by Enkitec's NavBar plugin solution.  It does reference the &<ITEM>. correctly for normal APEX lists. Anyone know how to reference session state when using Enkitec's NavBar plugin solution?
PaulP

Similar Messages

  • How to update session state from form field values without submitting page?

    Hi,
    I am new to Oracle APEX. I am using Oracle Apex 4.2 on Oracle 11g release 2. The problem is that when I am entering data on a form, when I enter a value in one field and move to the next field, how can I use the value of first field in the validation procedure of next field? I know that when we enter data in fields, the session state is not updated with these values until we submit the page... right... but I have seen that if there is a control of List box type, then Apex gives an option "Action When List changes" where we can choose option to update corresponding session state field with the value of list box item, without submitting the page.
    Now my questions is why this option is only available for List box items? why not for other item types like Text box, Check box,... ? can someone please help me with this?
    (the issue with update of session state depending on page submitting, is that we need a complete network round trip from client to server in order for it. However if we can update session state variables without submitting page, then we can avoid this network traffic).
    Any help will be greatly appreciated. Thanks in advance.

    Create a dynamic action on change and run a PL/SQL process there with the following code:
    BEGIN
       NULL;
    END;Page items to submit > your item.
    This will set the session state without submitting the form.
    Further examples here:
    http://apex.oracle.com/pls/apex/f?p=31517:229
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • [urgent] How to enable session state without modifying web.config ?

    HI ,
    We have customized a new master page to our site. We have a requirement to use session (HTTContext.current.session) , to save data , then we have an error session is null , so we excuted the
    Enable-SPSessionStateService-DefaultProvision
    We have no access to the web.config ! so we cant change the ligne from <pages enablesessionstate="false"  to <pages enablesessionstate="true" , so we wanted to add enablesessionstate="true" in the page wich caused
    the probleme and we had a new error "enablesessionstate is not allowed in this page".
    How can we resolve this problem without modifying the Web.config ?? a have benn blocked since 2 days ! Any help will be great. Thanks in advance :)

    Hi Bouhmind,
    Thanks for posting this issue, you can enable session by setting enablesessionstat="true" in page directive as you try. Also, you need to do some configuration in your IIS. Kindly browse the below mentioned  URL to do that configuration in
    IIS.
    http://ammarfassy.wordpress.com/2012/04/06/session-state-can-only-be-used-when-enablesessionstate-is-set-to-true/
    I hope this is helpful to you. If this works, Please mark it as Answered. 
    Regards, 
    Dharmendra Singh (MCPD-EA | MCTS) 
    Blog :
    http://sharepoint-community.net/profile/DharmendraSingh

  • How to use session state protection

    I use Apex 3.2.1
    I access my site by a url passing a parameter like this : f?p=101:1:0::::ITEM1:1234567. There is no login and password to access the site.
    The value of the parameter ITEM1 is the authorization of the first page, with a database function for the verification.
    To secure my site I want to use session state protection so, I enabled it , then I defined "Arguments Must have checksum" for the page 1.
    Now , when i try to acces my site with the same url it does not work.
    it is the first time a try to use session state protection, could someone tell me what's wrong?

    Hi user5719906,
    I would suggest that as you need to pass an item and are unable to generate a checksum as you are not yet logged in, that you will need to allow arguments without checksum for this page.
    This could be a bit of a hole in your security, but as long as you know it is there and clear the cache for all pages that you branch to, you should be able work around it.
    The issue is that a malicious user can set page and application items via the url to an unsecured page.
    Regards
    Michael

  • How to make the text of a list entry bold ?

    Hi,
    I have a page named, for example, "Manage Streets". This page has a sidebar which has three menu items (a list with three entries); "List of Streets", "Add Street", "Edit Street".
    What I want is that when the user clicks "List of streets", and HTML DB navigates to that page, the text of the item/entry is shown in bold. And when the user navigates to another page, let's say "Add Street",this last entry should be shown in bold and the previous should be back to normal.
    I presume I have to edit some HTML code or CSS, but I don't know how or where.

    Allright, I found something that works just as fine.
    Go to your application's shared components and choose list. Then select an entry from the chosen list. Under "current list entry", in the listbox "List Entry Current for Pages Type", choose "colon delimited page list".In the textbox beneath it, type the pagenumbers where the list entry is current. On those pages, the list entry text will be shown bold/highlighted.

  • How can I change Time data with List Entry Screen ?

    Hi expert.
    I transfer Time Data (Infotype 2003) via CAT6.
    When I go to transaction PA61 and click List Entry icon.
    Record is display and cannot change data.
    If I wanna change data.I must to click Choose Icon one by one record.
    How can I change data with List Entry Screen?
    ps. If record create via PA61. I can change data with List Entry Screen.
    I can't change with record that create via CAT6.
    Best Regards.

    have u tried to change your time entry through CAT2 tcode, ithink if u have created profile for time entry then it should allow you to change and you can use esc otherwise, its generally the standard profile given by SAP. but is 4 one user
    hope this helps
    guds

  • How to save session state for a text item

    hi @averyone,
    i designed in interactive report with one apex_item.text field, let's name it "count"
    normally the report has more then one pages.
    the report should work like a kind of a shopcart.
    the user enters some data into "count" and moves on to the next page(s) enters some more date and so on.
    at the end he/she will press an button to save the data into his shopcart.
    now the problem:
    whenever the page is changed, all data in "count" is lost because the column has no sesseion state.
    any suggestions how to solve this issue without saviing the date in the database everytime the page ist changed?
    thanks in advance
    peter

    Simon,
    i solved the issue using an existing table, which should act quite similar to collections:
    at user request i store all entries in this table & a the end a list of selected rows is presented to the end-user.
    thanks 4 ur assistance
    p.s have a look at the apex api "APEX_ITEM.DISPLAY_AND_SAVE" ?

  • How to reference session id from non-apex page

    Hi,
    I am looking to integrate an Apex application with the FreeFind site indexing service.
    Here's how it works:
    You create a form on the Apex page that posts the your search string to the FreeFind website:
              <form style="margin:0px; margin-top:4px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
              <input type="hidden" name="si" value="70856809">
              <input type="hidden" name="pid" value="r">
              <input type="hidden" name="n" value="0">
              <input type="hidden" name="_charset_" value="">
              <input type="hidden" name="bcd" value="&#247;">
              <input type="text" name="query" size="15">
              <input type="submit" value="search">
              </form>The search results are then rendered on a FreeFind web page. However, you can upload you own HTML template to use when rendering the search results. See the sample template below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>::title::</title>
    </head>
    <body>
    ::content::
    </body>
    </html>What I would like to do is create a template that mimics the look and feel of my application, providing navigation to pages within my application.
    My question is, how could a include the session id in the links in the template, in order to retain session context?
    Thanks,
    Andrew.

    Andrew,
    Have you considered using Session ID 0? This was designed to assist in SEO for APEX pages. If each time a user hits an APEX page, a unique session ID is embedded in the URL, the search engines did not rank APEX pages well. Thus, if you put a "0" (zero) in the session ID, APEX will still work for public users, and it more SEO-friendly.
    I have used it for my site for some time now: http://sumnertechnologies.com/apex/f?p=10000:1:0
    Hope this helps!
    Thanks,
    - Scott -
    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • How to maintain session state in APEX

    Hi friends,
    I have a form with two page items and two buttons( submit ----->submits the page and inserts a record, cancel ------>redirects to other page)
    *)p1_A
    *)p2_B
    If i entered a value in the page item p1_A and p2_A, and after that without pressing "Submit" Button im pressing "Cancel" button means it is redirecting to the other page and again if i came back to my form page means, the values that i entered in the page item
    *)p1_A and p2_B is disappearing.
    Is is possible to maintain a values entered in the page item (p1_A and p1_B) without submitting it and navigating to some other page.
    Brgds,
    Mini

    Hi Peter,
    Thanks for the reply.
    Generally i have two page 1 and page 2
    page 1 contains 2 page items
    <li> P1_A
    <li> P1_B
    in the page 1 itself i have a list called po order.
    If i clicked that list po order means, it is navigating to the page 2. My page 2 also contains below two items and a button BACK
    <li> P2_A
    <li> P2_B
    After i entered the values in P2_A, P2_B and if i press the back button means, it is redirecting to the page 1. Again if i click the list po order means it is navigating to the page 2 but the values that i entered in P2_A, P2_B is disappeared.
    Whether it is possible to maintain the values that i entered in the page items P2_A, P2_B soon after redirection. Mainly im not submitting page 2, just redirecting back to it.
    settings to do that at the Button settingsAnd u said of doing that settings in the button that i have in page 2.
    yes i found the option set items with the values
    set item: P2_A  with values: &P2_A.
    But it didnt worked. Am i wrong.
    Kindly help me with this issue peter.
    Brgds,
    Mini

  • How to reference field make active for manual entry

    Hi all
    I want to insert reference in a reference field of header of billing document which has to be seen in accounting documrnt.
    can any one help me how to remove gray reference or an assignment field in header of sales billing document .

    Hi,
    This can be configured in the below mentioned t code:
    VTFL - Delivery to Billing
    VTFA - Order to billing
    VTFF - Billing to billing
    You can specify any of the following as reference
    A Purchase order number
    B Sales order number
    C Delivery number
    D External delivery number
    E Current billing document number
    F External delivery no. if available, otherwise delivery no.
    For this you have to maintain the Reference field in the above T Codes... At Header Level of the copy control.
    Hope this will help you to resolve your issue.
    Regards,
    KrishnaO

  • Use session state values to set column value during insert/update

    I am building an APEX 4.2 application that uses the canned Data Loading control to upload csv data to a table.  I have modified the 'Select Data Source' page of the workflow and it now contains three LOV's that the user selects values from.  The selected values are stored in Session State.  As I'm new to APEX, I do not know how to reference Session State objects in the context of the Data Loading workflow so that the appropriate columns are set with the correct values.  My assumption is that the columns that are apart of the insert statement reside in a collection somewhere.  I just don't know how to loop through the collection, determine the correct column, and then set that column's value equal to the corresponding LOV value in Session State.

    Scott,
    This is in version 2.2.1 and there are no caching features available.
    The application does require login.
    I'm playing around with the APP_UNIQUE_PAGE_ID right now but I am finding that even in the builder if I edit the attributes of a report column and then try to edit another column it will bring up the last column I edited. Even if I use the record navigation buttons next to the Apply Changes button it will keep bringing me the same page over and over unless I constantly refresh the pages.
    Greg

  • Different ways to referencing Session State variables

    Hi,
    According to APEX documentation there's 4 different ways to reference session state variables: http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#BEICHBBG
    In an inline PL/SQL statement, what's the difference when using the different methods? I remember reading something that the bind and static text have a size restrictions. What's the difference between the V() and NV() functions?
    Thank you.
    Martin

    Martin,
    In PL/SQL, the preferable method is to use bind variable notation, e.g., :P1_ITEM. In HTML contexts, you must use &ITEM. notation. In stored procedures, you can use v or nv, the latter function being identical to the former with the additional characteristic that it raises an exception if the retrieved value is non-numeric.
    Scott

  • Manage session state in web service (web tier)

    Hallo, is anybody know how to manage session state in web service application?
    I 'm building an application using Sun Java System Application Server 8.1, and using web as web service end point.

    By default webservice is a stateless, but there is a option where you can specify the Request scope session/Reqeust/application
    You can use the above and have to make a change in the client side to particiapte in the session.
    Or
    In the server side you can have webservicesession tracker class...very first time when user is authenticated, you generated a unique token and send them with request....and from there on client should send the same token for further request.
    Token is checked with your webservicesession tracker class which maintains all active seesions. Session tracker class can also inactivate the token session if there was no request from the user for a certain period of time....
    Its similar to HttpSession class ( i call it as WebServiceSession.)
    If you need more help on the webservicesession class...pls let me know.

  • 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

  • Tabbed Navigation List Session State

    I converted regular tabs to a tabbed navigation list because the user wanted the tabs on the left side, on a region, not on the top of a page. Now when I navigate between pages using the tabbed navigation list the session state is not saved. For example: the user changes something in a field on page 1 without submitting the change, navigates to page 2, then back to page 1; the change they made on page 1 is gone. How can I prevent this from happening?
    I've checked all of the branches and navigation list targets to make sure I'm not clearing the session state.
    Thanks, Elizabeth

    First, I added Personal_Page under Action/Request.No, that sets the request value in the branch URL.
    so I added Personal_Page in Expression1 under Conditions and set the Condition Type to Request=Expression1That will work. Maybe you have a branch that fires before it so it never evaluated this branch. Anyway, my suggestion was to use an application process, not branches. The firing point of the process should be after-submit, before computations and validations. The process would contain a block like:
    declare l_page varchar2(30);
    begin
      case
        when :request = 'Personal_Page' then
          l_page := '3';
        when :request = 'some other value' then
          l_page := '4';
        -- etc.
      end case;
      apex_application.g_unrecoverable_error := true;
      owa_util.redirect_url('f?p=' || :APP_ID || ':' || l_page || ':' || :APP_SESSION);
    end;Scott

Maybe you are looking for

  • Satellite Pro U400 - How do I get the native screen resolution for external monitor?

    I have a samsung syncmaster external screen connected to a Satellite Pro U400. The screen resolution only goes up to 1280 etc however the samsung minimum is 1440 x 920 (ish I forget). How do I get the samsung to display the whole enlarged screen to s

  • Itunessetup.exe couldn't be downloaded error message for for vista.

    itunessetup.exe couldn't be downloaded error message for for vista. Couldn't get the update so I uninstalled itunes and still get the error message. I tried reconfiguring the start up components with no luck. anybody know how to fix this?

  • Error:  Namespace prefix 'split-by-page-break' used but not declared.

    I have my machine reimaged, now when I try to preview an rtf template I get the below error. Nothing has changed in my template and I am using 1.0.0 Build 9 as before my reimage as well. This is an uregent problem that I am not able to find the solut

  • SbRIO 9606 + NI 9693 + SMBus

    Hello I work with sbRIO9606 and two devices connected by NI9693.  Pinout in Table 5  from this manual (Single-Board RIO OEM Devices) shows SMBus at pin 25 and 27. So there are some questions: 1. Could I make it visible for FPGA IO nodes using 'RMC EE

  • Call PL/SQL Package to Create DB User and assign Privileges

    Hi All, I'm sure this has been covered before but I couldn't find anything relevant.... I'm calling a PL/SQL Process from within an Apex (version 2.0) Page, that ultimately Creates a New DB user. I am receiving an ORA-01031: insufficient privileges e