On 11/3/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > Yes we could do that. Just remove that default value. > But what i would like to have IF you have a body specified then we don't > throw anything > This way we keep old behavior and we have the new one > Because if i specifiy a body then thats the default value for me. And if not > then i still can see > very easy that i miss a key. > But i guess that is not that easy to do because we have no idea inside the > tag that it really has a body right?
Well, my point was that keeping the body as a default value is actually dangerous: > if you have the default body the same as what you intended to put in the properties file for the default locale (which is something that I often do, and I can imagine other people doing that as well), and you make a spelling error in the key (of either the tag or in the properties file), you'd never notice Wicket not finding the property You want to define a body for previewability, but you don't want to default to that because this silent failure makes it hard to detect errors in your message keys. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]