I'm playing around with Wicket and I got a serious problem with .properties

I got this HomePage.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>Welcome Page</title>
    <form wicket:id="userForm">
        <wicket:message key="name"/>:&nbsp<input wicket:id="name"
        <wicket:message key="surname"/>:&nbsp<input wicket:id="surname"
type="text" />

and HomePage.propeties

<?xml version="1.0" encoding="UTF-8"?>
    <entry key="name">Name</entry>
    <entry key="surname">Surname</entry>

These two files are located in the same directory in my project. 

I get an "org.apache.wicket.WicketRuntimeException: Property 'name' not
found in property files" exception when trying to render HomePage.html. 

I've checked the .war file in the server's directory and the two files are
in the same directory. I've also noticed that a HomePage.properties.xml file
is also deployed for some reason.The .war is packaged by Maven, using the
pom file from the wicket quickstart archetype.

Any ideas?

View this message in context: 
Sent from the Users forum mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to