Have you tried something like this in your page.java : pwd.setLabel(new Model<String>("Password"));
? 2009/10/7 Tomás Rossi <tro...@mecon.gov.ar> > Hi, > > lets say you have this in you html form: > ---------- > ... > <label for="pwd">Password</label> > <input type="password" id="pwd" wicket:id="inputPwd"/> > ... > ---------- > > Then, a properties file for your app with this: > ---------- > ... > Required=Field ${label} is required! > ... > ---------- > > When the required-error-message prints, it does like this: > > * Field inputPwd is required! > > Now I wish I could change it to say "Field Password is required!" without > modifying wicket:id attribute nor adding specific required message for the > component. > Is this possible? > > Kind regards, > Tom; > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >