IBM Support

PI47885: h:selectManyCheckbox and h:selectOneRadio components do not support f:ajax tags.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If there is no ID attribute in the radio button cannot get
    value on JSF application.
     javax.faces.source of sending data to server-side is null.
    
    
    In /faces/view.xhtml, the first radio button has id attribute.
    Chose the value, and then it is displayed in last line.
    
    But the second radio button doesn't have id attribute.
    Chose the value, and then it isn't displayed in last line.
    
    view.xhtml excerpt
        (dl)
          (dt)idSomeID h:selectOneRadio(/dt)
          (dd)
            (h:selectOneRadio value="#{model.value}" id="in")
              (f:selectItem itemValue="A" /)
              (f:selectItem itemValue="B" /)
              (f:ajax render="out" /)
            (/h:selectOneRadio)
          (/dd)
    
          (dt)idOtherID h:selectOneRadio(/dt)
          (dd)
            (h:selectOneRadio value="#{model.value}")
              (f:selectItem itemValue="A" /)
              (f:selectItem itemValue="B" /)
              (f:ajax render="out" /)
            (/h:selectOneRadio)
          (/dd)
        (/dl)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile version 8.0 and 8.5.5 users of      *
    *                  JavaServer Faces(JSF) MyFaces 2.0           *
    ****************************************************************
    * PROBLEM DESCRIPTION: The h:selectManyCheckbox and            *
    *                      h:selectOneRadio components do not      *
    *                      support f:ajax tags if the id           *
    *                      attribute is not specified.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    It is necessary to have an id for components that have client
    behaviors. This id is not generated as it should be for either
    the h:selectManyCheckbox or h:selectOneRadio components if
    they have client behaviors.
    If either h:selectOneRadio or h:selectManyCheckbox do not have
    an id specified, f:ajax tags will not work correctly.
    

Problem conclusion

  • The JSF MyFaces code was updated to allow f:ajax tags to work
    with h:selectManyCheckbox and h:selectOneRadio components
    even if an id is not specified.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.12 and 8.5.5.9. Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI47885

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-31

  • Closed date

    2015-10-20

  • Last modified date

    2015-10-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850"}]

Document Information

Modified date:
06 September 2021