javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-910

Can't render a multiline <selectone_radio/> or <selectmany_c.b.l/>

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 2.2 Sprint 8
    • Fix Version/s: None
    • Component/s: Components/Renderers
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      910
    • Status Whiteboard:
      Hide

      size_medium importance_small

      Show
      size_medium importance_small

      Description

      Name: gm110360 Date: 03/17/2004

      A DESCRIPTION OF THE REQUEST :
      It would be nice to "wrap" a radio list or checkbox list when using a
      <selectone_radio/> tag or <selectmany_checkboxlist/> tag.

      I mean: when the collection binded to <selectitems/> is too large, we could ask
      to the renderer to render it on more than one line.

      JUSTIFICATION :
      Better presentation of large collection of radio or checkbox lists

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      (o) Item 1 (o) Item 2 (o) Item 3
      (o) Item 4 (o) Item 5 (o) Item 6
      ...
      (o) Item n-1 (o) Item n

      with, for example, another attribute: <selectone_radio rows="4">...</>
      ACTUAL -
      (o) Item 1 (o) Item 2 (o) Item 3 ... (o) Item n-1 (o) Item n

      ---------- BEGIN SOURCE ----------
      <h:selectmany_checkboxlist id="complications" layout="LINE_DIRECTION">
      <f:selectitem itemLabel="Aucune" itemValue="0"/>
      <f:selectitem itemLabel="D�c�s" itemValue="1"/>
      <f:selectitem itemLabel="Infarctus Q" itemValue="2"/>
      <f:selectitem itemLabel="Infarctus non-Q" itemValue="3"/>
      <f:selectitem itemLabel="PAC urgent" itemValue="4"/>
      <f:selectitem itemLabel="R�occlusion" itemValue="5"/>
      <f:selectitem itemLabel="H�matome inguinal" itemValue="6"/>
      <f:selectitem itemLabel="Dissection iliof�morale" itemValue="7"/>
      <f:selectitem itemLabel="Pseudoan�vrysme" itemValue="8"/>
      <f:selectitem itemLabel="Fistule AV f�morale" itemValue="9"/>
      <f:selectitem itemLabel="Atteinte crurale" itemValue="10"/>
      <f:selectitem itemLabel="R�paration vasculaire" itemValue="11"/>
      <f:selectitem itemLabel="H�morragie" itemValue="12"/>
      <f:selectitem itemLabel="AVC" itemValue="13"/>
      <f:selectitem itemLabel="Transfusion" itemValue="14"/>
      <f:selectitem itemLabel="R�action anaphylactique" itemValue="15"/>
      <f:selectitem itemLabel="FV" itemValue="16"/>
      <f:selectitem itemLabel="Infection" itemValue="17"/>
      <f:selectitem itemLabel="OAP" itemValue="18"/>
      <f:selectitem itemLabel="D�collement p�ricarde" itemValue="19"/>
      </h:selectmany_checkboxlist>

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      May use <selectone_menu/> or a <selectmany_menu/> tag instead (but is slower to
      do in some cases)

      May also use 'layout="PAGE_DIRECTION"', but not always beautiful

      I may write another component too (but is time-consuming & use of a non-standard
      component)
      (Incident Review ID: 240440)
      ======================================================================

        Activity

        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Burns
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: