A query about cachePolicy Attribute of the Component in Flex

Hi ,
why does each componnent has cachePolicy attribute ??
will this really takes care of the caching issue if we use
<mx:Application cachePolicy="false"/>
Please let  me know
Thanks in advnace .

Hi ,
why does each componnent has cachePolicy attribute ??
will this really takes care of the caching issue if we use
<mx:Application cachePolicy="false"/>
Please let  me know
Thanks in advnace .

Similar Messages

  • Query Design - Keyfigure attribute in the calculation

    Hi,
    I have an infoObject with "Standard Balance" (a key figure) as an attribute. InfoObject has been added to the InfoCube.
    In my InfoCube I have another Keyfigure called "Actual balance".
    Now, in the query I would like to check the difference between the two (Actual Balance - Standard Balance). If this difference is positive, then I would like to display the row, else, I don't want to display it at all...
    Any suggestions/ideas are appreciated.
    Thanks
    John

    1- to capture the KF-attribute in the query, create a formula variable of type replacement path (go into the formula designer and create a new formula.. it's pretty straightforward)
    (http://help.sap.com/saphelp_nw04/helpdata/en/03/6ba03cc24efd1de10000000a114084/frameset.htm)
    2- the create a CKF or formula to calculate the difference between the 2
    3- use a condition to filter on your new CKF/formula from step 2 to show only the rows where this calculation is positive
    (http://help.sap.com/saphelp_nw04/helpdata/en/43/b57138c1afbd20e10000009b38f889/frameset.htm)

  • Query about Session Management  in WebDynpro Component.

    Hi to all, My Requirement is that,i have to Capture User-ID From Logon-Ticket and it will be use in the web-dynpro component,that access the Data From R/3 Server
    (Back-end). and according to the login-ID information Captured from the Logon-ticket, i will do some task that will interact with the Bapi(R/3) on the basis of User-ID information. How Can I Do This.....Or How Can I Maintain the USer-Login Information into Portal and Use That in the Web-Dynpro Component embeded in the Portal.......
    Plz if any-one have idea about, Help Me.......................
    Thnx & Regard's
    Dheerendra K. Shukla

    Jitender,
    You blindly copy example for stand-alone Java application and suggest it to server-side J2EE application... Not the best option...
    Even this code could be improved:
    public Connect1()
      /* no need to have instance variable */
      /* if it is used in single method */
      final JCO.Client connection = null;
      try
        /* Change the logon information
           to your own   system/user */
        connection = JCO.createClient
          "001",       /* SAP client    */
          "<userid>",  /* userid        */
          "****",      /* password      */
          null,        /* language      */
          "<host>",    /* host name     */
          "00"         /* system number */
        connection.connect();
        try
          System.out.println(connection.getAttributes());
          /* and other operations with live connection */
        finally
          /* always release resources         */
          /* original code has potential leak */
          connection.disconnect();
      catch (final Exception ex)
        ex.printStackTrace();
        /* DO NOT CALL THIS IN WEB-AS!!!          */
        /* THIS STOPS COMPLETE SERVER INSTANCE!!! */
        /* System.exit(1); */
        /* Re-throw instead or report in different manner */
        throw new RuntimeException(ex);
    Worth to mention that Adaptive RFC model handle connections better then this.
    Also note that WDSystemLandscape.getClient(LOGICAL_SYSTEM_NAME) allows to get connection without hardcoding connection details.
    To summarize, what you advise is a plain "no-no".
    And this code will works in same way as Java Print API for printing from WD -- see Re: how to print table data on click of a button
    You guys are playing interesting game with each other ))
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Query about price information in the MDM SRM catalogue

    Hello,
    I am setting up an MDM (version 2) catalogue for an SRM system for the first time, and I am considering how to structure the fields.
    We only need to hold a price for one unit for each item - i.e. we do not need to use price scales.
    In the example repository, prices are held in a qualified lookup table in field PRICE INFORMATION. There is some complexity in using this type of lookup table and my question is: can I avoid this and set up normal fields in the repository for price and currency?
    My concern is that the search user interface (SUI) will be hardcoded to work with PRICE INFORMATION because it must be using some logic to compare the requested quantity to  the price scales to arrive at a final price.
    Regards

    Hi,
    I think Search UI is designed for reading standard Price Information.
    We use both standard Price Information and custom price field for sort purpose.
    Regards,
    Masa

  • How to construct the component tree in my custom component?Help!

    Hi, i am writing a custom component like this:
    public class HtmlCategory extends HtmlPanelGrid
         public void processRestoreState(javax.faces.context.FacesContext context,
                java.lang.Object state)
              setColumns(1);
              HtmlCommandLink link=new HtmlCommandLink();
              link.setValue("Let's Bingo");
              MyUtil.setActionListener(context,link,"#{temp.mytest}");
              UIParameter param=new UIParameter();
              param.setName("name");
              param.setValue("Robin!");
              link.getChildren().add(param);
              param.setParent(link);
              getChildren().add(link);
              link.setParent(this);
              super.processRestoreState(context,state);
    }         you see, i want to construct the compont tree at Restore View phase this way,because the structure of the component tree will always be the same, so i don't the user to write extra code.
    But the children of the component are not rendered,the renderer of the HtmlCategory component just extends the HtmlGridRenderer(myfaces) directly,and always calls the "super" methods in the encode methods of the renderer.
    I got a message from the console:
    Wrong columns attribute for PanelGrid id0:id4: -2147483648
    but i have set the columns attribute in the code above, so what's happening? or please give some advice about how to render the component tree by myself in Restore View with the tree constructing code in the custom component class code,just lke the code above.
    Best Regards:)
    Robin

    Well, i don't know if i have got my question clear.
    usually, according to the tags you use in the jsf page, a component tree will be created at the Restore View phase,for example:
    <f:form>
      <h:panelGrid ...........>                         
              <h:dataTable ................>
              </h:dataTable>
       </h:panelGrid>
    </f:form>but because i am writing a component for my web app, all the child components and their attributes are not likely to change. so i want to reduce the tags into one custom tag, and construct the component tree internally by myself.But it is not the case of backing bean.So i wrote the the code in the method:
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)as it is shown in my orginal message.But it seems that it is not right way to construct my component tree.So where should i put the code that construct the component tree?Overriding the method :
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)is not the right way?
    Best Regards:)
    Robin

  • Different LOVs in af:query and af:form for the same VO attribute

    Hi,
    We need to display different LOVs in af:query and af:form for the same attribute in VO.
    Is it possible to use LOV Switcher for this ?
    What condition can we use in LOV Switcher attribute to check if it is View Critearia row or VO row ?

    We have a VO attribute "User" which needs to be displayed as LOV in a Search Panel ( af:query component created using View Critearia ) and in a af:form.
    When this VO attribute is displayed in search panel, in LOV, we need to show all users.
    When this VO attribute "User" is displayed in a form for editing, in LOV, we need to show only active users.
    For this, we created two LOVs "ActiveUsersLOV" ( which shows only active users ) and "AllUsersLOV" ( which shows all users ) on VO attribute "User".
    LOVSwitcher attribute should return "ActiveUsersLOV" if the LOV is displayed in form and "AllUsersLOV" if the LOV is displayed in search panel.

  • What are the Query criterion property attributes to search for KB's in SCCM 2012

    A client is ask what servers might have a particular hotfix(ex: KB2798040) installed. The Hotifx is not in our WSUS catalog because it is not a critical security patch so it is not downloaded. What is the SCCM 2012 R2 Query criterion property attributes
    to find a particular KB?

    Depending on the OS of the client, that information may not be collected by default.
    Rather than collecting all of the HotfixID class, instead, consider using DCM for this single HotfixID.
    Sherry has previously posted about ways to do this,
    http://myitforum.com/cs2/blogs/skissinger/archive/2011/08/17/non-security-hotfix-detection-for-windows-7-2008.aspx
    and here's a post by Nick which seems to be based on the very same approach:
    http://t3chn1ck.wordpress.com/2010/10/20/sccm-dcm-inventory-for-installed-windows-hotfixes/
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Query about transactions over the whole chart of accounts

    hi, i'm a beginner with the SAP SDK, so pleaase be patient , i 'm working to do a SQL-query (yeah, i'm not allowed to use  the COM objects) for all the transactions made on every account and also to retrieve their profit centers, so i have a few questions/validations that i need about the SAP bd-model:
    as far as i know, the tables involved with this query i need are:
    OJDT - journal entry
    JDT1 - journal entry rows
    OOCR - Distribution rules
    OACT - Accounts
    OPRC - Profit Centers
    ..¿or can i just skip the OOCR table and join the tables JDT1 and OPRC using the PrCode field? (the reference says this field is a FK of the OOCR table so that's why i'm not sure about this, even if the field name is fool-proof )
    thanxs for your time!!
    EDIT: this is the query so far,  i have  my doubts about the use of PrcCode(JDT1) as a FK for the OPRC table (because like i was mentioning before, the documentation says it isn't, it's a FK for the OORC table)
    also the DI API Help file says there is also another 4 FK fields (ocrcode2,ocrcode3,ocrcode4,ocrcode5) for the OOCR table, so i'm wondering if this SQL query is fine like this or if i'm missing something else please help mee!
    SELECT
    je1.TransId
    ,je1.Debit
    ,je1.Credit
    ,acc.AcctCode
    ,acc.AcctName
    ,prc.PrcName
    ,prc2.PrcName
    ,prc3.PrcName
    ,prc4.PrcName
    ,prc5.PrcName
    ,je.Memo
    FROM
    JDT1 as je1
    left join OPRC as prc on je1.ProfitCode = prc.PrcCode
    left join OPRC as prc2 on je1.OcrCode2 = prc2.PrcCode
    left join OPRC as prc3 on je1.OcrCode3 = prc3.PrcCode
    left join OPRC as prc4 on je1.OcrCode4 = prc4.PrcCode
    left join OPRC as prc5 on je1.OcrCode5 = prc5.PrcCode
    inner join OACT as acc on je1.Account = acc.AcctCode
    inner join OJDT as je on je1.TransId = je.TransId
    and je.RefDate <= '20101028 00:00'
    GROUP BY
    je1.TransId
    ,je1.Credit
    ,je1.Debit
    ,acc.AcctCode
    ,acc.AcctName
    ,prc.PrcName
    ,prc2.PrcName
    ,prc3.PrcName
    ,prc4.PrcName
    ,prc5.PrcName
    ,je.Memo

    When u have created your company that time u should create with copy anuway
    but it's look to me your COA is not generated with depending accounts

  • How to display attributes in the query

    Hi frnds,
    I want to show the attributes of material ( mat group , mat type ), vendor ( Sort field ) in the report.
    We loaded master data for material and vendor.
    I dragged the char and the relevant attributes in the query designer and executed the query. But in the output the attributes values are not displayed.
    What could the reason ?
    Regards,
    V N.

    Hi all,
    Thanks for the reply.
    "Display attributes will also get displayed if you include the infoobject for which they are attributes."
    Suppose for 0vendor the attr is 0sortl. By defualt it is display attr. I dragged in the query the 0vendor and its attr 0sortl  and executed. It didnot displayed any values for this 0sortl
    I changed it to Nav Attr. And rerun the query, it is displaying values.
    In the first case i included Display attr and the infoobject for which it is attr in the query. Please explain me why it didnot displayed the values.
    And after changing it to Nav attr it displayed the values.
    Please explain me what happened actually.
    Regards,
    V N.

  • No authorization for the component (query name)!

    Hello all,
    when i am publishing the query in web, the following error message is displayed!
    "No authorization for the component (query name)!"
    i had installed and configured everything here, so the person responsible for authorization is none other than me. what i shud do now? shud i add any other authorization profile to the username created? or still any configuartion is required?
    please let me know!
    Thanks,
    Ravi

    Hi ARK,
    thanks for the info.
    i had assigned SAP_ALL and SAP_NEW profiles to the user.
    let me say clearly that when i am executing the Query in the designer it is working fine,no issues in Bex browser too. but when i want to publish safely exexuted query in web (clicking the button publish the query in web) i am getting the above mentioned error!
    do suggest me what is the authorization profile that is needed to serve my purpose?
    hope this time i am clear!
    Ravi

  • Some users can't see attributes in the Query Builder

    Hi.
    I have problem. Some users can't see some of attributes of info-object in the Query Designer. Where is the problem?

    I think you would need to give more details on the problem,
    as <b>some</b> users are not able to see <b>some</b> attributes.
    Do they all share the same profile, what is the distinguishing thing among the some users who can see the attributes and the ones who cannot see the attributes.
    Need to drill down further I guess.
    Cheers
    Anurag

  • Showing navigation attributes in the same column of a query

    Hi,
    I would like to know if there is a way to define a query such that TWO navigation attributes that reference the same underlying characteristic can be displayed in the SAME column rather than TWO separate columns.
    I will describe an example scenario to clarify the requirement.  We are using a BI Content InfoCube (0COOM_C02) that has the navigation attributes 0COSTCENTER__0PROFIT_CTR and 0WBS_ELEMT__PROFIT_CTR activated.  Both of these attributes reference the characteristic 0PROFIT_CTR.  The InfoCube contains transaction data for Cost Centres and WBS Elements. 
    The requirement is to define a query that summarizes the data by profit centre.  At the moment, in order to combine Cost Centre and WBS (Project) data in the same query by Profit Centre, both navigation attributes need to be selected, resulting in the following output:
    0COSTCENTER__0PROFIT_CTR......0WBS_ELEMT__PROFIT_CTR......AMOUNT
    PC01...............................................Not assigned...................................10,000
    PC02...............................................Not assigned...................................20,000
    PC03...............................................Not assigned...................................12,000
    PC04...............................................Not assigned....................................2,000
    Not Assigned....................................PC02..............................................5,000
    Not Assigned....................................PC03..............................................8,000
    Not Assigned....................................PC05..............................................30,000
    Not Assigned....................................PC06..............................................50,000
    However, the desired result is to display only one profit centre column using the two profit centre navigation attributes as shown below:
    PROFIT CENTRE......AMOUNT
    PC01..........................10,000
    PC02..........................25,000
    PC03..........................20,000
    PC04............................2,000
    PC05..........................30,000
    PC06..........................50,000
    Is there a way to achieve the above result using the two navigation attributes only, without having to add 0PROFIT_CTR as a characteristic to the InfoCube?
    Any suggestions would be appreciated.
    Thanks,
    Mustafa.

    Hi Mustafa,
    You have to use enhancement RSR00001 in the transaction CMOD to start developing your code.
    For more information how the customer exit variables are processed, refer to the documentation:
    http://help.sap.com/saphelp_nw70/helpdata/EN/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
    A short example can be found here:
    http://help.sap.com/saphelp_nw70/helpdata/EN/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
    This should help.
    Regards,
    Daniel

  • Tomcat and refreshing jsf component attributes in the browser

    I'm using Eclipse and Tomcat 5.0.25. I start Tomcat in debug mode with a shortcut: "C:\Tomcat-5.0\bin\catalina.bat jpda start". I have an entry in the Tomcat server.xml file that points to my web application:
    <Context debug="0" docBase="C:\MyProjects\eclipse\cdstore\WebContent" path="/cdstore" reloadable="true"/>
    I have a jsp page with a jsf dataTable tag. If I change the html markup (i.e. by typing "hello" in the jsp page) and press the refresh button in my IE 6.0 browser, the "hello" message is displayed.
    If, however, I change the content of a dataTable attribute (i.e. I change styleClass="aClass" to styleClass="anotherClass") or add a new dataTable attribute, the attribute changes are not sent to the browser when I press the browser refresh button. I do a "view html source" and they are not there.
    I have to close the browser down and relaunch the browser to see the new dataTable attributes.
    Does anybody know if there is any easier way of doing this?
    thanks, jeff

    Hi pushpa latha
    Yes it is possible to update the data at the header level using below approach
    create the component interface for your cusotm component
    use the component interface  in the header overview standard component as resuable component.
    Implement the event handler method for the button , in the event handler method get the refreshed value
    create the navigation and call the navigation (fire_outbond_plug) to cutom component by passing the plug name and refreshed data..
    set the refreshed data to your value node in your custom component.
    Thanks & Regards
    Raj

  • I love AI love Apple.  I own an iMac, a MacbookPro, an iPad, and an iPhone.  I've been a loyal Mac user since the '80's.   But, please, when are you going to do something about iCal and its Reminders component?  Attaching documents is clumsy. If you're on

    I love AI love Apple. I own an iMac, a MacbookPro, an iPad, and an iPhone.  I’ve been a loyal Mac user since the ‘80’s.   But, please, when are you going to do something about iCal and its Reminders component?  Attaching documents is clumsy. If you’re on iCloud, as I am, repeating events is impossible.  The ability to copy text or graphics into either events or Reminders doesn’t really exist.  This is an easy fix.   Why not get it done? 

    Maybe things will improve this summer,
    http://www.apple.com/macosx/mountain-lion/features.html
    Regards,
    Captfred

  • Query about the DR -Standby

    Hi Support,
    I have a query about the DR -Standby:
    1) Is FAL_CLIENT and FAL_SERVER parameter mandatory in both Primary and standy node?
    2) How many standy by we can create for primary node?
    Thanks

    Dear Prashanth,
    Quantity of 3 is rejected so you blocked it? why you want to bring it again to Quality? Use of putting in block is as follows:
    Since quantity of 3  is rejected  and need to be kept aside you are blocking the stock, the purchase person will send back this material to vendor directly from block stock (MBRL or MIGO). This is best practice.
    There can be other situation that your vendor came to your place and done rework om that 3 blocked items and you are satisfied with the quality then you can use respective movement for transferring from block to unrestricted, if you want lot to be generated then assign 08 insp type and do inspection.
    Hope this will help you better.
    Best Regards,
    Shekhar

Maybe you are looking for