Entitlements not picked up at run time

Hello, I have a question regarding entitlements and WLP9.2.
I have set an entitlement on a book. The entitlement checks that the "lang" attribute in session is equal to "ja" (japanese).
In my portal I have a changeLocal jsp, a changeLocal portlet and a backing file that actually changes the value of the "lang" session attribute:
request.getSession().setAttribute("lang","en")When I hit the portal main page I'm presented with english content and the entitled book is not displayed on the menu (default language is "en" and the resource is entitled to appear only if locale="ja"). So far so good.
If I switch to Japanese, the menu link still doesn't appear. I have to refresh the browser to have it on the menu or, alternatively, select one of the other menu items.
When I switch from Japanese to English again, the entitled book remains in the menu and it only disappear when I refresh again the browser.
It seems that the Portal rules engine does not evaluate the session property after the change locale request.
Any idea on how to solve this problem?
Thanks
Luciano

Hi
The way we had worked around it was redirect after set and in another case an explicit button for the user to click, saying your changes have been set, now click here to continue which makes the second request.
I suppose a filter which traps these request and set's the values before passing on control to the portal would also work.
The reason i believe this fails till the next request is, the entitlements have to be calculated before the portlets pageflow is executed (after all you may not have access to the portlet). Im not sure if there is someway to clear the cache and force the reload.
regards
deepak

Similar Messages

  • View BT26H_APPT/ApptDetails is not defined in the run time repository.

    Hi,
    I am getting this error when i component work bench.view BT26H_APPT/ApptDetails is not defined in the run time repository that was loaded. can i manually load in run time repository or how can i approach this issue.
    rose.

    Hi Rose,
    While enhancing any component using an enhancement set you can give any name for bsp application under customer namespace ( like z, y) but usually when we create a new application we just put the z or y infront of the component name and create it  for example if you want to enhance bp_head_search then usually people create a new bsp appl with name zbp_head_search because it will help in finding it in se80 to figure out the component anyway you can give any name if you want.
    For each component you need to create a new bsp appl.
    You should use one enhancement set per client, you can use sm30 and view BSPWDV_EHSET_ASG  to define your enhancement set for each client.
    So to enhance all the component in same client you should use same enhancement set for that client.
    I think that would be useful, let me know if you have any other doubts.
    Thanks,
    Shobhit

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • Optimal way to enable user to pick style at run time - Flex

    What I'm trying to do: allow a user to be able to select a color palette for a custom component by selecting from a drop down menu with a variety of icons.
    I have the drop down menu part down, but I'm trying to understand how to best handle the various styles in my code. Ideally I would have liked to be able to load styles at run time, but I don't see a major advantage with this so I'm now thinking about compiling in all styles. Still, I can't seem to find a decent way to structure the code. Hacking it seems pretty easy / fast, but there's got a better way than having a big fat array of values which can be indexed via some index associated with each icon - yuck!
    Would love to hear your thoughts or see any pointers to obvious ways to handle this.
    thank you!

    Wouldn't style sheets make this a lot easier where the user essentially just picks one?

  • VI not same as LavView Run-Time Engine after 2.0 to 3.1 conversion

    I get a dialog
    Unable to load VI 'Front Pannel Development.vi' with the Run-Time Engine.  It is
    possible that the version of the VI or one of its subVIs is not the same as the
    LabView Run-Time Engine version.
    Note : For optimal execution performance, you should ensure that all your VIs are
    compiled to the same version.
    Configuring TestStand to use the LabVIEW Development System to run your VIs may fix
    this problem.  To change the configuration, go to Configure>>Adapters>>LabVIEW.
    Do you want to edit the VI in LabVIEW?
    Yes or No.
    When leave the Specify Module dialog.  for a step that calls a VI.
    That VI uses some Labview specific set and get variable sub VIs. 
    Changing them to TestStand 3.1 equivalent did not get rid of the
    problem.  I have also tried mass compile on the VI
    directory. 
    Any Ideas how to fix this?  I did try the Configuring adapters thingy but that was already right.

    Hi,
    Dont forget to mass compile the VI's in the TestStand folder's as well.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Template Builder not found followed by Run-time error '429'

    Hello,
    I am having problems with BI Publisher.
    I am running the application on a Windows 2003 server via a Citrix connection using Word 2007 (SP2) (multilingual French/English). On this forum, I have seen numerous threads about this type of error but none seems to be working for us.
    Symptoms:
    I installed BI Publisher with admin rights (account A) and it works fine using this account
    I copy the TBCrosstab.dot, TemplateBuilder.dot, WordAnalyzer.dot in another User Profile "%USERPROFILE%\Application Data\Microsoft\Word\STARTUP" (Account B)
    All macros are enabled in account B
    The Add-ins menu shows but when I click on Connection I get the Template Builder not found error followed by Run-time error '429'
    I uninstall BI Publisher from Account A and install it using account B
    It now works fine with account B but I get the error messages in account A...
    Does BI Publisher work using multiple accounts on a single machine?
    Thanks

    Did you find a solution to this problem?

  • Call a function whose name will not be known before run time

    how can i make a call to a function whose name will not be known to me before run time.

    how can i make a call to a function whose name will
    not be known to me before run time.That smells like a design-flaw! Care to explain what it is you're trying to do exactly? Perhaps I, or someone else, can suggest another (maybe even better/easier) approach.

  • Additive cost not picking in costing run

    Hi!
    I am using additive costing , while doing costing run system is picking up additive cost for header material, that when BOM exploding, but not picking additive cost for componenets.
    for us componets are also having price control "S", standard cost esimate has to run. as per valuation variant planned price will be consider for the standard price for components, where there is no BOM
    any suggestions on this?
    why additve cost is not picking for materials where there is no BOM explosion.
    regs,
    ramesh

    Hi
    If child is not having BOM - Then Maintain a Special Proc Key 20 in the Costing view of Mat Master and whatever price you maintain in the Planned Price Fields -can be released as a cost estimate
    In that case, If you maintain additive cost, it does not make sense.. You can straight away maintain the requird price in planned price
    br, Ajay M

  • The browser is not displaying the forms run time

    I am using "Forms [32 Bit] Version 10.1.2.0.2 (Production)" and i have set mozilla as my default browser.I have downloaded jinitiator 1.3.1.22.But when i run my form it shows me blank applet with done,means it does not show me any output.Kindly help me.
    Any kind of help will be appericiated.

    Don't use Jinitiator, use Sun JRE.
    Then, be sure that you have the correct Java version in your formsweb.cfg.
    If you google for "oracle forms sun jre" you will find plenty of postings on how to set up the config file for IE and Mozilla.
    A tip: if you are sure all the clients have the correct jre version (e.g. 1.6.*), skip the version altogether in the Mozilla section:
    --jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    jpi_mimetype=application/x-java-applet

  • Foreign currency conversion not picking up rate or time period

    I am running the standard FX conversion (standard stored procedure - fxtrans.lgx) on SAP BPC MS version 7.5 , but everytime I run the package, even though I choose a particular day,  it seems to run for multiple time periods.
    In the formula log  I get more than 50 of the following:
    10000400 - 4 rows calculated
    10000400 - 0 rows updated
    10000400 is the TIMEID for my currency conversion.
    Also, when I look at the result, even though I have entered 1 as my conversion fator I get a multiple of 18.  I tried to change the conversion factor, but no matter what I do for no matter what entity and no matter what LC I always end up with a multiple of 18.
    Any ideas for me?
    Thanks

    Hi,
    This sounds strange. Can you post your script logic file and a small extract from your time dimension please?
    Tom.

  • JPA Problem: Table not found by JPA run-time

    I am using NetWeaver 7.3 with an MS SQL Server 2008 and have created a EJB and EAR development component, which are correctly set up.
    I want to access tables in the database. I have the problem that a colleague has created new tables in the database that I want to access via JPA. In NWDS, I can generate the entities without a problem through the JPA tools, using the Eclipse Data source of the MS SQL server. However, when I deploy the project, I get an error message upon injection of the entity manager, saying that the tables do not exist - although they are there for sure!
    Caused by: java.lang.RuntimeException: The persistence unit is inconsistent with the database schema:
    Error on entity >>com.sap.research.meregio.test.MerTest<<: The table >>MER_TEST<< does not exist.
    Error on entity >>com.sap.research.meregio.test.MecSlot2<<: The table >>MER_SLOT2<< does not exist.
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerFactoryImpl.validateSchemaAndFillInJdbcTypes(EntityManagerFactoryImpl.java:213)
    at com.sap.engine.services.orpersistence.entitymanager.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:120)
    at com.sap.engine.services.orpersistence.entitymanager.JtaEntityManagerFactoryImpl.<init>(JtaEntityManagerFactoryImpl.java:39)
    at com.sap.engine.services.orpersistence.provider.PersistenceProviderImpl.createJtaEntityManagerFactory(PersistenceProviderImpl.java:251)
    at com.sap.engine.services.orpersistence.provider.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:236)
    at com.sap.engine.services.orpersistence.container.EMFInstanceCreator.getEntityManagerFactory(EMFInstanceCreator.java:134)
    at com.sap.engine.services.orpersistence.container.ORPersistenceObjectFactory.getEMF(ORPersistenceObjectFactory.java:300)
    at com.sap.engine.services.orpersistence.container.ORPersistenceObjectFactory.getObjectInstance(ORPersistenceObjectFactory.java:73)
    at com.sap.engine.lib.injection.ReferenceObjectFactory.getObject(ReferenceObjectFactory.java:96)
    at com.sap.engine.lib.injection.FieldInjector.inject(FieldInjector.java:113)
    Can it be, that the JPA runtime in the server only allows me to access tables that I have created through a Dictionary component? Or is it a "refresh" problem, meaning that the application server does not realize that new tables have been created? If the latter is true, can I "flush" or "refresh" the DB schema in NW?

    Hi,
    it depends on the data source your JPA application is running against.
    If it is configured for Open SQL (e.g. you are using the system data source), you need to define your database tables using the Java Dictionary. If you are using the JPA Tooling (Dali) in the NWDS, you can associate your JPA project with a Java Dictionary Project or a Java Dictionary DC. Then, you can use forward mapping ("generate database tables from entities") to create database table definitions in the Java Dictionary that exactly match your tables required by your JPA application:
    [http://help.sap.com/saphelp_nw73/helpdata/en/49/ede1daba7b088be10000000a421937/frameset.htm]
    Unfortunately, it is not possible to import table definitions you have created using native tools into the Java Dictionary.
    Adrian

  • IPhone not picking up Daylight Savings Time

    In reviewing last year, I see that there was an issue with iPhones making the time switch to Daylight Savings Time (it appeared to be limited to New Mexico).
    Well, it seems to be happening again. My wife and I are in New Jersey and neither of our iPhones made the auto switch. I assume it is an AT&T issue (again) but I'm curious if anybody else is seeing this?
    I guess the work around for now is to turn off auto and set it yourself. Irritating.

    You may get your wish one day which at the earliest would be sometime in 2010 and if so, then you will be talking to a bunch of idiots at whichever provider for the iPhone as none of the front line folks who answer the phone for technical support issues and questions with cellular providers are overpaid by any means, and some are not going to become a rocket scientist.
    The few times I've called AT&T customer or technical support, I have no complaints whatsoever, which has been about the same with every provider I've used.
    There are Verizon, Sprint, and T-Mobile subscribers who say the very same thing at times - "I just got off the phone with a bunch of idiots at - fill in the blank".

  • External HD not recognized after Formatting & Running time Machine.

    Hi All, Hope someone can help me out here! Last night, I plugged in a Seagate external hard drive via USB, and my mac recognized it and asked if i wanted to treat it as bkup for time machine. I selected "yes", formatted the HD, then it had a status bar going for a few hours where it transfered information, then hours later the status bar disappeared.
    Afterwards, I clicked on the ext hd icon, and the entire computer froze up. Upon re-booting, the ext hd was still plugged in, but wasn't recognized at all by the mac. I tried turning on/off the hard drive, different USB ports, etc., but nothing. HELP!!!

    Sounds like you might have a failed External HD. Does Disk Utility see the HD? If it does, try mounting the disk then reformatting.
    BTW, you should really post this to the Time Machine Forum. There are more experts there about Time Machine.

  • Wifi not picked up all the time

    Hi there fellow users...hope you can help. I don't understand why my phone seems to drop its wi fi connection when i am at home. wi fi is fine laptop works with it and phone usually does but here's the problem....when iphone goes into sleep mode and i slide to unlock it is using either edge (or the other network i cant remember its name.... not3g) even though the wi fi signal is excellent. Sometimes it wont connect at all and i have to close the phone down and power up again. any ideas because this is seriously starting to annoy me!!
    also why does it take hours for my phone to notify me that i have had an email in my yahoo account?
    Thanks so much for reading any help much appreciated!!

    When connected via wi-fi, the cellular network is always available in the background since visual voicemail messages are downloaded to the iPhone via the cellular data or internet network only.
    Even though you may see the cellular data network briefly when waking your iPhone from sleep when connected via wi-fi, it should quickly reconnect to the network.
    I suggest selecting your wireless network on your iPhone followed by selecting Forget This Network. Then reconnect your iPhone to your wireless network. If your wireless network is password protected, this will require re-entering the password for your wireless network.
    Is your Yahoo account a free account accessed with your iPhone's mail client as a Push-IMAP account?
    Yahoo has had some ongoing problems and if you are accessing your Yahoo account via IMAP or POP using Fetch, there have been some reported problems with Fetch access since firmware update 2.1 was released.

  • Is there a way to install exe of a vi on an XP machine without LV run-time and not have to restart?

    Hi,
    I need to deploy an application that reads channels from a FP module for testing purposes. The problem is, I cannot restart the system I need to install this on because it is running critical control software which cannot be interrupted. The system does not have the labview run-time engine and I know installing this requires a restart of XP probably due to registering DLLs or something.
    I'm using "Fieldpoint Network Read" to read from the module. The simple answer would be to simply install this on a machine on the same network that I can restart. However, I have no such luxury because I am connecting to the system in question over a long distance VPN connection and I need to be able to poll the data from the FP every 250ms which may be too much for the connection. 
    So basically, I need to find a way to read data from this FP in a manner similar to "FP Network Read" without restarting the system.  Is there any way to do this with labview? Alternatively, I may be able to write this app using LabWindows since I know some software is already running on that machine programmed with that.
    Solved!
    Go to Solution.

    The first thing I'd say is that a restart may not be necessary.  I have in the past installed LabVIEW development environment and when asked I said I would restart later.  Then I opened LabVIEW and started coding.  I'm not sure what it thinks it needs to restart for but it may not be required.
    The other thing I'd like to mention is that LabVIEW 7.1 and older can run EXEs without needing to install a run time engine.  So it is possible to build a EXE in 7.1, then include some files and DLLs in the same directory as the EXE, and when it is ran it will use them.  There's probably issues with talking to DAQ devices without MAX and I have no idea how you address this but it is another possibility.
    Of course you already know the best answer and that is to reboot the system when most convenient.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • Best Practice for multi lengual site

    I have a site:  www.powerhouse.com that we want to create a spanish version for.  I decided to basically duplicate the site at url: www.powerhouse.com/espanol.  The espanol site links to all the original css.  I am running in to spacing issues given

  • Hi i am having trouble with adobe photoshop elements 10 it will not let me singh in

    Hi all I hope some one can help me i was on the phone with Adobe for a 1/2 hr and in the end they wanted money to fix a problem they had and no its my problem I try to singh on to my acc and it comes up not avalable try again later then i try to add

  • Update/create the purchase info records

    Hi All, i got a requirment for update/create the purchase info records for the transaction ME11. i came to know that the FM <b>ME_DIRECT_INPUT_INFORECORD</b> is suitable for this requirment. but when i am trying to test this by passing data to I_EINA

  • Battery Charging icon not showing up in iTunes

    I have a brand new iPod Classic 120GB. My wife has an iPod Nano 3rd Gen 4GB. When she connects her Nano to my MacBook Pro (Leopard w/iTunes 8), she has a little battery charging icon next to the sync and eject icons in iTunes. However when i connect

  • Call set up in exe

    I have made a rtexe , In the exe there are Subvi's call set up is kept as reload for each call but when i run the exe and open the vi's running in the debugger  even when there is a call to the vi vi does not gets loaded , it shows a question mark on