ICEfaces
  1. ICEfaces
  2. ICE-2961

ice:selectInputDate readOnly attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.7RC1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      The selectInputDate component doesn't have a readOnly attribute. This should look/function in a similar way to how the readOnly attribute works with ice:InputText. A possible workaround would be to use the disabled attribute on the selectInputDate and then change the disabled css style to appear similar to the readOnly inputText.

        Activity

        Arran McCullough created issue -
        Arran McCullough made changes -
        Field Original Value New Value
        Support Customer Ref. #s https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4758
        Hide
        Priyanka Hajare added a comment -

        A work around for this issue will be using onkeydown="javascript:return false;" , that should do the trick of making ice:selectInputDate readonly,

        <ice:selectInputDate id="pay1" value="" renderAsPopup="true" popupDateFormat="MM/dd/yyyy" required="false" onkeydown="javascript:return false;" imageDir="/images/common/" />

        Show
        Priyanka Hajare added a comment - A work around for this issue will be using onkeydown="javascript:return false;" , that should do the trick of making ice:selectInputDate readonly, <ice:selectInputDate id="pay1" value="" renderAsPopup="true" popupDateFormat="MM/dd/yyyy" required="false" onkeydown="javascript:return false;" imageDir="/images/common/" />
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8DR#3 [ 10143 ]
        Assignee Priority P1
        Assignee Yip Ng [ yip.ng ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18129 Wed Dec 31 13:12:29 MST 2008 yip.ng ICE-2961
        Added readonly attribute.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-selectInputDate-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Yip Ng [ yip.ng ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran McCullough
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: