EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

Odd mvc behavior in RBD 9.1.1

  • 1.  Odd mvc behavior in RBD 9.1.1

    Posted Tue May 26, 2015 12:41 PM

    I have a sample MVC project that I use for reference that is based on an RBD 8 ppt.  In RBD 8.5.1.1. the publishMessageHelper performs as expected, just as this comment from the ppt describes:

    /*
    If you decide to place the message in an error label and are using an EGL Dojo widget 
    that supports view-level validation, you can prevent the message from being displayed in the tooltip. 
    To prevent the duplicate display, set the controller-specific publishMessageHelper property to null or 
    assign your own function to that property. If you do not set the property or assign your own function, 
    an internal EGL function is invoked to direct the error message to the tooltip.
    */

    So, when built using 8.5.1.1, my error message appears in my error label and not in the  tooltip - just what I want.  See mvc_8.5.1.png

    But when imported into 9.1.1, the error message that is displayed in the error label initially comes from my validation messages properties file "A type check has occurred" (see mvc_9.1_tab.png), but if I click on the red "!" indicator, the tooltip displays with the error message "The value entered is not valid" .  See mvc_9.1_tooltip.png).  

    Then, when I click away from the tooltip, the error label text actually changes to "The value entered is not valid".  See mvc_9.1_clickout_tooltip.png.  

    Attached is my sample project archive: EGL_mvc_sample.zip

    If someone could confirm this behavior in 9.1.1 I'll open a PMR.

    Thanks,

    Kendall

    Kendall.Coolidge


  • 2.  Re: Odd mvc behavior in RBD 9.1.1

    Posted Tue May 26, 2015 05:08 PM

    Hi Kendall,

    Yes, I am seeing the same results in RBD v9.1.1

    Daron

    canutri


  • 3.  Re: Odd mvc behavior in RBD 9.1.1

    Posted Wed May 27, 2015 07:01 AM

    Thanks Daron.  I'll get a PMR started.

    Kendall

    Kendall.Coolidge


  • 4.  Re: Odd mvc behavior in RBD 9.1.1

    Posted Thu May 28, 2015 10:06 AM

    PMR: 33179,L6Q,000

    Kendall.Coolidge


  • 5.  Re: Odd mvc behavior in RBD 9.1.1

    Posted Sun June 07, 2015 04:35 PM

    OK, there is now a testfix for this.

    Kendall.Coolidge


  • 6.  Re: Odd mvc behavior in RBD 9.1.1

    Posted Mon June 08, 2015 02:27 AM

    Thanks for sharing the information!

    Bram_Callewaert