shumbola-2 wrote: > > Здравствуйте, antonyb. > > Вы писали Tuesday, July 10, 2007, 9:08:51 AM: > >> Hello, > >> Just spent a while reading through the forum archives trying to find out >> how >> to localize attributes, particularly > >> <input type="submit" value="XXXXXX" /> > >> There's a couple of very long threads about this, but as far as I can see >> no >> conclusion was reached! > >> So, is there an accepted way of adding an entry to a page.properties file >> and using that entry as the value of a submit button? > >> Thanks > >> Ant. > > Use f.e., <input type="submit" wicket:message="value:button.save"> for > Save submit button. And put a value for button.save in your properties > file. See javadoc for WicketMessageTagHandler class. >
Works perfectly. Thanks. Ant. -- View this message in context: http://www.nabble.com/Localized-Attributes-tf4053735.html#a11515582 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user