try putting inputPwd = Password in your property file. -Matej
On Wed, Oct 7, 2009 at 5:33 PM, Tomás Rossi <[email protected]> wrote: > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
