ICEfaces
  1. ICEfaces
  2. ICE-10461

ace:checkboxButton implementation need optimization

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Primefaces from trunk

      Description

      Current implementation of ace:checkboxButton from trunk is extremaly overcoded:
      - long html
      - responses for single check/update are very long (2kB)
      - control still usenon standard event ICE-10158
      - view is not compatibilie with old browsers (image do not appears)
      - on very complex dynamic pages selected value is not saved on server

      Look at Primefaces demo /prime-showcase-4.0/ui/selectBooleanCheckbox.jsf - do the same and everything is short and quick. I suggest to use this code.

        Activity

        Hide
        Krashan Brahmanjara added a comment - - edited

        Additionaly

        • if 'label' for this component is defined then this value is visible instead check icon
        • if checkbox is used on paged datatable then checked values are randomly cleared ..sometimes on page switch, sometimes on tabset switch

        Workaround ... I replaced all ace:checkboxButton with standard h:checkBoxButton and everything works.

        Show
        Krashan Brahmanjara added a comment - - edited Additionaly if 'label' for this component is defined then this value is visible instead check icon if checkbox is used on paged datatable then checked values are randomly cleared ..sometimes on page switch, sometimes on tabset switch Workaround ... I replaced all ace:checkboxButton with standard h:checkBoxButton and everything works.

          People

          • Assignee:
            Unassigned
            Reporter:
            Krashan Brahmanjara
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: