Results 1 to 7 of 7

Thread: Spring RC Broken with latest GlazedLists?

  1. #1
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default Spring RC Broken with latest GlazedLists?

    Hi All,

    I thought that I'd post a question directly, has anyone encountered an issue with the event model between version 1.5.0_jdk15 and 1.6.1_jdk15 of GlazedLists.

    My program behaves differently, I've just tried in the latest version, it misses an event.

    I am using Spring rich client and Master/Details table. The component holds an ObservableEventList which extends TransformedList from GlazedLists.

    My code then grabs this list and add a listener like this:
    Code:
    constituentList.addListDataListener(new ListDataListener() {
        public void contentsChanged(ListDataEvent e) {
     getLog().info("******************** contentsChanged " + e);
     recalc();
        }
     
        public void intervalAdded(ListDataEvent e) {
     getLog().info("******************** intervalAdded " + e);
     recalc();
        }
     
        public void intervalRemoved(ListDataEvent e) {
     getLog().info("******************* intervalRemoved " + e);
     recalc();
        }
     
        private void recalc() {
    ....
        }
    });
    If I run under glazedlists 1.5.0 my listener is called.
    Under 1.6.1 it does not! no other changes (runtime swap of the libraries).

    I suspect that something has changed and that the extended class from Spring RC may not work anymore?

    Any suggestion?

    Many thanks!

    Benoit

  2. #2
    Join Date
    May 2005
    Posts
    394

    Default

    In subversion we're currently working/testing with 1.5.0 (for jdk1.5), as decribed in the pom. Jesse of glazedlist promised me once he'd put new versions on maven central repo's, but 1.6.0 or 1.6.1 hasn't been published there though, so I haven't tested it yet. 1.6.1 should be backward compatible though, so it looks like they have a regression.

    I'd suggest asking this on their user list (it's also in gmane.org) or making a jira for us so we'll do it sooner or later.

  3. #3
    Join Date
    Aug 2005
    Location
    London (the English one!)
    Posts
    378

    Default

    I did and no reply, I think that it could be our class that extends their TransformedList...

    Just something to keep in mind for now...

    Benoit

  4. #4

    Default Glazed Lists 1.6.x

    Hey Spring guys -- the bug with 1.6 is my fault, an unintended incompatibility with the previous rev. It's fixed now, and we'll be releasing a 1.6.2 with the fix real soon.
    _______________________________________
    http://publicobject.com/glazedlists/
    Glazed Lists: A Toolkit for List Transformations

  5. #5
    Join Date
    May 2005
    Posts
    394

    Default

    nice

    Jesse, any chance that 1.6.2 will be on the central repo?
    repo1.maven.org
    searchable with
    www.mvnrepository.com (or alternatives)

  6. #6
    Join Date
    May 2005
    Posts
    394

    Default

    Nevermind that's, just saw 1.6.1 is on there ))

    Jul 20 » net.java.dev.glazedlists » glazedlists_java15 » 1.6.1

    Event-driven lists for dynamically filtered and sorted tables

    See Details

  7. #7

    Lightbulb 1.7.0 solves this problem

    _______________________________________
    http://publicobject.com/glazedlists/
    Glazed Lists: A Toolkit for List Transformations

Posting Permissions

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