I get it Christian, Thanks a lot 2011/12/29, Christian Huber <hub...@butterbrot.org>: > Hi, > > i assume the string "isim 3 karakterden büyük olmalı" is the error > message you want to display. > > You have two options here, first use ValidationError#setMessage instead > of addMessageKey. The later considers it's argument being a message key > to be looked up from a properties file. > > The alternative would be to put the message into a properties file and > the pass the corresponding key to addMessageKey instead of the error > message itself. > > I would also recommend having a look at the wicket javadoc api. > > The Sanity Resort <http://sanityresort.blogspot.com/> > > Am 29.12.2011 21:39, schrieb Rahman USTA: >> Hi, im new in Wicket. im trying out an external validation , my validation >> class is here http://chopapp.com/#htmnirs3 , >> i get a message like this >> >> "Could not locate error message for component: TextField@form:ad and >> error: >> [ValidationError message=[null], keys=[isim 3 karakterden büyük olmalı], >> variables=[null]]. Tried keys: ad.isim 3 karakterden büyük olmalı, isim 3 >> karakterden büyük olmalı." >> >> how can i handle this issue. >> >
-- Rahman USTA Computer & Control Education Technologist 0-(531)-922-28-05 www.kodcu.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org