Hi list, and Esteban :)
I either found a little bug in Reef or I missunderstood something, here's my code: initializeContents self add: (RETextField new id: 'anId'; onBlur: [:me | me trigger]; on: #text of: self).
self add: (REButton new label: 'Try me!'; callback: [self inform: self text]) The code works, except when you enter a + symbol in the textbox... if you input '3+2', you get '3 2' as a response.
Am I doing something wrong or this is a bug? Thanks! Bernat Romagosa.
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Spaces are urlencoded as + signs. I'd guess something's going on
there, but not sure what level the bug's at... On Thu, Feb 24, 2011 at 3:10 PM, AxiNat <[hidden email]> wrote: > Hi list, and Esteban :) > I either found a little bug in Reef or I missunderstood something, here's my > code: > initializeContents > self add: (RETextField new id: 'anId'; onBlur: [:me | me trigger]; on: #text > of: self). > self add: (REButton new label: 'Try me!'; callback: [self inform: self > text]) > The code works, except when you enter a + symbol in the textbox... if you > input '3+2', you get '3 2' as a response. > Am I doing something wrong or this is a bug? > Thanks! > Bernat Romagosa. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Lukas fixed a similar bug last year: http://code.google.com/p/seaside/issues/detail?id=585
Maybe the solution is related? On 24 Feb 2011, at 16:43, Julian Fitzell wrote: > Spaces are urlencoded as + signs. I'd guess something's going on > there, but not sure what level the bug's at... > > On Thu, Feb 24, 2011 at 3:10 PM, AxiNat <[hidden email]> wrote: >> Hi list, and Esteban :) >> I either found a little bug in Reef or I missunderstood something, here's my >> code: >> initializeContents >> self add: (RETextField new id: 'anId'; onBlur: [:me | me trigger]; on: #text >> of: self). >> self add: (REButton new label: 'Try me!'; callback: [self inform: self >> text]) >> The code works, except when you enter a + symbol in the textbox... if you >> input '3+2', you get '3 2' as a response. >> Am I doing something wrong or this is a bug? >> Thanks! >> Bernat Romagosa. >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi,
I'm sorry, yesterday I wasn't available to answer :( yes... it has to be a bug. yes... looks like the same bug lukas fixed. now... why it is happening to you, I don'y know, because executing same test I'm getting correct result. maybe your seaside version is too old? cheers, Esteban El 24/02/2011, a las 1:17p.m., Johan Brichau escribió: > Lukas fixed a similar bug last year: http://code.google.com/p/seaside/issues/detail?id=585 > > Maybe the solution is related? > > On 24 Feb 2011, at 16:43, Julian Fitzell wrote: > >> Spaces are urlencoded as + signs. I'd guess something's going on >> there, but not sure what level the bug's at... >> >> On Thu, Feb 24, 2011 at 3:10 PM, AxiNat <[hidden email]> wrote: >>> Hi list, and Esteban :) >>> I either found a little bug in Reef or I missunderstood something, here's my >>> code: >>> initializeContents >>> self add: (RETextField new id: 'anId'; onBlur: [:me | me trigger]; on: #text >>> of: self). >>> self add: (REButton new label: 'Try me!'; callback: [self inform: self >>> text]) >>> The code works, except when you enter a + symbol in the textbox... if you >>> input '3+2', you get '3 2' as a response. >>> Am I doing something wrong or this is a bug? >>> Thanks! >>> Bernat Romagosa. >>> _______________________________________________ >>> seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>> >>> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |