Results 1 to 3 of 3

Thread: Ext GWT 3.0 RC 2 - ComboBox Property Editor bug

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default Ext GWT 3.0 RC 2 - ComboBox Property Editor bug

    The ComboPropertyEditor should use label provider instead of object.toString().


    Code:
      private class ComboPropertyEditor extends PropertyEditor<T> {
        ...
        @Override
        public String render(T object) {
          return object == null ? "" : labelProvider.getLabel(object);
        }
      }

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      0  

    Default

    Thanks - this has been called out in several posts in the Ext GWT 3 Bugs forum.

    http://www.sencha.com/forum/showthre...orer-demo-too)
    http://www.sencha.com/forum/showthre...d-consequently

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    Deerfield, IL 60015
    Posts
    4
    Vote Rating
    2
      0  

    Default

    Quote Originally Posted by k11 View Post
    The ComboPropertyEditor should use label provider instead of object.toString().


    Code:
      private class ComboPropertyEditor extends PropertyEditor<T> {
        ...
        @Override
        public String render(T object) {
          return object == null ? "" : labelProvider.getLabel(object);
        }
      }
    Hi Sir, i just want to ask if you still have alternative codes for this? The same function but different syntax? Thanks!
    Anyone who doesn't appreciate poetry doesn't understand that it's all about seduction.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •