Menu

SuggestBox Problems

Help
2010-01-04
2013-04-26
  • Lukasz Plotnicki

    Hi,

    first of all: gwt-vl is a really great library! Keep up the good work :)

    Working with it I noticed some strange behavior whilst using SuggestBox and trying to addDescription or a StyleAction to it - somehow it isn't working … Any ideas why? Other components (TextBoxes) are working great but the SuggestBox not …

    Have you also thought supporting DateBox?

    Best Wishes
    Lukasz

     
  • Anatol Mayen

    Anatol Mayen - 2010-01-04

    Hi Lukasz!

    I need to have a look at it, doesn't it work at all or are there some little issues?

    Regards, Anatol

     
  • Lukasz Plotnicki

    Sadly it doesn't work at all - the description popup is not being rendered when the SuggestBox gains focus and after processing server errors the StyleAction is not being fired… I'm using pure GWT 2.0 and the validation process takes place on the server due to the use of hibernate-validation…

    BTW: thanks for the fast reply.

     
  • Nobody/Anonymous

    I have made some updates to the snapshot version.

    Please try it out.

    The problem is that gwt-vl has not yet been made compatible with gwt 2.0!

    http://gwt-vl.sourceforge.net/snapshots/gwt-validation-0.9b-SNAPSHOT-with-hibernate.jar

    Tell me if it solves your problem (however, right now adding a FocusAction to a suggestbox does not work!)

    Regards, Anatol

     
  • Lukasz Plotnicki

    Nope - the snapshot version doesn't impact the behavior of SuggestBox … sadly…

     
  • Anatol Mayen

    Anatol Mayen - 2010-01-05

    Ok, can you prepare some test code that shows the bug, because the snapshot version works for me.

    And you are using GWT 2.0, right?

    Regards, Anatol

     
  • Anatol Mayen

    Anatol Mayen - 2010-01-05

    I guess that the problem has nothing to do with the server side (especially the PopupDescription not working), so a client side only test, that shows your described behaviour will probably be enough.

    And thanks for the Thumbs Up!

    Regards, Anatol

     
  • Anatol Mayen

    Anatol Mayen - 2010-01-21

    So, some update to this. Please download the newest snapshot from http://gwt-vl.sourceforge.net/?to=resources
    and report back if it solves the problem.

    Thanks

     
  • Robert Quinn

    Robert Quinn - 2010-01-22

    I am having the same problem, doing validation on the client side.  The other input fields work fine.

    I am using the latest 0.9b-SNAPSHOT (with Hibernate support)   (Note that the other 0.9b-SNAPSHOT is not accessible for some reason!)

    Example:

    SuggestBox myBox = new SuggestBox(oracle);

    validator.addValidators("myBoxNotEmpty", new NotEmptyValidator(myBox.getTextBox())
                    .addActionForFailure(new StyleAction("validationFailedBorder")));

     
  • Robert Quinn

    Robert Quinn - 2010-01-22

    By the way I'm on GWT 2.0 release also.

     
  • Anatol Mayen

    Anatol Mayen - 2010-01-22

    Hi!

    Try to use the newest snapshot version: 0.9b2. I had some issues with sourceforge hosting. Somehow they are using a cache so when I just uploaded a new 0.9b version, a download resulted still in the older 0.9b package.
    So in fact the user that opened this issue was still downloading the old version even if I replaced that with the new version on the server. I just found that out now.

    So I needed to take a new name so I appended the 2 to 0.9b.

    Please download this version, both links w and w/o hibernate should work now
    and tell me if it fixes the problem.

    Regards, Anatol

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.