How to make Partial Trigger work for a SelectManyShuttle

Hi,
I'm developing a page for user role management. For each role, one or more menus could be assigned to it. We have 3 db table, Role, Menu and RoleMenu. RoleMenu is the intersection table.
At UI level, I placed one editable table on the top of a page, and put a SelectManyShuttle below the table.
I developed a backing bean for the SelectManyShuttle to get all menus and selectedMenus for the current row in the table.
The Shuttle can display selectedMenu for the first row of the Role table, but it can't update when I select another row. It seems the partial trigger is not working.
Below are the codes:
  <af:selectManyShuttle value="#{ pageFlowScope.RoleManagementBean.selectedValues}"
                leadingDescShown="true" size="8"
                              trailingDescShown="true"
                              inlineStyle="background-color:transparent; width:100%;"
                                      binding="#{pageFlowScope.RoleManagementBean.menuSelectShuttle}">
                  <f:selectItems value="#{ pageFlowScope.RoleManagementBean.allItems}"/>
  </af:selectManyShuttle>
* Implements the basic backing-bean mechanics to handle page with shuttle.
* By injecting managed properties into the properties of this bean
* you can setup the shuttle data binding declaratively.
public class RoleManagementBean {
    String beanName = "RoleManagementBean";
    String allItemsIteratorName;
    String allItemsValueAttrName;
    String allItemsDisplayAttrName;
    String allItemsDescriptionAttrName;
    String selectedValuesIteratorName;
    String selectedValuesValueAttrName;
    List selectedValues;
    List allItems;
    private boolean refreshSelectedList = false;
    private RichSelectManyShuttle menuSelectShuttle;
    public RoleManagementBean() {
    private OperationBinding findOperationBinding(String pOperationBindingName) {
        BindingContainer bindings = ADFUtils.getBindingContainer();
        OperationBinding operation =
            bindings.getOperationBinding(pOperationBindingName);
        return operation;
     * Setter for 'allItemsIteratorName' property.
     * @param allItemsIteratorName Name of the iterator for all items in the list
    public void setAllItemsIteratorName(String allItemsIteratorName) {
        this.allItemsIteratorName = allItemsIteratorName;
     * Getter for 'allItemsIteratorName' property.
     * @return Name of the iterator to use for all items in the list
    public String getAllItemsIteratorName() {
        return allItemsIteratorName;
     * Set allItems value attribute name.
     * @param allItemsValueAttrName name of attr to use as value of all items list
    public void setAllItemsValueAttrName(String allItemsValueAttrName) {
        this.allItemsValueAttrName = allItemsValueAttrName;
     * Get allItems value attribute name.
     * @return name of attr to use as value of all items list
    public String getAllItemsValueAttrName() {
        return allItemsValueAttrName;
     * Setter for 'allItemsDisplayAttrName' property.
     * @param allItemsDisplayAttrName attr to use for display in all items list
    public void setAllItemsDisplayAttrName(String allItemsDisplayAttrName) {
        this.allItemsDisplayAttrName = allItemsDisplayAttrName;
     * Getter for 'allItemsDisplayAttrName' property.
     * @return attr to use for display in all items list
    public String getAllItemsDisplayAttrName() {
        return allItemsDisplayAttrName;
     * Setter for 'allItemsDescriptionAttrName' property.
     * @param allItemsDescriptionAttrName attrib for description in all items list
    public void setAllItemsDescriptionAttrName(String allItemsDescriptionAttrName) {
        this.allItemsDescriptionAttrName = allItemsDescriptionAttrName;
     * Getter for 'allItemsDescriptionAttrName' property.
     * @return attrib for description in all items list
    public String getAllItemsDescriptionAttrName() {
        return allItemsDescriptionAttrName;
     * Setter for 'selectedValuesIteratorName' property.
     * @param selectedValuesIteratorName name of iterator for selected values
    public void setSelectedValuesIteratorName(String selectedValuesIteratorName) {
        this.selectedValuesIteratorName = selectedValuesIteratorName;
     * Getter for 'selectedValuesIteratorName' property.
     * @return name of iterator for selected values
    public String getSelectedValuesIteratorName() {
        return selectedValuesIteratorName;
     * Setter for 'selectedValuesValueAttrName' property.
     * @param selectedValuesValueAttrName name of attr to use for selected value
    public void setSelectedValuesValueAttrName(String selectedValuesValueAttrName) {
        this.selectedValuesValueAttrName = selectedValuesValueAttrName;
     * Getter for 'selectedValuesValueAttrName' property.
     * @return name of attr to use for selected value
    public String getSelectedValuesValueAttrName() {
        return selectedValuesValueAttrName;
     * Setter for 'selectedValues' property.
     * @param selectedValues List of selected values in shuttle
    public void setSelectedValues(List selectedValues) {
        this.selectedValues = selectedValues;
     * Event handler for shuttle value change event.
     * @param event value change event
    public void refreshSelectedList(ValueChangeEvent event) {
        refreshSelectedList = true;
     * Getter for 'selectedValues' property.
     * @return List of selected values in shuttle
    public List getSelectedValues() {
        if (selectedValues == null || refreshSelectedList) {
            System.out.println("here");
            selectedValues =
                    ADFUtils.attributeListForIterator(selectedValuesIteratorName,
                                                      selectedValuesValueAttrName);
        return selectedValues;
     * Setter for 'allItems' property.
     * @param allItems list of SelectItem representing all items in available list
    public void setAllItems(List allItems) {
        this.allItems = allItems;
     * Getter for 'allItems' property.
     * @return list of SelectItem representing all items in available list
    public List getAllItems() {
        if (allItems == null) {
            allItems =
                    ADFUtils.selectItemsForIterator(allItemsIteratorName, allItemsValueAttrName,
                                                    allItemsDisplayAttrName,
                                                    allItemsDescriptionAttrName);
        return allItems;
    public void setMenuSelectShuttle(RichSelectManyShuttle menuSelectShuttle) {
        this.menuSelectShuttle = menuSelectShuttle;
    public RichSelectManyShuttle getMenuSelectShuttle() {
        return menuSelectShuttle;
}I guess the partial trigger is not working because the binding of the shuttle is not relative to the binding of the role table.
any help will be appreciated!
thanks!
Gene

My problem is solved, after I removed the if statement at the backing bean getSelectedValues() method
public List getSelectedValues() {
    //    if (selectedValues == null || refreshSelectedList) {
   //         System.out.println("here");
            selectedValues =
                    ADFUtils.attributeListForIterator(selectedValuesIteratorName,
                                                      selectedValuesValueAttrName);
        return selectedValues;
    }

Similar Messages

  • How to make signature field work for reader users? Security settings change when doc is extended???

    I've been struggling to correct a problem all week and am at my wits end. Customer service was no help as the person I spoke with could barely speak english let alone understand the problem as I explained it to him. Hoping someone here can provide some insight, here's the issue:
    I'm using a Windows 7 Professional OS. I created a Microsoft Word doc and used Adobe Acrobat XI Standard to create a form from it. It automatically detected the fields, which includes a signature field. I went through fixed it all up how it needed to be and did "save as other - reader extended pdf - enable forms fill in & save in reader".
    The document is a report that will be sent to a small number of people that have to fill it out, digitally sign and return and I'm assuming that most if not all of them will open the document using the free Adobe Reader. So I thought extending it is what I needed to do to make sure they could fill it out, save it to their computer if need be, and also sign digitally. The signature field was automatically added in by acrobat for me and I did not change the properties of it at all except to add a border.
    When I open the form in Reader (also XI) I can fill out all the fields, save it... but not sign it. The security settings say signing is not allowed even though I went back to the original pdf form and the security settings on it say allowed for everything. I don't know how to fix this... please help!!!
    I've attached some screen shots but can include more if needed...

    I don't have the Enable More Tools option under Reader Extended PDF. I just tried to download the XI Pro trial version and it won't complete installation because of the standard version I already have. Any advice or workarounds you know of? Going to the boss for $$ to upgrade to Pro is what I'll consider my last resort if the issue is truly that I have to use Pro to enable more tools for reader.... I appreciate your reply though. I sat here all day yesterday fingers crossed that SOMEONE would give it a go!

  • Can Partial Trigger Work between Two Components Which Are in Two Pages?

    Scenario: Some output text components in page one while a SelectOneChoice and a InlineFrame are in page two. At first the resource attribute of inlineFrame was set to point to page one. When changing the value of SelectOneChoice, the values of those output text will be expected to change accordingly. I tried to make SelectOneChoice to be the trigger of those output text components, but found that SelectOneChoice can't be seen when attempt to edit the value of PartialTrigger attribute of those output text components. Then I tried to set the ID of SelectOneChoice as the value of the InlineFrame component, but failed getting the wanted result again.
    Problem: How to get a partial refreshing effect between two components that are in two different pages? Can partial trigger work in this scenario?
    Thanks for your interest!

    Hi,
    Sorry, you can't achieve that the way you're doing it. If you're using 11g, however, you could do that using regions.
    Regards,
    ~ Simon

  • My ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    my ipad mini is totally drain and after plug it to regain the power its not working anymore.can somebody knows how to make my ipad work again

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • YES! How to make PRINT QUOTAS WORK with 10.4

    How to make PRINT QUOTAS WORK in 10.4
    After struggling for quite some time, I finally found a pretty simple way to make print quotas work.
    First, I’ll tell you our setup. We have 3 different computer centers with a variety of eMacs and new Intel iMacs, all clients are running 10.4.8, and each of those 3 centers has its own HP Laserjet 4200 printer. Our dual G5 server is running Server v.10.4.8. Client computers and printers have static IP addresses. All clients are bound to the server with the standard WorkGroup Manager/ LDAPv3 Directory Access scheme - such that all students login to the clients with their network username/password to mount their home directory on the client.
    Next, I’ll tell you what does not work. IF YOU WANT PRINT QUOTAS TO WORK, you cannot use Workgroup Manager to assign a printer to any managed user account, user group, or computer group. Why? Because when you go to a client, and Show Info on the printer that is being pushed by Workgroup Manager, you’ll see that the queue name is not the queue that you’ve setup in Server Admin. Instead, you’ll see the queue name is “MCX” or something along those lines. Even if you manually edit the Workgroup print preference file that is being pushed to clients, it still will not work.
    Drawbacks of my technique: In my case, students will see all 3 printers (1 from each lab) available to them no matter which lab they are in. Not the best, but for now I think it’ll be worth it to be able to control wasteful printing. Students may be able to move/delete the preference file (see below), but they’ll only be hurting themselves, as they won’t have any printers at all then.
    Okay, here’s how I did it:
    1. If you have setup any printers to be pushed out via Workgroup Manager’s preference enforcement to individual users, usergroups, or computer groups, turn those preferences off and leave them off.
    2. Delete any existing printers in your Printer Setup Utility and/or Server Admin. Add and setup a new printer queue using the Server Admin> Print service. I added the printer through the Server Admin application, not Printer Setup Utility (may not matter). However, I did go into that latter utility to set the model of the printer. Now, back in Server Admin, edit the printer queue to turn on these services IPP, LPR (bonjour off), and of course check off the enforce quotas box. (No student Windows clients, so I didn’t tinker with SMB print service). I went ahead and specified the standard cover sheet – it will be handy while troubleshooting.
    3. In Workgroup Manager, select the users that you want to enforce quotas upon, go to the Printer Quota tab (not the preference pane) and, in my case, I selected All Queues and specified a quota, and clicked Save.
    4. Delete all printers that appear in the Printer Setup Utility from each client computer (I know, UGH).
    5. For all network users, you need to edit a preference file and put it into each user’s home directory. That file is “com.apple.print.favorites.plist” and as you guessed, it needs to go into the Library> Preferences folder of every one of your network users’ home directories. Now, the content of that file is crucial… what it should show is the name of the queue(s) you created in Server Admin above, and be immediately followed by an “@” and the address of the server that is hosting that queue. For example, my queue’s name is TCStudentQ and the server’s address is student.mydomain.org… so my preference file has this entry: [email protected]. If you have more than one queue, you’ll have more entries. Be sure that the network user has at least Read level access under Group or Others. I’d recommend making the server System account the Owner of the file, and be sure to lock the file so the users can’t easily trash it. If you don’t know how to create this file in the first place, what you can do is go to a client computer, and log into the client with a dummy network account. Then open Printer Setup Utility, and you should see the queue you created in step 2. Add that printer, and then the file will be created in your dummy account’s home directory under Library> Preferences. Now you can use that file to distribute to other user’s folders… but don’t forget that each user needs Read level access.
    6. That’s it. Works for me. When they exceed the quota, all that spits out is the cover page. It’d be nice if there was a quota monitor utility on the client side so users can see how many pages they have remaining and when the quota will automatically reset. I plan to start the quota on a Monday morning and go on a weekly duration. Not sure what a good starting point is… perhaps 25 pages every school week.
    7. Hey Apple Computer, Inc. Server Developers & Project Managers, I truly hope you’re reading this and can explain why print quotas don’t function as you have documented and advertised. I don’t mean to toot my own horn, but I’ve spent way too much time discovering this workaround, and I know it will help thousands of others with the same problem. I can see where your Print Quota system breaks down, and I think you need to fix these issues or at least document them. Don’t forget to fix serious 10.4 Server bugs before leaving it behind for 10.5 Server – many of us will continue using 10.4 Server for at least another year or two.

    David,
    Your assumption that I didn't read the documentation is incorrect. I read that 10.4 documentation over and over - followed it to the letter to no avail. Perhaps it was updated in the last few weeks? So, do you have a fully operable printer quota system in conjunction with a managed computer or user group that has a managed printer pushed to the group via Workgroup Manager? I can push a managed printer to a managed group without a problem, but the quotas won't be enforced unless I use the workaround above and cut Workgroup Manager's managed/pushed printer out of the picture.
    I know this is a user-to-user forum - however, I'm also aware that Apple tech support often chime in here, so it doesn't hurt to post a message to them in the context of a larger posting about a 'known issue'. I have used the server feedback form... hasn't seemed to me to be very helpful in the past.

  • How to make my wifi work . I'm using HP PAvilion G series Windows 7

    can somebody teach me how to make my wifi work. The guy from the place where i asked them to fix my laptop told me to download drivers from sites. and he gave me a list of drivers. But i lost it.. but then. I have downloaded almost all except for the LAN and WLAN. how do i make my wifi work. help me. thank you very much. i don't know the specific details of the laptop that's why i'm sorry if i provided little information..
    i saw someone asking for hardware IDs and this is the only i can post now. 
    PCI\VEN_1814&DEV_5390&SUBSYS_1636103C&REV_00
    PCI\VEN_1814&DEV_5390&SUBSYS_1636103C
    PCI\VEN_1814&DEV_5390&CC_028000
    PCI\VEN_1814&DEV_5390&CC_0280
    thank you!!

    I understand you need a wifi driver for your G series notebook.
    What is the product number?
    NOTE: Do NOT provide the serial number.
    What is the hardware ID of the wifi adapter?
    Go to start, search for device manager, and open this result.  
    Expand the network adapters category.
    Open the wifi card.
    Select the details tab and change the category to Hardware IDs.
    Report back the hardware IDs reported for it.  
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How to make saved IR available for all users

    Hi,
    I've created IR and saved it to several tabs based on search conditions.
    But they're only visible for developers.
    How to make these tabs available for all end-users ?
    Does version 4.0 support this option ?
    Thank you!

    Hi
    At present this feature is not included, although I believe it may be in 4.0. Many people have provided workarounds for this. None of which I have tried. I cannot find the original thread but here is a solution from a chap called Ruud
    >
    One way to share your saved reports with others is to 'Publish' your report settings to a few intermediate tables in your application and have other users 'Import' your settings from there. The reason for using intermediate tables is so that not all your saved reports need to be 'visible' to other users (only those that you've chosen to publish).
    Basically you have available the following views and package calls that any APEX user can access:-
    - flows_030100.apex_application_pages (all application pages)
    - flows_030100.apex_application_page_ir_rpt (all saved reports - inclusing defaults and all user saved reports)
    - flows_030100.apex_application_page_ir_cond (the associated conditions/filters for above saved reports)
    - wwv_flow_api.create_worksheet_rpt (package procedure that creates a new saved report)
    - wwv_flow_api.create_worksheet_condition (package procedure that creates a condition/filter for above saved report)
    The way I've done it is that I've created 2 tables in my application schema that are straightforward clones of the 2 above views.
    CREATE TABLE user_report_settings AS SELECT * FROM flows_030100.apex_application_page_ir_rpt;
    CREATE TABLE user_report_conditions AS SELECT * FROM flows_030100.apex_application_page_ir_cond;
    ( NB. I deleted any contents that may have come across to make sure we start with a clean slate. )
    These two tables will act as my 'repository'.
    To simplify matters I've also created 2 views that look at the same APEX views.
    CREATE OR REPLACE VIEW v_report_settings AS
    SELECT r.*
    p.page_name
    FROM flows_030100.apex_application_page_ir_rpt r,
    flows_030100.apex_application_pages p
    WHERE UPPER ( r.application_name ) = <Your App Name>
    AND r.application_user 'APXWS_DEFAULT'
    AND r.session_id IS NULL
    AND p.application_id = r.application_id
    AND p.page_id = r.page_id;
    CREATE OR REPLACE VIEW v_report_conditions AS
    SELECT r.*
    p.page_name
    FROM flows_030100.apex_application_page_ir_cond r,
    flows_030100.apex_application_pages p
    WHERE UPPER ( r.application_name ) = <Your App Name>
    AND r.application_user 'APXWS_DEFAULT'
    AND p.application_id = r.application_id
    AND p.page_id = r.page_id;
    I then built 2 screens:-
    1) Publish Report Settings
    This shows 2 report regions:-
    - Region 1 - Shows a list of all your saved reports from V_REPORT_SETTINGS (filtered to only show yours)
    SELECT apex_item.checkbox ( 1, report_id ) " ",
    page_name,
    report_name
    FROM v_report_settings
    WHERE application_user = :APP_USER
    AND ( page_id = :P27_REPORT OR :P27_REPORT = 0 )
    ORDER BY page_name,
    report_name
    Each row has a checkbox to select the required settings to publish.
    The region has a button called PUBLISH (with associated process) that when pressed will copy the settings from
    V_REPORT_SETTINGS (and V_REPORT_CONDITIONS) into USER_REPORT_SETTINGS (and USER_REPORT_CONDITIONS).
    - Region 2 - Shows a list of already published reports in table USER_REPORT_SETTINGS (again filtered for your user)
    SELECT apex_item.checkbox ( 10, s.report_id ) " ",
    m.label,
    s.report_name
    FROM user_report_settings s,
    menu m
    WHERE m.page_no = s.page_id
    AND s.application_user = :APP_USER
    AND ( s.page_id = :P27_REPORT OR :P27_REPORT = 0 )
    ORDER BY m.label,
    s.report_name
    Each row has a checkbox to select a setting that you would like to delete from the repository.
    The region has a button called DELETE (with associated process) that when pressed will remove the selected
    rows from USER_REPORT_SETTINGS (and USER_REPORT_CONDITIONS).
    NB: P27_REPORT is a "Select List With Submit" to filter the required report page first.
    Table MENU is my application menu table where I store my menu/pages info.
    2) Import Report Settings
    This again shows 2 report regions:-
    - Region 1 - Shows a list of all published reports in table USER_REPORT_SETTINGS (filtered to show only other users saved reports)
    SELECT apex_item.checkbox ( 1, s.report_id ) " ",
    m.label,
    s.report_name,
    s.application_user
    FROM user_report_settings s,
    menu m
    WHERE m.page_no = s.page_id
    AND s.application_user :APP_USER
    AND ( s.page_id = :P28_REPORT OR :P28_REPORT = 0 )
    ORDER BY m.label,
    s.report_name,
    s.application_user
    Each row has a checkbox to select the setting(s) that you would like to import from the repository.
    The region has one button called IMPORT that when pressed will import the selected settings.
    It does this by using the 2 above mentioned package procedure to create a new saved report for you
    with the information form the repository. Be careful to match the right column with the right procedure
    parameter and to 'reverse' any DECODEs that the view has.
    - Region 2 - Shows a list of all your saved reports from V_REPORT_SETTINGS (filtered to only show yours)
    SELECT page_name,
    report_name
    FROM v_report_settings
    WHERE application_user = :APP_USER
    AND ( page_id = :P28_REPORT OR :P28_REPORT = 0 )
    ORDER BY page_name,
    report_name
    This is only needed to give you some feedback as to whether the import succeeded.
    A few proviso's:-
    a) I'm sure there's a better way to do all this but this works for me :-)
    b) This does not work for Computations! I have not found an API call to create computations.
    They will simply not come across into the repository.
    c) If you import the same settings twice I've made it so that the name is suffixed with (2), (3) etc.
    I did not find a way to update existing report settings. You can only create new ones.
    d) Make sure you refer to your saved reports by name, not ID, when matching APEX stored reports and the
    reports in your repository as the ID numbers may change if you re-import an application or if you
    auto-generate your screens/reports (as I do).
    Ruud
    >
    To me this is a bit too much of a hack and I personally wouldn't implement it - it's just an example to show it can be done.
    Also if you look here in the help in APEX Home > Adding Application Components > Creating Reports > Editing Interactive Reports
    ...and go to the last paragraph, you can embed predicates in the URL.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)
    Edited by: Munky on Jul 30, 2009 8:03 AM

  • How to make warehouse field inactive for all users in all documents autom.

    Hi All,
    Can anyone pls tell me "**how to make warehouse field inactive for all users in all documents without having to do it through form setting** "for each and every user. It should be visible but inactive
    Thanks & Regards,
    Mukesh Agrawal

    Hi,
    As a work around create a warehouse SelectWH and map the mandatory acoounts as a On hold account(in chart of accounts).So there will not be any posting on this account.
    And set this warehouse as default warehouse for all users.
    So without selecting the appropriate warehouse the user can not add the document.
    I think this might resolve you issue.

  • OID: how to store employees who works for several companies

    Hi All,
    we estimate possible ways how to store employee records into OID. Our OeBs instance serves company group (several companies). If I understand it rigth thees companies should be translated into several 'o'-nodes in terms of LDAP under common 'dc' base node (we use single domain for all).
    How to store persons who works for several companies inside our group at the same time?
    Should we load such type of employees simultaneously into several appropriate branches of LDAP-tree (an employee will be represented as a number of 'cn' nodes)
    or
    should we consider some another way to insist on one-to-one relationship between employee and its 'cn' node?
    Thanks

    Hi,
    I have faced the similar problem while maintaining master data of few employees.
    You may go ahead a make the last name as optional in Screen modification for international employees.
    Hope this solves the issue.
    Regards, AB

  • How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.

    How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.
    Some createJS animation start without any problem.
    Thanks!
    Astors

    Thank you for your answer.
    I do use cdn off for publish setting.
    The Web site that I am working on is a very complicated site. Edge
    animations are in a subdirectory of Apache server.
    When server is offline, I get all files from Appcache without problem,
    excepted *_EdgePreload.js.
    I Google hundreds time, cannot find answer on why this file is always get
    online.
    Finally, I find out myself, Adobe Edge don’t like relative file path for
    *_EdgePreload.js.
    Change to root absolute path fixed the problem:
    Astors

  • How to make a good referencing for my web site

    hi. i start with muse and would like to know how to make a good referencing for my web site; thanks for your answers...

    Google and search the forum for: SEO or Search Engine Optimisation

  • How to make operation Average work on base level of a hierarchy?

    I used Oracle OLAP 11g Sample Schema OLAPTRAIN to make a test, and found something really confused me a lot.
    Here was my steps,
    I made a dimension "TIME" with a hierarchy "calendar": all years <- year <- quarter <- month.
    And then building up two cubes,
    Cube "AVG_TEST" using dimension "TIME" with operator Average.
    Cube "SUM_TEST" using dimension "TIME" with operator Sum.
    After maintaining both dimension and cubes, I tried to query views: AVG_TEST_VIEW and SUM_TEST_VIEW and noticed the cube value based on months level were same for both of cubes. It was pretty clear that operator Average didn't work at month level within cube "AVG_TEST", but using operator Sum.
    Could any one tell me why operator didn't work on the base level of hierarchy, instead of Sum? As I have a requirement to computing average value for day level, but can't add hour level to the dimension because of huge data quantity and the speed of maintaining cube. Is there a way to make operator Average work for the base level of hierarchy?
    Any help will be really appreciated!
    Satine

    Hey Brijesh,
    Thank you for your help!
    I am still confused with it. Even month is the leaf level of dimension, but the fact data is day level precision, not month, and the value at month level still should be computed with my specified operator Average, not Sum. I mean If it could be computed with Sum (actually the value at month level was sumed up data from fact table), then why couldn't with Average at the leaf level?
    My test code is from "Oracle OLAP 11g Sample Schema OLAPTRAIN", and data looks like,
    SQL> select * from sales_fact where to_char(day_Key,'yyyy-mm')='2005-04' and rownum=1;
      QUANTITY      PRICE      SALES DAY_KEY         PRODUCT    CHANNEL   CUSTOMER
             1        125        125 13-APR-05          5298         21     284846
    SQL> select day_key,month_id from times where rownum=1;
    DAY_KEY      MONTH_ID
    31-JAN-05    JAN2005Cube name is AVG_TEST, the fact data is from sales_fact.sales. From below, it is pretty clear the value at month level was sumed up data even specified Average operator.
    SQL> SELECT * FROM AVG_TEST_VIEW where time='APR2005';
           AVG TIME
    7849372.89 APR2005
    SQL> select sum(sales) from sales_fact where to_char(day_Key,'yyyy-mm')='2005-04';
    SUM(SALES)
    7849372.89Thanks
    Satine

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to make a group contacts for iphone 4s, How to make a group contacts for iphone 4s

    How to make a group contacts for iphone 4s

    Or there are apps
    https://www.google.co.uk/url?sa=t&source=web&cd=3&ved=0CEEQFjAC&url=https%3A%2F% 2Fitunes.apple.com%2Fgb%2Fapp%2Ftext-2-group-fast-sms-imessage%2Fid519077434%3Fm t%3D8&ei=WCkfUc6vE8THtQavlYCoBw&usg=AFQjCNHnoWUqJ9AMYWCadVceOkq-6Ed4Vg

  • How to make the logs captured for Z fields in ME21N/ ME22N

    Hi
    I have  devloped new tab(Screen) and added Z field in the PO header (ME21N) as per my requirement. But whenever I do changes to the perticular Z field, logs are not captured (ME21N->ENVIRONMENT-->HEADERLOG). How to make the logs captured for Z fields like standard fields. Is there any way?
    Regards
    Raj.

    HI Ranjitha
    For the data element of Z fields go to further caracteristics of tab and make change document checkbox ticked.

Maybe you are looking for