How to update Session property set.

Hi,
How can I update a session property set?
I can get my properties like this:
<%= session.getProperty("test_set", "groups") %>
But how do I update the same set.
The documentation does not mention this...
br,
Chris

Chris wrote:
Hi,
How can I update a session property set?
I can get my properties like this:
<%= session.getProperty("test_set", "groups") %>
But how do I update the same set.
The documentation does not mention this...
br,
ChrisI am not sure what you want, but you can add properties to the session
property set in the EBCC, by adding custom properties. You should then
be able to retrieve them programmatically.
Jalpesh

Similar Messages

  • Updating a session property set

    Hi,
    How can I update a session property set?
    I can get my properties like this: <%= session.getProperty("test_set", "groups")
    %>
    But how do I update the same set. The documentation does not mention this...
    Is it possible to um? I did not get it to work.
    But maybe I did something wrong.
    <um:getProperty id="getResult" propertySet="test" propertyName="groups_test"/>
    The above returned null.
    But after updating it with:
    <um:setProperty propertySet="test" propertyName="groups_test" value="<%= list
    %>" result="setResult"/>
    It returned something.
    br,
    Chris

    A correction: It appears that it is being set but, as the pageflow action forwards to the success page the entitlement isn't taking effect until I refresh the page I forward to.
    Any ideas on why the entitlement requires a refresh on the forwarded page?

  • Session property set not updating in Portal Admin console

    Hello,
    We have a Portal application running on 10 MP1. Included in the EAR file is a session property set and is correctly stored in the right directory (META-INF/data).
    When deployed, I can view our session properties when I try to create some entitlements and expressions. However, we need to update the name of one property and when we redeployed the EAR with an updated session property file, in the Portal Admin console, the session property still has the old name.
    This happens on one of our environments, but does not happen on my local machine. On my local machine, when I look at the database, the DATA_SYNC_ITEM table is empty. But on our other environment (where the problem exists), in the database I can see relevant entries for my app and property file in the DATA_SYNC_ITEM table.
    Does anyone have any ideas why this table is not populated on my local machine and why I can't seem to update the session property file on my other environment where the table is populated?
    Any help would be much appreciated.
    Thanks,
    Jonathan

    Probably either development mode /prodiction mode differences or differences between deploying as an exploded ear (local) and a compressed ear (in your environment that doesnt work). The easiest way is to propagate the changes from your local to the other environment (you can scope it to just session properties)
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/propToolAdvanced.html

  • Programatic session property set updates

    I have created a session property set user.ses
    with a property user_type
    How do I modify a property from a page flow controller.
    session.setAttribute("user_type","value") doesn't seem to have any effect when used with an entitlement role.
    I also tried user/user_type as the attribute name.
    When I dump the session attributes I don't see a property set called user.
    Any help would be appreciated since the documentation doesn't really address how to do this.

    Thank you, deepshet. Now, it works perfectly.

  • Session property sets

    Hi,
    How can I update a Session property set from a JSP page?
    I can get the properties with the following code:
    com.bea.p13n.http.Session s = new com.bea.p13n.http.Session(request.getSession());
    out.println(s.getProperty("TestSet", "TestProperty"));
    This prints the default TestProperty values but how can I update the same Session property set?
    Do I have to use PropertySetManager?
    br,
    Chris

    Hi,
    How can I update a Session property set from a JSP page?
    I can get the properties with the following code:
    com.bea.p13n.http.Session s = new com.bea.p13n.http.Session(request.getSession());
    out.println(s.getProperty("TestSet", "TestProperty"));
    This prints the default TestProperty values but how can I update the same Session property set?
    Do I have to use PropertySetManager?
    br,
    Chris

  • How to update session in processLaunch.jsp

    Hi,
    When i am creating End user form, i have
    createuser
    edituser
    selfservice
    in the form, when i click first 'createuser' processLaunch.jsp redirect to 'createuser' form based on attributes in request object.
    Then i click 'back' button then click on 'edituser' still it goes to 'createuser' form.
    How to update session or use request object to change.
    my code.
    <%@ page import="com.waveset.session.Session,
    com.waveset.session.UserViewConstants,
    com.waveset.ui.util.PageProcessor,
    com.waveset.ui.util.RequestState,
    com.waveset.ui.web.task.TaskLaunchForm,
    com.waveset.ui.LoginHelper,
    com.waveset.view.ProcessViewer"
    %>
    <%@ include file="../includes/headStartUser.jsp" %>
    <%
    String pageTitle = req.getLocalizedString("UI_LAUNCH_PROCESS", _locale);
    String bodyAttributes = "onload=\"selectFirstEditField();\"";
    TaskLaunchForm form = new TaskLaunchForm();
    try {
    // should we let the process view specify its own title?
    form.setTitle(pageTitle);
    form.setSubTitle(req.getLocalizedString("UI_LAUNCH_PROCESS_INFO", _locale));
    form.setPostURL(response.encodeURL("user/processLaunch.jsp"));
    form.setNextURL("user/main.jsp");
    form.setWorkItemURL("user/workItemEdit.jsp");
    // let the view know we're in the end-user gui
    req.setOption(ProcessViewer.OP_END_USER, "true");
    String url = form.process(req);
    if ( url != null ) {
    LoginHelper.redirect(req, out, url);
    return;
    catch (Throwable th) {
    form.addError(th.getLocalizedMessage());
    %><%= com.waveset.util.Util.stackToHtmlComment(th) %><%
    %>
    <%@ include file="userHeader.jsp" %>
    <%= form.generateHTML() %>
    <%@ include file="userFooter.jsp" %>
    <%@ include file="../includes/poolSession.jsp" %>
    it is urgent , pls. let me know.
    thanks

    in the jsp, set the scope to request. it might help. u might also want to re-direct it to a new jsp which is a copy of the existing processLauch.jsp to avoid fiddling around with the old one. :)

  • Session Property Set not available in Portal Administration Console

    We have a Portal Application (WLP 10.0 MP1) that needs to have visitor entitlements applied to allow some customization based upon a Session Property Set. The property set has been defined in Workshop and the .ses file is now included in our Portal EAR file in the /META-INF/data directory. When the EAR is deployed on a local (winXP) domain the property set is then available in the portal admin console and can be used to build entitlements. When the EAR is deployed to our test server (Solaris 10) the property set does not become available in the portal admin console. Both servers are in development mode and already have a previous version of the EAR deployed in streaming mode.
    Is there anything obvious that needs to be done to ensure that a property set is enabled when deploying a new EAR?

    We are actually performing the portal EAR build using maven but are creating the same directory layout as is created by Workshop when a data sync project is used and an EAR exported, i.e. the contents of the data sync project ends up in the EAR /META-INF/data directory.
    The mystery here is that the property set correctly deploys in one environment but not in another. I'd really like to know whether there are any particular tricks to the property set deployment and what the deployent process actually does. Could issues with the target environment prevent correct deployment of the property set?

  • 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
    -------------------------------------------------------------------

  • How to update session.xml file

    any body have an idea about how to update the session.xml file using Toplink workbench Editor.
    I have an Jar file which contains the session.xml file , so i am trying to update the session.xml file with me database details.

    any body have an idea about how to update the
    session.xml file using Toplink workbench Editor.
    For 10.1.3, see "Sessions Configurations and the sessions.xml File" in the TopLink Developer's Guide: http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/sesun002.htm#CACIGEBC
    For 10.1.2, see "OracleAS TopLink Sessions Editor" in the TopLink Mapping Workbench Guide: http://download.oracle.com/docs/cd/B14099_16/web.1012/b15900/tscedit.htm

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • How to update time zone setting in Aperture 2

    When you install Aperture 2 you specify a time zone. However, I can't figure out how to change Aperture's time zone setting. I used to live on EST, so most of my photos are in EST. But since then I've moved to HST (Hawaii Standard Time) and purchased a MacBook and Aperture 2. I'm now trying to import photos taken in EST and can't seem to import them with the correct EST date/time. I changed my MacBook settings to EST and the date/time in the import window shows the label "EST" but the time has been adjusted to 5 hours ahead, which is HST. It is still adjusting the time from EST to HST even though my MacBook is setup to EST at this moment in time.

    Have you tried changing the date time settings in your camera?
    Tony

  • How to update apple ID setting for payment to None

    i have my Apple ID and every time I open playstore it asks for my credit card details. I want to set that to none but couldn't find any option.

    You can remove  your payment info by following the steps in this article:
    Change or remove your payment information from your iTunes Store account (Apple ID)

  • Request property set proper usage

    How to use request property set from datasync project properly ?
    Should I just set a property and then dynamically do get and set header with
    the property.
    Any suggestion will be quite helpful
    Thanks,
    Subhabrata

    Subhabrata,
    There is quite a bit of docs to look at. Take a look at the tags:
    http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html
    -Phil
    "Subhabrata Sarkar" <[email protected]> wrote in message
    news:3fc52b1a$[email protected]..
    >
    >
    How to use request property set from datasync project properly ?
    Should I just set a property and then dynamically do get and set headerwith
    >
    the property.
    Any suggestion will be quite helpful
    Thanks,
    Subhabrata

  • How to update Integrator's property that was created by api

    bne_integrator_utils.create_integrator(p_application_id => 20023, --CUX
    p_object_code => l_object_code,
    p_integrator_user_name => l_inte_user_name, --
    p_language => 'ZHS',
    p_source_language => 'US',
    p_user_id => -1,
    p_integrator_code => x_integrator_code --
    bne_integrator_utils.create_interface_for_api(p_application_id => 20023,
    p_object_code => l_object_code,
    p_integrator_code => x_integrator_code,
    p_api_package_name => l_package_name, --API
    p_api_procedure_name => l_procedure_name, --API
    p_interface_user_name => l_object_code || '_INTF', -
    p_param_list_name => l_object_code || '_INTF', --
    p_api_type => 'PROCEDURE', --API
    p_upload_type => 5,
    p_language => 'ZHS',
    p_source_lang => 'US',
    p_user_id => -1,
    p_param_list_code => x_param_list_code, -
    p_interface_code => x_interface_code --
    I use above code to create Integrator, it was going well,but after I finished the set ,I realized there was something wrong.
    So I want to use 'Manager Integrator' to update Integrator's property,but it was read only,
    so any one can tell me,how to update the Integrator's property just like coloum type and so on.
    ths for advice

    Hi,
    Use the below update statement.
    update bne_integrators_b
    set source='C'
    where integrator_code='Your Integrator code'
    then commit..
    Now u will be able to update the integrator from front end.
    Regards,
    Sreekanth.S

  • How to get session.maintain property on server side?

    Is there a way to trap javax.xml.rpc.session.maintain property on the server side in JAX-RPC compliant web service implementation? I would like to know if the client has enabled session.maintain property to true (which false by default). If not, can I specify the web service to be of "Application" or "Session" scope during deployment time? It used to be the case for Apache SOAP processor. I do not see any mention of that in the JAX-RPC spec.
    Thanks for any pointers.
    -Anirban.

    When I first started to work with JAXRPC I had questions about how web services maintained session across multiple calls and also if it was
    possible to maintain session across multiple web services. I downloaded
    the JAXRPC runtime implementation source code and tell you what I found.
    There is a HttpClientTransport class that handles the actual HttpConnection to the server. It checks to see if maintain session is
    set to true or false. If it is set to true it appends the JSESSIONID to the header variables of the request.
    The very first call gets a response back with header variable
    Set-Cookie: JSESSIONID=blahblahblah
    The HttpClientTransport looks for it and if it finds it takes the cookie and stores it somewhere. Every call after that will check to see if session maintain is true or false. If true, it will send
    the header:
    Cookie: JSESSIONID=blahblahblah
    Hope that helps.
    Mike

Maybe you are looking for

  • Problem retreving data from cluster table

    Hi friends, Iam facing a problem while retreving data from a cluster table.. select knumv           kposn           krech           kawrt           kbetr           waers           kpein           kmein           kwert           from konv           in

  • Total Catastrophe- iPhoto crashed and can't find my photos

    iPhoto locked up, causing everything to lock up.  I manually rebooted, and when I reopened iPhoto my library was empty.  My Albums where still there, but empty.  My Web Galleries were there, but empty.  I also had to reconfigure my Mail and iChat...a

  • Using hierarchy in a report

    Hi, Here is my problem: in BI7, I want to select a hierarchy node with and only 1 or 2 of the u201Csonsu201D but I always get ALL the sub-nodes and elements underneath Can somebody tell me how to exclude the elements of the hierarchy I donu2019t need

  • Reg  Table or FM

    Hi  , I am  looking  table  having  Print document no (opbel) and  Anlage ( installation). Thanks, Sonar

  • Getting download error 49 bridge CC

    when trying to download Bridge CC  I get a download error 49.  any help?