Error while saving changes of declarative component to MDS

Hi,
Using ADF Faces 11gR1PS1.
I am trying to create a declarative component where user can close a panel box (not just minimize) by setting rendered property to false. It works fine.
Next I tried to save the attribute change to MDS so that user settings are preserved across sessions. However I got the following error:
<FilteredPersistenceChangeManager><_getQualifiedTagName> WebAppDesignContext is not available at application scope. Please ensure that your application is built as a 'Fusion Web Application (ADF)', and that taglib.jar and facesconfigmodel.jar are in class path.
<FilteredPersistenceChangeManager><_isChangeAllowedThroughPersistentChangeManager> Could not obtain tag name for the component being changed. Component ref: RichPanelBox[UIXFacesBeanImpl, id=dc_pb2]
<FilteredPersistenceChangeManager><_addDocumentChangeImpl> The DocumentChange is not configured to be allowed for the component: RichPanelBox[UIXFacesBeanImpl, id=dc_pb2]Following is the page code:
          <af:panelBox text="#{attrs.p2Header}" id="dc_pb2"
                       rendered="#{attrs.p2Header ne null and dashboardXBean.portletRendered.dc_pb2}"
                       showDisclosure="false">
            <af:componentDragSource discriminant="portlet"/>
            <f:facet name="toolbar">
              <af:commandImageLink id="p_cil2"
                                   icon="/images/removeselected_dwn.png"
                                   hoverIcon="/images/removeselected_ovr.png"
                                   depressedIcon="/images/removeselected_ena.png"
                                   actionListener="#{dashboardXBean.handleHideEvent}"
                                   rendered="#{attrs.sideNavRendered}">
                <f:attribute name="portletId" value="dc_pb2"/>
              </af:commandImageLink>
            </f:facet>
            <af:facetRef facetName="p2"/>
          </af:panelBox>Following is the code in the managed bean to persist changes:
    private void saveShowHideChange(String portletId, boolean isRendered) {
        FacesContext fc = FacesContext.getCurrentInstance();
        ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
        //ChangeManager pcm = AdfFacesContext.getCurrentInstance().getPersistentChangeManager();
        UIComponent puc = boundedDashboard.findComponent(portletId);
        ComponentChange pcc = new AttributeComponentChange("rendered", Boolean.toString(isRendered));
        cm.addComponentChange(fc, puc, pcc);
    }I am not really sure if the above code needs to be in the component managed bean or in the bean of the page that uses this declarative component.
Any pointers are appreciated.
Thanks,
Husain

Thanks for the reply Frank.
For declarative components do we have separate renderer?
The [Developers Guide|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/ad_persist.htm#BABBGCJA] didnt seem very helpful on this topic.
Can you point me to some reference material if available.
Thanks,
Husain

Similar Messages

  • Error while saving changes in RSPC Error Stack.

    Hi gurus,
        I am able to make changes in the error stack in the transaction RSPC, However, when trying to save those changes, I get an error stating that the request "DTPR_* " doesn't exist. and the message is RSAODS005.
    I tried searching in SDN as well in SAP notes, but in vain. Does anybody have any idea how to solve this error.
    Regards,
    Sree.

    Hi Sree,
    delete Error DTP in process Chain, do modifications for Error DTP in RSA1 and add that again in process Chain and activate Process Chain.
    Regards
    Daya Sagar

  • Cannot extend package Error while saving changes in Query

    Dear Gurus
    When i am trying to save changes made in the query i get an error message Cannot extend package YBW. kindly help me in resolving this as the changes are required in multiple queries.

    thanks for your relpy Jaya..i checked the properties...the check box package not extendable check box is unchecked and the main package checkbox is also unchecked.
    i check the below post...not exactly related to my issue
    creation of package(Package can not be extended)
    Edited by: SAP Learner license on Mar 30, 2011 9:16 AM

  • Error while saving the Sales Order

    Hi experts,
        i am getting a runtime error while saving a sales order stating: SAPSQL_EMPTY_TABNAME. It says the field T681-KOTAB could be empty. I would give in more inputs. Someone plz help.
    Thanks.

    I would expect that KOTN521 would be a Database table defined in the ABAP Dictionary that relates to the condition implemented in 521 for the usage specified in that record.
    You should be able to go into the info system, SE84, and search under ABAP Dictionary / Database Tables to see what KOTN521 is.
    Also, since the only Keys to T681 are KVEWE and KOTABNR, and there are two KOTABNR entries with a value of 521, then there must be two different usages (KVEWE) associated with that table.
    If you see what they are, you can check to see what the usages represent.   Based on a lookup, it appears that a usage of N is for Free Goods, A is for Pricing etc.   In our system, we only have A entries.
    What are the usages for the 521 entries?  Do they relate to Free Goods/Pricing???
    Does the table KOTN521 exist in the ABAP Dictionary?
    Answering these questions may get you closer to the answer.
    Can you compare the values in these entries to what you have in different SIDs?
    Is this problem happening in Production, or is it still in a development or Quality Assurance client?
    If it is still in development or Q, then it may be that a recent customization change was made.
    Compare the entries across your systems, if possible.
    Good luck
    Brian

  • Error while saving project in cProjects

    Hello,
    I am getting following error while saving a project in cProjects-
    Access via 'NULL' object reference not possible.
    Details of the error are given below-
    Can somebody please help me resolve this error?
    Thanks and regards,
    Milind Dumbre
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
          caught in    procedure "FINALIZE_OBJECT_BEFORE_SAVE" "(METHOD)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: "LR_CALC").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.

    Hi Milind,
    You may check the settings by navigating to the following path
    IMG --> Collaboration Projects --> Connection to external systems --> Accounting Integration
    -->  Define Object Links for Accounting Integration.
    Check if the RFC destination has been correctly maintained. You may check the correctness of the RFC settings via SM59.
    Let me know if  this helps.
    Regards,
    Vivek Pandey

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • Error while saving the documents in Transactions MIRO,VA02, VA01, ects

    Hi SAP Gurus,
    i am geting an popup error while saving or after changing the documents in MIRO VA01, VA02 transactions..
    The error is  * " Condition Table Missing : Access JST1 60 ( Pricing Taxes ) " *
    can u please help me out.
    Regards
    Kumar m

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Crystal Reports 10 error while saving report

    Last week i had a problem while saving my report.
    I get the following error while saving my report:
    crw32.exe has encountered a problem and needs to close
    The only way to get around this was after every change build a preview and close the preview and after that save the report.
    On the internet i found someting about installing the latest service pack, so i did.
    After that i had the problem described in the following thread: Re: Changing datasource causes parameters to blank out
    Sometimes the field to fill a parameter are gone.
    The solution is to downgrade to service pack 5, but on the download page [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm] i can't find sp5, only sp3, sp4 and sp6.
    I'm downloading sp5 now, but does anyone know if this solve the problem?
    Many thanks
    Edited by: Joris Stoop on Aug 21, 2008 11:53 AM

    Hi Joris,
    please find here [SPs for CR 10 |http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10] including  [Service Pack 5 - ZIP - released August 2006|http://resources.businessobjects.com/support/support/communitycs/FilesAndUpdates/cr10win_en_sp5.pdf]
    and the [Readme - PDF|http://resources.businessobjects.com/support/communitycs/FilesAndUpdates/cr10win_en_sp5.zip] but unfortunately I do not know if this fixes your prob.
    Best regards
    Falk

  • Error while saving Long Texts

    Hello
    We are using SRM7 Extended classic scenario.
    We don't use shopping carts, rather create POs directly in SRM which will be transferred to ECC as per the standard.
    Error:
    I am getting an error "Error while saving Long Texts" during my PO creation. I get this message in a small pop-up screen. As soon as i click ok or close the pop up screen it kicks me out of the PO creation screen back into the main SRM screen.
    When:
    During the PO Creation
    Any specific situation:
    Yes, only for Material POs
    This is happening when I am creating the PO with a Material code. I can create free text PO without any issues.
    This is a standard message and the message number is 022.
    Thaks for the help guys.

    Hi,
    To confirm can you check commeting "getOADBTransaction().commit();" gives any error message?
    If yes then you can try the following option:
    Have you checked whether the "/" is changed to "\" in the dbc file?
    In the following two entries the slash has to be made as shown below:
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=10.100.503.6)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=VIS)))
    JDBC\:processEscapes=true
    Thanks and Regards,
    Lacman

  • Error while saving territory

    Hi Experts
    while saving territory, i am getting below error.
    Error while saving rule score; contact technical support
    Wait and try to activate the changes later
    Details Could not lock object Application 'Territory Management' for processing-relevant changes due to user <user name>
    Activation error for Decision Table 'table[BP_Z_SCORE,TERRITORY(Res...'; see following messages for details
    Activation error for Function '005056010AED1EE48BB6A35289225BE3 : s...'; see following messages for details
    I have attached screenshot to refer the error. Please get me some pointer  to resolve this error..
    Thanks
    Chand

    Did user SCBASHA lock something? You could check in transaction SM12.
    Best regards,
    Thomas Wagner

  • Error while saving workbook or query

    Hi guys. After upgrade to 7.0 we are experiencing error while saving workbook or query.
    We are using BEx 3.5.
    Here is the error:
    "Program error in class SAPMSSY1 method: UNCAUGHT_EXEPTION.
    An exeption with the type CX_SY_PROGRAM_NOT_FOUND occured, but was neighter handled locally, nor declared in a RAISING clause.
    Program CP9QUC052Y8TXQ0C2TM5KB0T92K does not exist"
    What can be the cause of this error?

    Hi Jose!
    It was easy.
    The problem can be solved by reactivating the personalization
    for the BEx.
    To reactivate the personilization go to transaction SPRO and navigate:
    SAP Reference IMG -> SAP Customizing Implementation Guide -> SAP
    NetWeaver -> Business Intelligence -> Settings for Reporting and
    Analysis -> General Settings for Reportiung and Analysis
    or
    open the transaction RS_PERS_ACTIVATE
    Check all boxes and execute.
    Hope it helps.
    Vad.

  • Error while saving Ad-hoc report in Portal

    Hi Experts,
    I am getting flowing error while saving Ad-hoc report in Portal
    Transport system is active - could not save/change queries
    Please let me know how to resolve this issue.
    Thanks in Advance
    Regards,
    Ravi

    Hi Ravi,
    Try this ->
    Go To RSA1---> Transport connection view
    In the menu Edit -
    >Transport----->Switch-off Standard.
    Now open and try to save your report.
    Hope this helps!
    Regards,
    Saurabh

  • Error While Saving Workbook

    Dear All,
    We are getting following error while saving workbook. This has started after our migration from IBM server to HP Unix server.
    "Document store access caused errors in the SAP Correction System"
    Thanks in advance.
    Regards: Gaurave

    Hi,
    During the save of the workbook a transport check is done and that check fails. The reason for that is "Client independent objects not changeable in this client" Or "System is not set to changeable - objects are not changeable" The solution to the problem is "Change the setting for the system or client to "changeable". You can do this using transaction SE06 or SCC4."
    Note 992965 is relevant here.
    - RSA1 -> transport connection ->object changeability -> check the object type:XLWB(workbook)
    If the setting is 'Not Changeable', please change it  to 'Everything Changeable' by right mouse click.
    Rgds
    Manoj Kumar

  • Error while saving config in MSY

    Hi,
    I am working on taking MSA 5.0 SP7 go-live. I am working in MDW. I posted a SDN post long back regarding the custom partner functions in MSA and got it resolved (followed the note 521871). I am trying to do the same in the PROD system and i am facing errors:
    -> When i goto Cross-Component Settings->Relationship Categoty-> click on NEW i am getting the errors:
      1. 'MTBLLFW-The attribute destination of the business object
          relation type is not valid'.
      2. 'MTBLLFW-the attribute source of the business object relation
          types is not valid'
    But it is allowing me to add an entry. When i save my customer entry i am getting the error :
      3. 'UI_CORE_SAVE_FAILED_STA-Errors while saving'.
    I ran the consolidated prefill for 5.0 and SP07. I followed the same procedure as i did in DEV. In DEV i never got these errors. I was able to create them in the first attempt.
    If anyone has any idea please let me know.
    Thanks in advance,
    Karuna.

    Hi,
    did you already check i.e. compare the customizing subscriptions for both DEV MDW and PROD MDW sites?
    Also you should check & compare the download monitor for CDB load in the CRM system(s).
    I assume sth is missing there (see also your other post).
    Regards,
    Wolfhard

  • WCM Error while saving Project

    Hi,
    I am getting following error while saving new created project in cProject.
    Saving is not possible because the WFM Core data could not be adjusted
    Message no. PRP086
    Diagnosis
    When checking the project role or project role staffing, differences to the related WFM Core data were found. The project cannot be saved because the data cannot be adjusted. Possible causes for this include:
    The WFM Core is not installed locally. When working with the application, the WFM Core service is suddenly no longer available.
    The WFM Core configuration has been changed in Customizing.
    The WFM Core is only activated after projects have been created. During the automatic adjustment of data, it is determined that resources unknown in the WFM Core are assigned to existing project role staffing.
    When working with the application, an existing resource already assigned in the WFM Core is deleted.
    System Response
    The project cannot be saved.
    Procedure
    Contact the system administrator if the required resource is not known in the WFM Core. The project can be saved as soon as the resource is created.
    Let me know how to resolve this issue??
    Thanks in advance,
    Atul.

    hi Atul,
    Are you using WFD server for your resource planning in cProjects???
    If yes, you have to do settings in customizing for the same in Workforce deployment server under Resource Management in cProjects.
    If not, then do following settings to remove the error you are getting:
    1) SPRO -> Collaboration Projects -> Resource management-> Business Partner-> Set Up Integration of HR,
    Maintain following setting:
    Group     Sem. abbr     Value abbr     Description
    HRALX     HRAC     X     Activate HR Integration
    2) SPRO -> Collaboration Projects ->  Resource management Qualification Management->  Activate Qualification Search and Matchup Using WFM Core
    In this, deactivate the use of WFD Core for the qualification match up and the search by deleting the X under Value abbr. in the activity Activate Qualification Match up and Search Using WFM Core.
    Hope this will be helpful to you.
    Regards,
    Niraj Sikligar

Maybe you are looking for