Jdev11 Tab selection and Enable User Customization on Session bug.

When you have enabled User Customization for duration of session then what ever user changes on a page it remains the same through out the session,
ie. Disclosed panel boxes, advanced query criteria, visible columns of tables in panel collections etc.
The problem is that you cant customize which properties to be kept or not :
++Fusion Developer's Guide for Oracle ADF & 34.3 Configuring User Customizations:++
++Note+: If you've enabled just session persistence, then all attribute values shown in Table 34-1 will be persisted to the session.+
There is no way to override this either globally or on an instance.
The bigger problem is that if you have some business logic about these components appearance or behavior you can’t override user settings.
Is this a bug?
Shouldn’t business logic methods override user customization settings?
Will User Customization for duration of session become configurable?
details :[http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html]

Hi,
Is this a bug?
Don't think so. I assume your business logic is dependent on the disclosure state, which usually is reset after each navigation off and on to a page. Using change persistence you explicitly allow the user to keep the changes. So your business logic cannot rely on a changed state.
The proposed enhancement request to prevent components from perisisting changes sound fair. I'll file one.
But it isn't that you can't override the persisted information for a component. You can use teh ChangeManager API that is exposed on the ADFFacesContext to override persistence information
http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10684/oracle/adf/view/rich/change/ChangeManager.html
For example, using a change disclosure event:
  boolean isDisclosed = < whatever you like to set >;
  //Record a Change for 'disclosed' attribute
  AttributeComponentChange aa =
  new AttributeComponentChange('disclosed', isDisclosed ? Boolean.TRUE : Boolean.FALSE);
  AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
  //set disclosed state to component. Here you override the user choice
  adfContext.getChangeManager().addComponentChange(getFacesContext(), event.getSource(), aa);Frank
Edited by: Frank Nimphius on Sep 30, 2009 3:20 PM

Similar Messages

  • Refresh Report and At Line-Selection and At User-Command

    Hi All
    I have 2 querries
    1) I want to use At Line-selection and At user-command in the same report. But At line-selection is not getting triggered why? When I remove Set pf-status 'xxx' and at user command , then at line selection works . I want to user both at a time.
    2) I am giving user ability to edit the report shown and when he comes back by exiting the editing I want to refresh the report which is shown already to him to give effect of his editing.
    Thanks in anticipation
    pM.

    i just tried, and no problem at all.
    In the <b>Recommended Function Key Settings</b>  for  F2 key add command "PICK"
    Regards
    Raja
    since you are new to the forum, have a look at this weblog.
    /people/mark.finnern/blog/2004/08/10/spread-the-love

  • Using both at line-selection and at user-command

    hellow friends ,
    to use both  at line-selection and at user-command in the same report.

    Hello,
    U can do it like this.
    AT LINE-SELECTION.
      PERFORM at_line_selection.
    AT USER-COMMAND.
      PERFORM at_user_command.
    FORM AT_LINE_SELECTION.
      DATA: LV_CURSOR_FIELD(30).
      DATA: LV_MATNR TYPE MATNR.
      CLEAR H_UCOMM.
      GET CURSOR FIELD LV_CURSOR_FIELD.
      CASE LV_CURSOR_FIELD.
        WHEN 'PSPNR'.
          PERFORM LAGER_AN_PSP USING WA_MATNR-M1-RSNUM
                                     WA_MATNR-M1-RSPOS.
        WHEN 'PSPNR2'.
          H_UCOMM = 'PSPNR2'.
          IF NOT PSPNR2 IS INITIAL AND IT_VKBEL-VBELN CN '0123456789'.
            PERFORM LAGER_AN_PSP_VKBEL USING IT_VKBEL
                                             0
                                             PSPNR2
                                             H_MAKTX
                                             ' '.     "keine Blindbuchung
          ENDIF.
    ENDCASE.
    CASE SY-UCOMM.
        WHEN 'BACK_NEW'.
          PERFORM NEU_START USING 'X'.
        WHEN 'EXIT'.
          PERFORM NEU_START USING 'X'.
        WHEN 'CANC'.
          PERFORM NEU_START USING 'X'.
        WHEN 'CHECK'.
          PERFORM NEU_START USING SPACE.
    ENDCASE.
    Vasanth

  • Upgrading to Acrobat Pro XI / Adobe Reader XI and enabling user rights

    My company is a little behind on software updates and I'm going to ask for Adobe Reader XI  to pushed out company wide since allows the user to save a filled-in PDF form.
    Right now I'm using Acrobat Pro X, and suspect I will need to upgrade as well.
    My questions are:
    With the new-found ability of Reader to finally be able to save a filled in form, how does this effect the "enabling user rights" scenario?
    Is it needed if the entire company is using Adobe Reader XI?
    I did a test in Adobe Reader XI, and sure enough, I was able to save a filled-in form...BUT, I could not digitally sign the form.
    Is this where the enabling user rights is still mandatory?
    Or is this because the form was designed in Acrobat Pro X?
    Does Acrobat Pro XI work around this?
    I know I don't need to upgrade to Acrobat Pro XI to continue making forms, but should I?
    Thanks for your feed back, and I look forward to reading your replies

    Thank you, George, for the prompt reply!
    I suspected as much, but couldn't find a clear cut answer in my searches.
    The tab order update alone has convinced me its worth pushing for the new Acrobat Pro XI.
    The update to Adobe Reader XI will make many of our forms easier to get into the digital workflow, and I'm looking forward to getting use further away from a paper-based system

  • How to use AT LINE-SELECTION and AT USER-COMMAND in one report????

    Dear all,
    I have a problem in reports I want to use AT USER-COMMAND.and AT LINE-SELECTION.both in the one report.
    But as soon as I use SET PF-STATUS my AT LINE-SELECTION event stop workingand only AT USER-COMMAND is working.
    How can I use both of them in one report for your reference I am giving my test program below.
    REPORT ZTEST111 .
    SET PF-STATUS '100'.
    DO 10 TIMES.
    WRITE:/ SY-INDEX.
    HIDE SY-INDEX.
    ENDDO.
    START-OF-SELECTION.
    AT LINE-SELECTION.
    MESSAGE I002(SY) WITH SY-INDEX.
    AT USER-COMMAND.
    MESSAGE I002(SY) WITH 'USER COMMAND'.
    END-OF-SELECTION.
    Thanks in advance
    Sachin Gautam

    hi
    Syntax
    AT USER-COMMAND.
    Effect
    This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
    Note
    Self-defined function codes are all those that include character combinations, except for the following:
    The function codes PICK and PF## ("##" stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PF##.
    All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
    The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
    Table 1
    Function code Function
    %CTX Call a context menu
    %EX Exit
    %PC Save to file
    %PRI Print
    %SC Search for ...
    %SC+ Find next
    %SL Search in office
    %ST Save to report tree
    Table 2
    Function code Function
    BACK Back
    P- Scroll to previous page
    P-- Scroll to first page
    P+ Scroll to next page
    P++ Scroll to last page
    PFILE name Store list lines in a text file named abap.lst in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
    PL- Scroll to first line of the page
    PL-n Scroll n lines back
    PL+ Scroll to last line of the page
    PL+n Scroll n lines up
    PNOP No effect
    PP- Scroll back one page
    PP-n Scroll n pages back
    PP+ Scroll one page forward
    PP+n Scroll n pages forwad
    PPn Scroll to beginning of page n
    PRI, PRINT Print
    PS-- Scroll to first column
    PS++ Scroll to last column
    PS- Scroll one column to the left
    PS-n Scroll n columns to the left
    PS+ Scroll one column to the right
    PS+n Scroll n columns to the right
    PSn Scroll to column n
    PZn Scroll to line n
    RW Cancel

  • ITS URGENT QUES ON AT LINE-SELECTION AND AT USER-COMMAND

    ITS URGENT...WHEN I SELECT MULTIPUL VALUES IN BASIC LIST ,I HAVE TO GET THOSE SELECTED MULTIPUL VALUES IN SECONDARY LIST THAT CAN BE AFTER(AT LINE-SELECTION OR AT USER-COMMAND)............?

    hey
    this code modify's simlarly u can read n  display secondary window
        DO .
    Reading the internal table whose data is displayed into wrk area.....
          READ LINE SY-INDEX FIELD VALUE INT_DISPLAY-SHIPMENT_ID INTO WF_SHIPMENT_ID.
    Reading the check box value
          READ LINE SY-INDEX FIELD VALUE WG_CHK.
    If all the records are read and there is no code left to read
          IF SY-SUBRC <> 0 .
            EXIT.
          ENDIF.
    To highlight the line which is selected by the user
          IF WG_CHK = WL_X.
            MODIFY CURRENT LINE
            LINE FORMAT COLOR COL_NEGATIVE INVERSE
            FIELD VALUE WG_CHK FROM WL_SPACE.
            MODIFY CURRENT LINE
            LINE FORMAT INPUT OFF.
    Also append the record read into new internal table which u will display in secondary window.......
          ENDIF.
        ENDDO.
    AT USER-COMMAND. or AT LINE SELECTION . u can write this code.........
    DISPLAYING A POP-UP WINDOW .
          WINDOW STARTING AT 10 50
                 ENDING AT 120 70.
    and then write the table into which u have stored the read entry which user had selected
    reward points if useful

  • At line-selection and At-user command

    Hi friends,
    Can we use both those events at a time in report?
    If so can any body provide me sample code?
    Regards

    <b>Example for AT LINE-SELECTION</b>
    REPORT demo_list_at_line_selection.
    START-OF-SELECTION.
      WRITE  'Basic List'.
    AT LINE-SELECTION.
      WRITE: 'Secondary List by Line-Selection',
           / 'SY-UCOMM =', sy-ucomm.
    When you run the program, the basic list appears with the standard list status. The detail list shows that SY-UCOMM has the value PICK.
    <b>Example for AT USER-COMMAND</b>
    REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
      WRITE: 'Basic List',
           / 'SY-LSIND:', sy-lsind.
    TOP-OF-PAGE.
      WRITE 'Top-of-Page'.
      ULINE.
    TOP-OF-PAGE DURING LINE-SELECTION.
      CASE sy-pfkey.
        WHEN 'TEST'.
          WRITE 'Self-defined GUI for Function Codes'.
          ULINE.
      ENDCASE.
    AT LINE-SELECTION.
      SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
      PERFORM out.
      sy-lsind = sy-lsind - 1.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'FC1'.
          PERFORM out.
          WRITE / 'Button FUN 1 was pressed'.
        WHEN 'FC2'.
          PERFORM out.
          WRITE / 'Button FUN 2 was pressed'.
        WHEN 'FC3'.
          PERFORM out.
          WRITE / 'Button FUN 3 was pressed'.
        WHEN 'FC4'.
          PERFORM out.
          WRITE / 'Button FUN 4 was pressed'.
        WHEN 'FC5'.
          PERFORM out.
          WRITE / 'Button FUN 5 was pressed'.
      ENDCASE.
      sy-lsind = sy-lsind - 1.
    FORM out.
      WRITE: 'Secondary List',
           / 'SY-LSIND:', sy-lsind,
           / 'SY-PFKEY:', sy-pfkey.
    ENDFORM.
    When you run the program, the system displays the following basic list with a the page header defined in the program:
    You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
    Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
    For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
    I hope it helps.
    For more details have a look at below link.
    http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Strange behavior with the tab key and multiple users

    Hello,
    I'm stuck on this problem and none of the usual trouble-shooting techniques have yielded results, so perhaps someone will point me the right direction.
    I have an Intel iMac running 10.3.9 with two user accounts, and in one of the accounts the tab key fails to advance the cursor from field to field in any application, be it a browser, mail client, etc. The tab key works otherwise, I can switch between applications using apple tab, for instance. The other user account works fine. The keyboard & Mouse preferences are identical on both user accounts. In fact, after creating a new user account it too had no tabbing from field to field either, which would seem to indicate that it is not a problem in an individual account. Repairing the permissions did not help, and even a recent archive and install failed to change this. Anyone know where to look for an answer? Thanks in advance...
    iMac 2GHz Intel Core 2 Duo Mac OS X (10.4.9)

    I did a wholesale replacement of the preferences folder from the working account to the non-working one, and after going through the welcome screens and re-setting a variety of preferences (setting up mail.app again, etc...), the tab key is functioning as expected in all applications. Thanks!

  • No longer opens webpages and links in tabs, but new browser windows instead. I have the check box for tabs selected and have FF 3.6.8 on a MAC?

    Tabbed browsing doesn't work. Opens in a new browser instead

    I want to ask for more information. Does File - New Tab open a new tab? Does the issue happen in [[Safe mode]]?

  • When a gradiented shape layer is selected and I user the eyedropper the colours get weird, anyone know what this is?

    The first image is of the normal doc. It's just a round rectangle with stroke (stroke is a Layer Style)...
    The second is when an old gradient (blue) seems to get blended into the equation... Somehow, the fix is to restart photoshop but after a little time, this happens again... It's getting annyoing

    Same old, same old... Update your graphics driver or turn off hardware acceleration in the prefs and also check your color management stuff.
    Mylenium

  • Client application freezes permanently when one user logoff and another user take that session on windows server 2008 r2

    Hi,
    we have windows server 2008 r2 and In our application there are three server and on e client application.
    My client application freezes on a specific scenario.
    Steps taken to hang are following:-
    1. start client application
    2. open an module named by XYZ
    3. login to remote machine with another session./ Another user login from their computer.
    4. connect with the session which have client application opened.
    5. Whenever the session is forcibly taken client application becomes unresponsive.

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Save a Copy with enabled user rights

    I have a form that has user rights enabled. I sometimes get calls from providers that they can no longer enter information on the form. They have the most current version of Acrobat Reader. My suspicion is that when they save the form they are using Save a Copy instead of Save or Save As.
    I know if you have a document that has security and enabled user rights that you have to Save a Copy and then change the document security.
    By using Save a Copy does that remove the enabled user rights to the document which is causing Acrobat Reader not to be able to enter information into the document?
    Is there a way to disable Save a Copy on the form?
    Thanks
    Carol

    While a script would probably be best, photoshop 7 requires
    you download a scripting plugin which may or may not install
    in photoshop 7 depending on your version.
    You can probably do what you want with actions. The file naming part
    is not hard, but i have a couple of questions about the cropping.
    Are all the images the same size and are the crops in the same position for each?
    In other words on the P crop (200x250), is the crop in the same position on each
    image or different for each?
    MTSTUNER

  • Not able to select and copy from adf table in IE and chrome if we enable row selection

    Hi All,
    We have an adf table and user wants to select and copy table cell values.
    We enabled row selection on adf table. Ifrow selection is in place, IE and Chrome are not allowing user to select and copy data. But Firefox is allowing.
    Do we have any solution to this? For our customer IE is the standard browser and they do test app on IE.
    Regards
    PavanKumar

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

  • Tab page and customization keeps disappearing

    For the last two days, my tabs page and customization keep disappearing. When I open a new tab, it is completely blank, with no preloaded sites. When I try to add items such as bookmarks, home, search, adblock, etc to the address bar, they appear as if they have been added but do not appear on the page, nor do they appear after I shut down and restart Firefox. I have refreshed multiple times in the last few days. At that point, I can see the tabs page, see the settings gear, and can populate tabs, pin them etc. I can also get the customization to work. Most recently, the tab page was there, and I could see sites loaded, but the images were missing and never appeared. Sometimes when I shut down the computer, the settings are all saved, but other times they all disappear and the process starts all over again. This includes when I close Firefox with the Exit command under File rather than using the red X option.

    Other users have reported problems with FoxTab recently: the reviews for it over the last 9 months are pretty blistering: [https://addons.mozilla.org/firefox/addon/foxtab/reviews/]. I don't know enough about that extension to help with that.
    But regarding the built-in main toolbar, those are changes that Firefox itself should save. Our support article "[[How to fix preferences that won't save]]" covers many of the reasons that there might be glitches with that. Another common issue is utility/privacy/security software like Advanced SystemCare that has a home page protection/browser protection feature. This can roll back your changes between sessions of Firefox. You may need to disable that feature if any of your software has it.

  • Tab Hide and Show according to user

    Dear Friend,
    i want to hide/Show tab according to application user.i want to display tab abc if application user exist in group 006 .
    My Column Name in user table name :user_master
    user_id varchar2(15),
    grp_id varchar2(10)
    what sql statement i apply to hide and show Tab.
    Thanks

    Dear Friends,
    i have try
    Exsist(SQL return at least one value.)
    select user_id from user_mas where user_id=:app_user and user_gr_id='006';
    It's working.

Maybe you are looking for

  • Explain about import statement..

    Hi All, what is happening for the below code, pls explain.   import mdpsx release_9400 block_9400 upd_mro_9400 route_9400 mdvux       from database indx(zb) id indx_key. below is the information mdpsx - Internaltable release_9400 - Internaltable bloc

  • Windows 8.1: Help with Fully Securing an Operating System

    Hello all and thank you for visiting my post. Your read is greatly appreciated. I am in need of knowing methods of securing Windows 8.1 Pro & Enterprise to allow the utmost secure OS to be the end result. Security Covers: Local Security Policies GPOs

  • IMovie de-linking

    Hi Everyone. I am Running iMovie '09 on Leopard 10.5.7 with the following Model Name: MacBook Pro Model Identifier: MacBookPro3,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.2 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 4 M

  • List of values to PL/SQL procedure

    I want to execute a query of the form UPDATE myTable SET myField = someValue WHERE myTablePK IN (1, 3, 5, 7, 9) Through HTML, I have a form field that is a comma-delimited list of values. I want to be able to pass this to a stored proc. What I'm not

  • Contact sheet truncates and changes file name

    Greetings! I am using Photoshop CS3 on a G5 PowerPC running OS 10.5.4. My file name is 29 characters long and looks like this - Gar_070208_MD_42BlueHeron_055.JPG. When I make a contact sheet, PS puts the images in the correct order left to right top