Here's an example from my own code:
private static final String SQLERROR_GET = new
ResourceModel("error.sqlException.select").getObject();
My properties.xml file contains a key that is called
"error.sqlException.select". This string is an error message that I
later on add to my feedbackpanel:
error(SQLERROR_GET);
Hope that helps.
Regards,
Linda
Hey,
How to get a message (that will be displayed in FeedbackPanel) from properties
file in order to use it for info() method of Component class?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.12.4/2082 - Release Date: 04/27/09 06:19:00
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org