Topic
  • 1 reply
  • Latest Post - ‏2013-07-31T18:39:47Z by markevans
ENO2010
ENO2010
134 Posts

Pinned topic RBD 8.5.1 vs RBD 9 (RUI)

‏2013-07-31T03:35:09Z |

Hi,

 

when I run the EGL-RUI code below in RBD 9, I don't have the same result as RBD 8.5.1

{code}

handler testRUI type RUIhandler{initialUI =[ui
            ], onConstructionFunction = start, cssFile = "css/test.css", title = "testRUI"}

    ui GridLayout{columns = 3, rows = 4, cellPadding = 4, children =[Button,
                    DateTextBox
            ], onClick ::= ui_onClick, onChange ::= ui_onChange};


    myCurrentDate date ;
    DateTextBox DojoDateTextBox{layoutData = new GridLayoutData{row = 4, column = 2}, formatLength = DojoLib.DATEBOX_FORMAT_SHORT, value=myCurrentDate, onChange ::= ui_onChange};

    myDate date;

    Button DojoButton{layoutData = new GridLayoutData{row = 4, column = 3}, text = "Button"};

   
    function start()

        SysLib.writeStdout("start ");

        SysLib.writeStdout("start " + DateTextBox.value + " - " +
                        DateTextBox.text + " - " + myCurrentDate);
        SysLib.writeStdout("finish " + myCurrentDate);

    end

    function ui_onClick(event Event in)
        SysLib.writeStdout("ui_onClick " + DateTextBox.value + " - " +
                        DateTextBox.text + " - " + myCurrentDate);
       
    end

    function ui_onChange(event Event in)
        SysLib.writeStdout("ui_onChange " + DateTextBox.value + " - " +
                        DateTextBox.text + " - " + myCurrentDate);
    end
end
 

{code}

RBD 8.5.1 --> fill the DateTextBox with the current date and the displays show the value of dateTextBox and mycurrentdate

RBD 9 --> fill the DateTextBox with the current date but the displays show value "null" for datetextbox and mycurrentdate

did someone encountered the same issue?

 

Eric

  • markevans
    markevans
    2887 Posts

    Re: RBD 8.5.1 vs RBD 9 (RUI)

    ‏2013-07-31T18:39:47Z  

    Eric,

     

    I would suggest you go ahead and open a PMR.