Valuechange listener works only for some components in page

This is a portion of XHTML, which is that included into the page. It hash 2 <h:selectOneRadio> which have the same listener, but only in the first case the method is called right after user changes value of radio. In the second case its triggered only when submiting the form.
*<h:selectOneRadio id="workType"*
*valueChangeListener="#{orderingPage.valueChanged}"*
*value="#{orderingPage.ordering.orderedObject.workType}"*
*layout="pageDirection">*
*<f:selectItem itemLabel="#{enums['WorkType.scan']}" itemValue="SCAN" />*
*<f:selectItem itemLabel="#{enums['WorkType.filmcopy']}"*
*itemValue="FILMCOPY" />*
*<f:selectItem itemLabel="#{enums['WorkType.papercopy']}"*
*itemValue="PAPERCOPY" />*
*<f:selectItem itemLabel="#{enums['WorkType.print']}" itemValue="PRINT" />*
*<f:selectItem itemLabel="#{enums['WorkType.readerPrinter']}"*
*itemValue="READER_PRINTER" />*
*<f:selectItem itemLabel="#{enums['WorkType.photo']}" itemValue="PHOTO" />*
*<f:ajax*
*render="scanTypesGrid copyFormatGrid copyColorGrid deliveryTypeGrid" />*
*</h:selectOneRadio>*
*<h:panelGroup id="copyFormatGrid">*
*<h:selectOneRadio layout="pageDirection"*
*value="#{orderingPage.ordering.orderedObject.copyFormat}"*
*valueChangeListener="#{orderingPage.valueChanged}"*
*rendered="#{(orderingPage.ordering.orderedObject.workType == 'PAPERCOPY') or (orderingPage.ordering.orderedObject.workType == 'PRINT')}">*
*<f:selectItem itemLabel="#{enums['PaperCopyFormat.a0']}" itemValue="A0" />*
*<f:selectItem itemLabel="#{enums['PaperCopyFormat.a1']}" itemValue="A1" />*
*<f:selectItem itemLabel="#{enums['PaperCopyFormat.a2']}" itemValue="A2" />*
*<f:selectItem itemLabel="#{enums['PaperCopyFormat.a3']}" itemValue="A3" />*
*<f:selectItem itemLabel="#{enums['PaperCopyFormat.a4']}" itemValue="A4" />*
*</h:selectOneRadio>*
Can't see anything, why also the 2nd should not be working fine. Generally in this page i have some listeners working, some not, don't know why.
thanks for help!
PS: I use primefaces 2.2.1 and jsf-api 2.1.2
Edited by: 851668 on 17.11.2011 08:06
Edited by: 851668 on 17.11.2011 08:08

Note that the first has an f:ajax attached to it and the second does not.

Similar Messages

  • How do I keep a page as my home page when dragging icon to left of URL to house image & confirming that I want it as home page works only for current session, so when Firefox next opened, I end up with some stupid search page which McAfee doesn't like?

    A couple of days ago, I connected to the Internet as usual & opened Firefox, only to be greeted by an almost blank screen with a Google-type search box in the middle & this message from McAfee:
    "Your default search settings have changed. This may pose a security risk. Would you like to restore them to McAfee Secure Search to provide a safer searching experience?"
    instead of my usual home page (BT Yahoo). I naturally clicked on the "Yes" option in the message, but rather than restoring my BT Yahoo home page, all that did was to insert the McAfee logo to the left of the search box in the top right-hand corner of the screen. The first time it happened, I had to search for the BT Yahoo page & then followed the standard procedure for setting it again as my home page. It worked only for that session: each time I shut down Firefox or restarted my computer after that, all I got was the blank "search page" & restoring the previous session was the only way to get back to BY Yahoo. How on earth do I make the home page setting permanent?
    As far as I'm aware, I have done nothing to alter my search settings. However, I am anything but computer-literate, so I may have done/pressed something without realising it, but trying to understand what is now happening is far beyond my limited IT skills.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • How do I add a new user to my account? But I wanna give him a special product (e.g. InCopy) only for some month...

    I am admin and I want to add a new user to my account. But as written above, I want that he/she will get this product only for some month and not for a whole year.
    Thanks for the help.

    Team license links that may help
    -manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • Master Page: Alternatives (Subform Set) works only for the first page

    Hi everybody!
    I have bumped into a very weird problem with ADOBE Forms:
    When I create an 'Alternative' in a Context area and then place it on a Master Page, it works only for the first page. On the rest of pages it always show the 'TRUE' subform, regardless of the condition (which is not changed, of course). Absolutely the same Alternative works perfectly in a Content area for all pages.
    Has anybody seen something like this? Any ideas why?
    Thank you!

    This happens because of the processing of the form.
    You can see this here:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    You have to put a own variable, which is set with the value you want in the very beginning.
    I know, it is not that logical in the first moment, but it makes sense.
    Regards
    Florian
    PS: This space SAP Interactive Forms by Adobe is the correct for questions like that

  • Auto closing of dispute cases--only for some company codes

    Hi
    We have activated dispute management for several company codes in our system. The auto closing of dispute cases also has been activated in status management. Cases are automatically closed by the system (through a batch job) when the last disputed object is cleared.
    Now there is a requirement to deactivate auto closing only for some company codes. They want to close cases manually in these company codes.
    Is this possible and if so how?
    Regards
    Raj.

    You cannot deselect at a company code level.
    Can we go through you proposed process.
    So you have a dispute for $100.
    The customer pays it and the dispute closes.
    Then the customer calls up and says they have an issue with the invoice they paid previously.
    I have seen this happen before but there was a little twist
    1 - The customer raised a debit note against the client for the issue that they had. The original invoice is cleared but a debit note is created and then disputed and processed. So you can close the original dispute and create a new dispute against the debit note
    2 - The customer paid the wrong invoice. The dispute was closed. However to rectify the miss allocation the clearing document will be reversed meaning the dispute is "re-opened" and can be processed.
    I am unaware of any other requirement for a customer to "re-dispute" a paid item in SAP.

  • I have installed Photoshop element 12 trail version in my system and i worked also for some days but it given error that "cannot load default brushes because scratch disk is full " but scratch is 158GB free

    Hi,
    I have installed Photoshop element 12 trail version in my system and i worked also for some days but it given error that "cannot load default brushes because scratch disk is full " but scratch is 158GB free why whats the problem am not getting.

    That thread helped for a time.  But now it seems as though my computer is back to slow again.  But, some of the jargon is over my head as well.  Not sure I knew quoite everything they were talking about.  But thanks a lot for that, it helped I probably just need to reread it and follow the instructions again.  Thanks so much.

  • I use Time Machine with an external hard disc which has worked perfectly for some years.  Recently Time Machine has aborted backups if the screen saver starts when back-up is in progress. I use a Maxtor OneTouch4 back-up system.  Any ideas?

    I use Time Machine with an external hard disc which has worked perfectly for some years.  Recently Time Machine has aborted backups if the screen saver starts when back-up is in progress. I use a Maxtor OneTouch4 back-up system.  Any ideas?
    Has Apple recently up-dated my OS (Lion) such that every time the screen saver starts it disables Time Machine.  I have to switch-off the computer and re-start in order to undertake  a back-up.  I have now switched of all screen savers.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • PA only for some CC under some controlling area

    Hello!
    If all company codes are under the some controlling area, when CO PA operating concern is created, how can I activate CO PA only for some company codes and not to others?
    Is there a way we can restrict all postings to PA only in some company codes?
    What are the basic steps to activate planning in CO PA?
    (transactions, procedures, etc)
    Many thanks in advance!
    Alexandra

    Try Season Pass FAQ's >  iTunes Store: Complete My Season frequently asked questions (FAQ)

  • How to set Display Only for some records in CAT2 Worklist

    Hi,
    I have a requirement to modify an attributes for some records in the Worklist of CAT2.
    We have an external system where we book our time. Weekly we import data from that external system into CATSDB using BAPI for every single employee.
    We would like when the user wants to modify his time sheet to be able to add/modify all records except those which were imported from the external system. Which means that those records should be in Display only mode / grayed out / before release.
    Is there any user exit or BADI that could help to modify that attribute and that will be triggered before displaying the Worklist ?
    Please advise !
    Thanks,
    Stefan

    I've solved the problem.
    First I've added customer field in CI_CATSDB structure and when I am importing the data I am populating that field with 'X', which means that this is record from the external application.
    I've created enhancement implementation in Function group->CATS, screen->2003 MODULE->D2000_MODIFY_LOOP, subroutine->modify_d2000_loop where I am checking the field mentioned above if it is 'X' I am modifying the screnn-output = off.
    It works, thak you for your help.
    Regards,
    Stefan

  • Catalog items visible to everyone, purchaseable only for some users

    Hello everybody
    Me again trying to find a solution to the following problem:
    We need to have some items in our catalog that are visible for every user but only purchaseable via shopping cart / SRM for some authorized users. I couldn't find any possibility in the customizing. So my attempt would be to add an additional attribute in CCM where I can put some kind of flag and then to construct an authorization check based on that flag and on a authorization profile. In case the authorization check fails, the catalog item may not be put in the shopping cart. Preferabily the shopping cart icon should be disabled for such items.
    Did somebody out there already think about something similar or already implemented something like that?
    It would also be a good basis for offering a publicly viewable, browseable catalog for "window shopping", because I also didn't find a way until now to publish the catalog as a standalone web application without shopping cart functionality.
    What do you out there think about it?
    Kind regards,
    Renaud

    Hi Christophe
    Thanks a bunch for your great help! I could solved the problem and am now able to have some catalog items visible but only purchaseable for authorized users. This is what I've done:
    1. Create a new authorization class (SU21)
    2. Create a new authorization object within this class
    3. Create a new authorization field within this object
    Don't forget to save and quit the SU21 transaction and then reenter it (/nsu21) because only then you'll see your changes / additions... seems to be a "refresh-bug" in SU21.
    4. Create a new role (PFCG) and an authorization profile containing the new authorization object. Assign the values needed.
    5. Create a new attribute in CCM and assigned it to OCI cust_field5 (because this one is of type TEXT50)
    6. Implemented some code in BAdI BBP_CATALOG_TRANSFER:
    DATA: wa_et_sc_item_data  TYPE BBP_PDS_SC_ITEM_D.
    DATA: wa_catalog_content  TYPE BBP_WS_OCI_ITEM_S.
    DATA: lv_authorized       TYPE c.
    DATA: lt_limtab           TYPE TABLE OF string.
    DATA: wa_limtab(10)       TYPE C.
    DATA: lv_message_v1       LIKE SY-MSGV1.
    DATA: lv_message_v2       LIKE SY-MSGV2.
    DATA: lv_message_v3       LIKE SY-MSGV3.
    DATA: lv_message_v4       LIKE SY-MSGV4.
    LOOP AT et_sc_item_data INTO wa_et_sc_item_data.
    * Get corresponding line from transferred catalog data
      READ TABLE catalog_content INTO wa_catalog_content
                                 WITH KEY line = wa_et_sc_item_data-number_int
                                 BINARY SEARCH.
      IF sy-subrc = 0.
    *   If field content for checking authority against is not empty...
        IF NOT wa_catalog_content-cust_field5 IS INITIAL.
    *     Perform authority check
          AUTHORITY-CHECK OBJECT '<your auth.object here>'
                          ID     '<your auth.field here>'
                          FIELD  wa_tab.
          IF sy-subrc <> 0.
            MOVE wa_catalog_content-cust_field5  TO lv_message_v1.
            MOVE wa_et_sc_item_data-ordered_prod TO lv_message_v2.
    *       Eliminate leading zeroes from product number
            WHILE lv_message_v2+0(1) = '0'.
              SHIFT lv_message_v2.
            ENDWHILE.
    *       Output message
            MESSAGE ID     'ZXXX'
                    TYPE   'W'
                    NUMBER '000'
                    WITH   lv_message_v1
                           lv_message_v2.
    *       Remove item from SC
            DELETE et_sc_item_data.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDLOOP.
    Interesting observation is, that when issueing the message with type = 'I' it does not condense the message text. With type = 'W' it does...
    I also found out the reason, why the way via ET_SC_MESSAGES will not work: SAP <b>has hard coded</b> somewhere after the BAdI call the message id and message number... so no way to bypass this without a modification.
    Kind regards,
    Renaud

  • GetCustomAttributes FlagAttribute working only on some Enums

    I have a bit of code that checks an enum to see if it has [Flags]. however, It only works for one of the enums that has a flag. the other ones are ignored for some reason.
    var currentEnum = new EnumInfo() { Name = t.Name, IsFlagsEnum = t.GetCustomAttributes<FlagsAttribute>().Any() };
    It loads the enums from an assembly and iterates through them. Nothing seems to be completely different between the enums other than the name and the values inside.
    the t is the element in the foreach loop
    foreach (Type t in query)
    What would cause the get custom attributes to fail to find the [flags] attribute. 

    The OrderBy seems to work, since all of the Enums are in order once it returns. 
    here's a couple of the enums, with scrubbed names. 
    This one returns false for flags.
    [Flags]
    public enum Method
    Undefined = 0,
    Site = 1,
    Manual = 2,
    API = 4
    and this one gets the boolean IsFlagsEnum = true;
    [Flags]
    public enum Type
    New = 0,
    Existing = 1
    Hi
    Fullmetal99012,
    Thanks for posting more useful information, Now i have tried reproed your issue. As
    CoolDadTx said, you code works fine on my side. Here is my screenshot
    >>the only difference on the two enumerations I posted above is that the one that isn't getting picked up by the code is reporting that the "members" of the enum have a CustomAttribute, while the one that is shows 0 for the custom attribute
    count. 
    I doubt you put the Method enum as members of a class.
    Best wishes,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Flash Player works only on some sites

    Hey, ever since I've installed the new Flash 10.1 Flash has only worked on some sites. Good example is Youtube where it
    works and then again on Zero Punctuation site it doesn't work. This only happens if my user account is standard user. If I switch it to Admin account (the rights, I don't switch to a different account totally) then Flash works on all sites. Why does Flash require Admin account on this computer to work properly with 10.1?
    EDIT: Forgot to mention that Flash 10.1 works fine with Standard account on my laptop.'
    2nd EDIT: Windows 7 with Internet Explorer 8 btw. Forgot to mention that too

    Hey.
    I'm basing this on currently loaded IE addons. My desktop has more running atm. I can list them: Java Plugin 2 SSV helper, Windows Media Player, XML DOM Document 6.0, Free Threaded XML DOM Document, XSL Template 6.0 and Windows Live Sign-In Helper alongside with Flash. Laptop has only Windows Live Sign-in Helper on with Flash. The java is disabled and rest are from Microsoft and are well, needed to display XML sites I guess
    I have Microsoft Security Essentials with just Windows Firewall on both computers. And I just meant that probably some weird security setting in flash or IE since something, like I said, seems to be partially blocking flash from different domain. For example, I know that a site "istartedsomething" has a video that is linked from Youtube. It doesn't work in that site but everything works just fine in Youtube.
    I thought of that too first, that the websites haven't managed to update, but for some reason they do work on my laptop which has same flash installed.
    On sidenote, for example http://kb2.adobe.com/cps/155/tn_15507.html does work on my laptop but doesn't work on this desktop while http://www.adobe.com/software/flash/about/ works on both.
    Whew, wall of text done

  • Flash Player works only for Local Admins

    Hi!
    We have about 40 computers in our organisation with the same problem: Since few weeks the Adobe Flash Player (ActiveX) works only, when the user has administrative privileges. If a normal user wants to watch youtube-films or other flash objects, there will only appear a message that (a new) Adobe flash player must be installed to view the content (or so). It looks like there is no Adobe Flash player installed. But if the user is a local admin, everything works fine - on the same computer.
    Under Software Adobe Flash Player is displayed as installed.
    We have WinXP Professional SP2/SP3 32bit running on 4-year-old Maxdata computers. And few new computers (also WinXP Professional SP2/SP3 32bit)
    Confusing: There are few computers where flash works for everyone! It seems, that especially the computers that are new don't have this problem.
    I've tested everything: Using the MSI-file, using the EXE-file. Uninstalling the MSI, uninstalling the EXE. Using Version 14, 16 and now 26. Uninstalling everything by the offical Adobe flash player uninstaller. Installing the software as administrator, installing the software via GPO. I've deleted system32/macromed/flash. I've used Microsoft subinacl - with the offical adobe reset_fp10.cmd. I edited system32/macromed/flash so that everybody has write rights on this folder.
    But nothing works. It's always the same: Videos in the IE are only shown for admins.
    And now, I've no idea, what else I could do?!
    Anyone else?
    Greetings from Germany
    Peter

    Pat, is this the one?
    http://forums.adobe.com/thread/729200?tstart=0
    eidnolb

  • ALV_grid oo: event "data_changed" on F4 in the line only for some fields

    Hi all,
    when I add a new line in ALV_Grid and I select the search help, for some fields
    the event "data_changed" has triggered even I have not finished to fill the entire fields on the line, and I don't need this.
    Opposite I have some fields which work fine and when I choose F4 the list of the
    possible values has showed without triggering "data_changed".
    Does anyboby know how is it possible?
    Since I'm new on ALV_grid oo, could you give a detailed answer?
    I thank You in advance.
                                                              Best Regards
                                                              Paolo

    I solved the problem int this way: 
    METHODS:
          handle_data_changed
              FOR EVENT data_changed
               OF cl_gui_alv_grid
              IMPORTING er_data_changed
              <u><i>e_onf4</i></u> e_onf4_before e_onf4_after.
      METHOD handle_data_changed.
    DATA: ls_good      TYPE lvc_s_modi.
    error_in_data = space.
    IF e_onf4 IS INITIAL.
      CALL METHOD check_righe_doppie  ( er_data_changed ).
      CALL METHOD update_delta_tables ( er_data_changed ).
      CALL METHOD semantic_checks     ( er_data_changed ).
    ENDIF.
      ENDMETHOD.                                  "handle_data_changed
    Message was edited by:
            Paolo Cavallini

  • How to prevent summation only for some kf?

    Hi all!
    I have a question concerning a problem we have in a query.
    I have a query that show, depending for project revision (witch
    refer to 0calmonth), trend of various key figures in the quarters
    I've planned in a specific project revision.
    For example, for revision 062004, the query result is the following:
    A/F Actual Forecast
    Quart. Acc.Bef. 30/09/03 31/12/03 31/03/04 30/06/04 Tot
    Ricavi    594    1.543    5.299    (510)   5.219 19.785
    Costi     552    1.457    5.425     456    6.119 21.366
    IMG         0        0        0       0        0    519
    Av.Tec.   2,0 %    5,0 %   11,0 %  38,0 %   76,0 % 0,0 %
    Av.Eco.   2,0 %    5,0 %   11,0 %  37,0 %   65,0 % 0,0 %
    You can see the following values:
    Avanz. Tecnico ***. alla data: 76%
    Avanz. Economico ***. alla data: 65% referring to
    last actual value (30/06/2004).
    In another query we would see the forecast
    referring to total, that we associated to quarter '25001'
    for all project revisions.
    We would see this total for all key figures except
    Avanz. Tecnico ***. alla data and
    Avanz. Economico ***. alla data, for witch we would see
    the value referring to the last quarter actual, that you
    can see in the previous report (76% and 65%).
    If you launch the query I see, for the mentionned key figures, the values
    132% and 120% for revision jun-04.
    Project rev. mar-03 sep-03 dec-03 mar-04 jun-04 sep-04
    Ricavi       19.203 19.785 38.988 19.785 19.785 19.785
    Costi        17.347 18.078 36.609 20.466 21.366 21.366
    IMG             519    519  1.038    519    519    519
    Av. Tec         0,0%   0,0%   0,0%   56,0% 132,0% 158,0%
    Av. Eco         0,0%  14,0%  52,0%   55,0% 120,0% 133,0%
    The problem is that the system do addition of percentage for all quarter
    related to revision 062004 (25113876=132!!!!), while I would see
    only the last quarter actual. But I don't would see drilldown by quarter in the query.
    I tried to use the variables type replacement path,
    but I don't use it because I'm in a structure.
    Does it exists some tricks that I can use to resolve this
    complicated situation?
    Fabio

    Hi Mav.
    Thanks for your patience.
    I've doing also the other two checks, but the problem persists.
    I think this isn't a malfunction, it's correct that system aggregates without quarter drilldown.
    But in this case I would prevent it only for this kf.
    Have you got some ideas in the structure selection to limit the exctraction to the last quarter actual?
    Maybe with a variable exit.
    Fabio

Maybe you are looking for

  • Compression to .DV? is it possible?

    Hey ya!!! I have read the compression threads and wasn't able to find this in the manual... ok.. what i normaly do in Imovie is share my project as a .DV and then go into squeeze and compress it!!! Now in my final cut pro when i click on EXPORT using

  • Questions for Content Server

    Dear All; l have setup the Content server in Windows 2003 Standard Edition using the filesystem storage (not the MaxDB database), and the size of the document could be approximately 80GB (for the next few years), l didn't setup the Cache server.  All

  • Using a concastinated variable to indentify an object

    Hi, what I'm trying to do is loop through 81 jTextFields and disable them using concastinated variable names. I don't even know if this is possible. To clarify : I have 9 jPanes, (named Pane1 to Pane9). Each jPane has 9 jTextFields, (named a11 -> a19

  • How to configure operator extension in UCxn?

    Hi all, I installed CUCM and UCxn 8.6.2 in my lab and was able to configure (using demo licenses) basic functionality meaning I can create voice mailbox for particular extension and it works just fine (can leave a message, listen it and finally delet

  • ITunes says new version available / Software Update says no updates???

    I started iTunes today on my MacBook Air and it immediately reported that there is a new version of iTunes available. After responding to the prompt regarding a new version by clicking on the "Download iTunes" button, iTunes launched Software Update.