ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-279

selectInputDateColumn doesn't display the proper dateStyle when in non-edit mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.Beta1
    • Fix Version/s: EE-2.0.0
    • Component/s: Enterprise Push Server
    • Labels:
      None
    • Environment:
      JSF 2/ICEfaces 2 only
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The convertDateTime dateStyle is not being applied for the selectInputDateColumn when in its non-edit mode for ICEfaces EE 2.0 Beta. This is working fine in the ICEfaces EE 1.8.2 P02 release.

        Activity

        Hide
        Arran Mccullough added a comment - - edited

        Sample Code:

        <ice-cc:selectInputDateColumn property="startDate" renderAsPopup="true"
        id="startDate" title="Start Date">
        <f:convertDateTime dateStyle="short"/>
        </ice-cc:selectInputDateColumn>

        Show
        Arran Mccullough added a comment - - edited Sample Code: <ice-cc:selectInputDateColumn property="startDate" renderAsPopup="true" id="startDate" title="Start Date"> <f:convertDateTime dateStyle="short"/> </ice-cc:selectInputDateColumn>
        Hide
        Brad Kroeger added a comment -

        The correct way to use a validator/converter is as follows:

        <ice-cc:selectInputDateColumn title="Birth Date"
        property="birthDate" width="150px"
        required="true">
        <ui:define name="converter">
        <f:convertDateTime dateStyle="short"/>
        </ui:define>
        </ice-cc:selectInputDateColumn>

        I tested this and it worked, the documentation will have to be updated to reflect the requirement of the <ui:define> tag.

        Show
        Brad Kroeger added a comment - The correct way to use a validator/converter is as follows: <ice-cc:selectInputDateColumn title="Birth Date" property="birthDate" width="150px" required="true"> <ui:define name="converter"> <f:convertDateTime dateStyle="short"/> </ui:define> </ice-cc:selectInputDateColumn> I tested this and it worked, the documentation will have to be updated to reflect the requirement of the <ui:define> tag.
        Hide
        Ken Fyten added a comment -

        This new technique needs to be documented in the WIki comp. docs.

        Show
        Ken Fyten added a comment - This new technique needs to be documented in the WIki comp. docs.
        Hide
        Brad Kroeger added a comment -

        Revision 27211 - Updated TLD, wiki

        Show
        Brad Kroeger added a comment - Revision 27211 - Updated TLD, wiki

          People

          • Assignee:
            Brad Kroeger
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: