ReadOnly property set using bean does not re-evaluate on second load

Hi all,
We have the below table and column in our code. The column has a selection list whose readonly property depends on "row" level attributes. We have this table rendered based on context values on the page's header section. Based on the context on header, this table changes. But what we observe is that after the first context loads, the selectOneChoice8 item's "readOnly" EL expression is not re-evaluated for the second context load of the table.
          <af:table value="#{bindings.VoSum1.collectionModel}"
                    var="row" rows="#{bindings.VoSum1.rangeSize}"
                    width="100%" id="t1"
                    columnSelection="multiple"
                    binding="#{backingBeanScope.MyBean.profileContentTable}"
                    rendered="#{backingBeanScope.MyBean.profileSectionSummaryVisible}"
                    columnStretching="column:name"
                    partialTriggers="::simpleCreateButton ::deleteButton :::d2"
                    contentDelivery="immediate"
                    selectionListener="#{backingBeanScope.MyBean.selectProfileItemRow}"
                    rowBandingInterval="0" editingMode="editAll">
                                     <af:column
                       headerText="#{bindings.VoSum1.hints.LevelId1.label}"
                       id="LEVEL_ID1" sortable="true"
                       sortProperty="LevelId1" width="85">
              <af:selectOneChoice
                  readOnly="#{pageFlowScope.pRoleCode != 'HR' &amp;&amp; row.QualifierId1 != null &amp;&amp; row.QualifierId1 != backingBeanScope.ProfileContentBean.defaultQualifierId}"
                                  value="#{row.bindings.LevelId1.inputValue}"
                                  shortDesc="#{bindings.ProfileItemSum1.hints.LevelId1.tooltip}"
                                  immediate="false" autoSubmit="#{bindings.ProfileUsageCode.inputValue == 'P'}"
                                  valueChangeListener="#{backingBeanScope.ProfileContentBean.levelChangeListener}"
                                  id="selectOneChoice8"
                                  partialTriggers="ModelId1">
                <f:selectItems value="#{row.bindings.LevelId1.items}"
                               id="si2"/>
                <af:selectItem disabled="#{backingBeanScope.ProfileContentBean.LevelId1Rqd &amp;&amp; row.bindings.RatingLevelId1.inputValue != null}"
                              id="si3" label="#{null}"/>
              </af:selectOneChoice>
            </af:column>Do we need to refresh the state of the table on every context change? Would use of UIComponent.processRestoreState() be an option? Any pointers would be immensely appreciated.
Thanks in advance,
Srini

Thanks Vishal for the pointer. Tried this and it did not work for me :(.
We were overriding the value expression for 'readOnly' by setting 'true' or 'false' explicity in the bean. When the context changes, once we set in the bean, it appears that the selectOneChoice's readOnly value expression does not get evaluated once we set the 'readOnly' property in the bean. Next time on, it retains the value set in the bean onto the uiComponent of the selectOneChoice.
So we worked around this by getting the value expression in the bean and appending the bean evaluated value of 'true' or 'false' to the ui value expression. Next time the context changes, we extract the value expression from uiComponent instance and strip it to reconstruct the original value expression :).
It worked even though it looks weird that the selectOneChoice does not get re-evaluated despite the entire table getting refreshed.

Similar Messages

  • My calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    my calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    Hi,
    To configure your ODBC DataSource, go to Control Panel ---> DataSources(ODBC) (If you are in a Windows environment).
    Select the tab System DSN. If you have not added your data source, then do so by clicking on the Add button. If you have added the datasource, click on the Configure button to configure it.
    Give the datasource name, then the database name.
    You have to give the hostname, service name and server name. I guess, in most cases, the datasource name and host name will be the same, service name and server name will be the same. If you are using TCP/IP, the protocol will be onsoctcp.
    There will be a file named Services under C:\WINNT\system32\drivers\etc where you have to give the port number for accessing this server.
    It will be like this <service name> <portnumber>/tcp
    Hope this helps...
    best wishes,
    Nish

  • Package javax.faces.bean does not exist

    I am new to JSF. I tried to build a jsf application that runs on glassfish 3. I did not use IDEs.
    When I compile it , I encountered the following 4 errors:
    Error 1: package javax.inject.bean does not exist
    Error 2: package javax.faces.bean does not exist
    Error 3: cannot find symbol : class Named
    @Named<name="user">
    Error 4: cannot find symbol: class SessionScoped
    @SessionScoped.
    Please help me fix these errors.
    Thank you in advance.

    You must also be new to Java if you don't know how to deal with these problems. Do you even know what the classpath is?
    I warn you right now: if you don't know the more advanced features of the Java platform (annotations, packages and the classpath, jar library usage, classloaders) you will basically get nowhere developing web applications - especially using a complex framework like JSF.

  • Setting Multiple values in property set using java API

    Hello All,
    I want to set the properties of a profile in a property set using java API provided
    in package p13n. The property can have multiple values. When I try to add the
    property using ProfileManager.setProperty() method. But every time I do it this
    way, it replaces the earlier value of property and not added. This, I can achieve
    using portalTools but I want to use the API for user registration on the site.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

    You need to use java.util.ArrayList.
    First cast the existing value into ArrayList using getProperty method,
    change values in the ArrayList and then put them back with setProperty
    method.
    Regards,
    Michael Goldverg
    "Shrinivas Rao" <[email protected]> wrote in message
    news:3d64e7d9$[email protected]..
    >
    Hello All,
    I want to set the properties of a profile in a property set using java APIprovided
    in package p13n. The property can have multiple values. When I try to addthe
    property using ProfileManager.setProperty() method. But every time I do itthis
    way, it replaces the earlier value of property and not added. This, I canachieve
    using portalTools but I want to use the API for user registration on thesite.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

  • The property with ID SI_LOGON_INFO does not exist in the object

    Hi Experts,
    I am writing a Java code which upload rpt report to an infoview and try to set username/password and user prompt false together.
    I uploaded rpt success, however, after I add IReportLogon to add user/password. I got an error.
    The property with ID SI_LOGON_INFO does not exist in the object
    Code here, any suggestion is appreciated.
    IPluginMgr boIPluginMgr = infoStore.getPluginMgr();
    IPluginInfo boReportPlugin = boIPluginMgr.getPluginInfo("CrystalEnterprise.Report");
    IInfoObjects boInfoObjects = infoStore.newInfoObjectCollection();
    boInfoObjects.add(boReportPlugin);
    IInfoObject boReportObject = (IInfoObject) boInfoObjects.get(0);
    String boReportName = getName(filePath);
    boReportObject.setTitle(boReportName);
    boReportObject.setDescription(filePath);
    boReportObject.getFiles().addFile(filePath);
    boReportObject.properties().setProperty(CePropertyID.SI_PARENTID, folderID);
    IReport Report = (IReport)boReportObject;
    IReportLogon rptLogon = (IReportLogon) Report.getReportLogons().get(0);     
    //get error after try to retrieve rptLogon Class.     
    rptLogon.setPromptOnDemandViewing(false);
    rptLogon.setUserName("fortest");
    rptLogon.setPassword("whatever");
    infoStore.commit (boInfoObjects);

    Hi Adam,
    Thanks for your reply.
    I added this refreshProperties() method before, but after run this method, the application will no response even wait for over 2 minutes.
    Do you know why?
    or shall I wait for long time to resolve this issue?

  • The property with ID SI_DELTA_METAINFO does not exist in the object

    Hi ,
    when i moved crystal reprts from our Crystal server to the new BOBJ (BOExi3.1) Server and on DB configuration for all the reports i used the DB defaults that comes with the Report.
    Problem when i try to run locally or run from the enterprise login it works perfect, but when i try to run the report from the Infoview it says Database Information is either Incorrect or Incomplete.
    and also when i goto report and change the DB configuration it throws this error as
    "The property with ID SI_DELTA_METAINFO does not exist in the object".
    Please throw some light on the above error as i need to make it available for our end-users ASAP.
    regards,
    Sethu.

    Hi Seth,
    I looks like you have a configuration issue in BOE so I moved your post to the Admin forum.
    You also likely have a support Contract so I suggest you create a case in Service Market Place to immediate assistance. This is a public forum that may or may not be monitored by SAP Support Rep's, depending on the case load.
    Thank you
    Don

  • The property with ID SI_FILES does not exist in the object

    Hi,
    We are accessing the BO reports through front End web application using WEBI. We are using BO Java SDK on the application for this purpose.
    Some of our users (APAC region) has started getting the error while accessing the reports from web application. Here are the error:
    com.crystaldecisions.sdk.exception.SDKException$PropertyNotFound: The property with ID SI_FILES does not exist in the object [24/01/12 13:27:39:402 GMT] 000000b6 SystemErr R at com.crystaldecisions.sdk.occa.infostore.internal.ag.getFiles(Unknown Source)
    [24/01/12 13:27:39:402 GMT] 000000b6 SystemErr R at com.crystaldecisions.sdk.occa.infostore.internal.AbstractSendableObject.getFiles(Unknown Source)
    Same report when accessed by the users from AMER or EMEA region, it is working fine. Can anyone help me what is the issue and how to resolve it?
    Thanks,
    Ashok

    what version of Enterprise is this? XI 3.1, Bi 4.0? Also what version pack are you running. I am asusming that APJ and EMEA\AMER users try to hit the same web\app server\ BOE, same application and access same reports. What kind of authentication you use? Given everything else is same it's got to be security issue? Does APJ users are part of a different group in your 3rd party auth server such as LDAP or AD?
    Edited by: Aasavari Bhave on Jan 25, 2012 2:55 PM

  • My iPad keeps dimming on wakeup. I am on iOS 6. Auto dimming turned off. I have to go to brightness setting and touch it to get the brightness back up to my setting. It does not happen all the time but has happened more frequently lately. Any ideas?

    My iPad keeps dimming on wakeup. I am on iOS 6. Auto dimming turned off. I have to go to brightness setting and touch it to get the brightness back up to my setting. It does not happen all the time but has happened more frequently lately. Any ideas?

    Because GPS has nothing to do with WiFi, cellular signals, or data of any sort. GPS is implemented by signals sent by satellites that are received by GPS receivers. The receivers process the information from the GPS satellites and calculate your location. GPS never sends data anywhere; GPS functionality is receive only.
    If you have WiFi or cellular data turned on this can improve the accuracy of GPS, because the GPS receiver can then use the known location of cell towers and WiFi networks to refine the GPS location. GPS by itself has an accuracy of 10 meters, or about 34 feet. Using the additional information from WiFi and cellular data this can be brought down to 3 meters (10 feet). This mode is called Augmented GPS, or A-GPS.

  • The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assi

    Hi ,
    We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and  as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
    We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
    "The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
    this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
    Please let us know reason behind this error message.
    Thanks,
    Mruduala

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • Report painter - Default set 010100010001-1 does not exist

    Dear Experts,
    I have created a report in report painter and I transported (report, report group, variables) thru transport request.  while importing into Quality system  i was getting errror"Library 1VK: Default set 010100010001-1 does not exist".   Then i kept 1 VK library in transport then i moved to Quality system  now all standard report are not working properly.
    Please advise.
    Thanks
    Balu

    Hi Thanks for your reply
    Earlier i was getting the following error when i was importing  transpor request (report, report group, variables)
    1)"Library 1VK: Default set 010100010001-1 does not exist. "
    2)Errors occurred during post-handling G_RW_AFTER_IMPORT for GRW_JOB T
    3)The errors affect the following componenets:
    4)FI-SL-IS (Information System)
    Then I transported 1VK library also (without selection list option) now my standard reports are not working properly
    Please advise.
    Thanks
    Balu

  • Getting Error message ""This set top box does not match the account settings"

    Just ordered a new wireless receiver for the bedroom. Installed it and now getting the following error "This set top box does not match the account settings". Service was suppose to be enabled on Monday the 4th, but I recieved the hardware early and turned it on. I've since rebooted and unplugged and tried everything to no avail. Any thoughts on how I might get this to work? Regards,  Rick

    your wireless receiver is misconfigured (dirty) and need to be scrubbed clean.
    A tech (service visit) or tier 2 rep (phone or chat) can do this. The receiver needs to be unplugged, on the bottom of receiver is a GUI (long number) that will be needed to identify receiver, when instructed plug just the receiver in that gave number for, when that one is connected.
    Your choice 4 hour appointment window, or time on phone , or chat.
    If these have not been activated yet.... When screen comes up, depress OK on receiver, depress button on WAP, when the screen at receiver says try again, Depress OK button (remote or on stb) another screen for update, depress OK give about 10 minutes to load, reboot when checking depress menu to verify recordings, if no recordings menu not finished booting.
    Set aspect ratio MENU, OPTIONS, etc.
    should take about 20 minutes per receiver.

  • Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF.

    Namaste InDesign gurus,
          I have a problem at hand. Wondering if anyone has encoutered similar problem before? Any help is greatly appreciated. And if you're in San Francisco bay area - I can buy you a lunch :-)
    Short description: Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF. All the ligatures are assembled and displayed in the PDF.
    Adobe Indesign Version: InDesign CS5 Design Premium - regular U.S. version (not ME).
    Steps I took:
              I purchased CS5 Design Premium and also purchased the IndicPlus plugin to author sanskrit documents in InDesign. I create Sanskrit text using either of the following methods.
    1) Itranslator
    2) Paste the devanagari from the Itranslator directly into InDesign or paste it first into MSWord and then copy from MSWord and paste it to Indesign.
    It doesn't matter how I paste it. After I apply the IndicPlus character/paragraph style so that the sanskrit looks good in InDesign, when I try to export it to a PDF. The PDF does not display the ligatures currectly. It just lists all the characters in order without assembling.
    I've spent a lot of money buying CS5, IndicPlus and then I can't even create a simple PDF document from InDesign. It is very frustrating.
    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    (Please let me know if my problem description needs more fleshing out).
    I could create the PDF from MSWord directly but I'm trying to use indesign to layout my book. If InDesign cannot export to PDF I'll just have to use MSWord for my book layout. I've spend probably scores of hours trying to learn InDeisn and formatting my book content - seems like it is all going to be waste.
    Is MSWord the best choice or only choice for laying out books that have sanskrit text in them?
    -Ravi

    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    Not Sanskrit, no, but plenty of Hindi, Nepali, Marathi, and other languages written in Devanagari script - so it should be possible. I don't even use IndicPlus, which by most accounts makes working with Indic text much easier.
    1) Itranslator
    I've never seen this, but a quick Google led me to the homepage of ITranslator for Windows, where I saw this:
    Itranslator 99 (Build 1.3.0.86)  & New Beta Version
    uses 8-bit true type fonts and is compatible
    with Windows 95/98/ME/NT/2000/XP.
    For more information, click here.
    Itranslator 2003 (Build 2.0.0.38) & New Beta Version
    uses 16-bit Unicode-compatible fonts and is working
    only on Windows 2000 / XP / Server 2003.
    For more information, click here.
    So, if you're using ITranslator 99, there's the problem - those "8-bit true type fonts" won't work in InDesign. Can you post a sample of the text you're trying to paste into InDesign? Name the font(s) you are using, both in Word and in Indesign, and if possible make a small sample of the text available for us to test. It's also possible that InDesign is using a substituted font, which could cause this problem. So, if the font name in InDesign has brackets around it, you know that InDesign doesn't actually have that font installed and is auto-substituting. Also, if you go to View -> Screen Mode -> Normal and the text is highlighted pink, you know that the font has dropped. (Unless the highlighting for dropped fonts was turned off - check in Edit -> Preferences -> Composition and make sure that "Substituted Fonts" is checked.
    Also, for what it's worth, is there any way you could Place your text instead of copying and pasting? This may be cause of your problem - but even though it probably isn't, it's still worth a try.
    Lastly - no, I've found InDesign to be superior for typesetting for almost all languages, but the learning curve is pretty steep, and many of the problems faced by people working in non-English languages are not easy to research when you have a problem.

  • Set type COMM_PR_UNIT does not exist

    Hi All
    How do i make set types available for assignment to categories if they are not available but are there in comm_settype. Getting errors as follows: Set type COMM_PR_UNIT does not exist.
    Please assist
    Regards,
    Patrick
    Edited by: Patrick Chidarara on Jul 22, 2008 10:14 AM

    Hi Patrick,
    Please see OSS note Note 966072 - Download of material fails - set type COMM_PR_UNIT
    Regards,Nishant

  • HT5361 Can I set the mail in osx 10.9.1, not when i first set, but now does not.

    Can I set the mail in osx 10.9.1, not when i first set, but now does not.

    I am not sure I understand you question, but if you are attempting to set up an iCloud email account, you can start in System Preferences >  iCloud > Account Details. Establishing the details of your iCloud (a.k.a. Apple) ID there automatically creates the account in Mail

  • After updating my iPhone 4 to 5IOS my letters from my mail(i use google) does not send

    After updating my iPhone 4 to 5IOS my letters from my mail(i use google) does not send

    I tried that but I still got the message "Unable to verify account information."  I saved it anyway and when I go to the Exchange email account it says "Cannot Get Mail" "The connection to the server failed."  We are running Microsoft Exchange 2010 and I was always able to sync my calendar and email before I upgraded to IOS 6.

Maybe you are looking for