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

      0  

    Default ToolTip Problem

    ToolTip Problem


    Hello,

    evaluating Ext GWT I ran into trouble with the ToolTip class or with the validation messages that use this class respectively.

    I was not able to have a TextField display the correct validation message if several messages are used. The ToolTip shown is always the first message that occurred on the text field.

    Could it be possible, that there is a bug in the ToolTip update methods?
    This patch helped me to go on with my evaluation:

    (diff -u)
    --- ToolTip.java 2008-08-05 11:22:16.000000000 +0200
    +++ ToolTip-patched.java 2008-08-22 23:40:09.000000000 +0200
    @@ -239,6 +239,7 @@
    * @param config the tool tip config
    */
    public void update(ToolTipConfig config) {
    + updateConfig(config);
    if (!hidden) {
    updateContent();
    }

    If this is really a bug, please excuse me to use this forum, but I was not allowed to post to the bug forum.

    Regards

  2. #2
    Ext User
    Join Date
    Aug 2008
    Posts
    9
    Vote Rating
    0
    metroboy is on a distinguished road

      0  

    Default


    Hi,
    I do have a similar issue. When using "tooltip" as MessageTarget in markInvalid(...) the validation messages in the tooltip are not removed when calling clearInvalid() later.
    Works with the other options such as "title" or "side" but not with tooltips.

    regards,
    MB

  3. #3
    Ext User
    Join Date
    Aug 2008
    Posts
    2
    Vote Rating
    0
    Trollo is on a distinguished road

      0  

    Default


    Hello metroboy,

    yes, the issue you describe may be due to the same problem. Have you tried the patch?

    Regards,
    Trollo

Thread Participants: 1