Angelo Chen wrote:
then in your template, you do:
<p>${message:name-label}</p>
?
A string "[[missing key: name-label]] " was displayed.
Nick Westgate wrote:
> How are you using the messages?
I use BeanEditForm.
I made a Bean "MyBean" like:
public class MyBean {
private int _id;
private String _name;
private String _address;
private String _email;
@NonVisual
public int getId() {
return _id;
}
public void setId(int id) {
this._id = id;
}
@Validate("required")
@Order(1)
public String getName() {
return _name;
}
...
}
and made a page "MyPage" just copy/paste from:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html
chapter "Providing the BeanModel".
When I made "MyPage.properties" in same directory with
MyPage, It works.
But I rename it to "app.properties" and move to WEB-INF,
It did not work.
Am I enough?
Do I have to show more codes or something?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]