Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • dvankeer
    replied
    Just verified the fix, and everything works as documented. Thanks for the work.

    Greets,
    David

    Leave a comment:


  • Isomorphic
    replied
    This has just been fixed, look for it in the next nightly build.

    Leave a comment:


  • Isomorphic
    replied
    There's a known problem with neverDisable which is scheduled to be addressed (no ETA, but purchasing support and reporting it would get it bumped to the top). In the meantime, you can use an additional FormItem which is never disabled to show an icon.

    Leave a comment:


  • dvankeer
    replied
    Some additional information, the icon does not disappears, this was due to some older CSS stuff i had lying around somewhere ;-)

    But the picker icon still get's rendered as disabled, despite the fact that setNeverDisable is set to TRUE on it.

    Leave a comment:


  • PickerIcon (aka FormItemIcon) and setNeverDisabled

    I' trying to add a picker icon to a disabled TextItem to allow for some additional options being performed. But when i run the following code:

    Code:
    FormItem test = new TextItem("test", "i18n: Testing");
    test.setOptionDataSource(DataSource.get("Test"));
    test.setValueField("id");
    test.setDisplayField("localizedLabel");
    
    // Create the picker icon for the field
    PickerIcon testPicker = new PickerIcon(PickerIcon.CLEAR, new FormItemClickHandler() {
        public void onFormItemClick(FormItemIconClickEvent event) {
            SC.say("Testing");
        }
    });
    testPicker.setNeverDisable(Boolean.TRUE);
    
    test.setIcons(salesStatusPicker);
    test.setDisabled(Boolean.TRUE);
    And the picker icon still is no where to be found. Removing the disabled from the TextItem and the icon is shown as requested. Is the 'never disabled' flag ignored for some reason?

    Greets and thanks in advance,
    David

    --------

    Environment details:

    GWT version: 2.0.2
    SmartGWT version: 2.2
    Firefox: 3.6.2
    OS: MacOS X 10.6.3
Working...
X