1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    2
    Vote Rating
    0
    tomsontom is on a distinguished road

      0  

    Default [FIXED] Beta5: Bug in ModelData#getNestedValue()

    [FIXED] Beta5: Bug in ModelData#getNestedValue()


    Hi,

    It looks like you are using a none existant function List#subList() inside the getNestedValue()-method. To make it work I had to overload it myself with a code like this:

    protected <X> X getNestedValue(ModelData model, List<String> paths) {
    if (paths.size() == 1) {
    return (X) model.get(paths.get(0));
    } else {
    Object obj = model.get(paths.get(0));
    if (obj != null && obj instanceof ModelData) {
    ArrayList<String> tmp = new ArrayList<String>(paths);
    tmp.remove(0);
    return (X) getNestedValue((ModelData) obj, tmp);
    }
    }
    return null;
    }

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fix is in SVN.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar