0 Replies Latest reply on Jun 23, 2008 9:50 AM by 666705

    <netui:checkBoxGroup defaultValue doesn't work

    666705
      Hi all,

      I tried with weblogic portal 10.0, to generate dynamically some checkboxes and precheck some of those. It looks quite simple in the tutorial:
      http://beehive.apache.org/docs/1.0.2/netui/apidocs/taglib/beehive.apache.org/netui/tags-html-1.0/checkBoxGroup.html

      <netui:checkBoxGroup
      dataSource="actionForm.preferredColors"
      optionsDataSource="${pageFlow.colors}"
      defaultValue="${pageFlow.defaultColor}" />

      where the optionsDataSource contains the name of the checkboxes and the defaultValue specifies which checkbox should be checked.

      However, all the generated checkbox are checked, the defaultValue is ignored, no matter which value is set for default value.

      Is it a bug of wls 10.0?

      Best regards,