One moret thing to this:

I've read "Finding the message" in
https://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html
And this also somehow doesn't correspond with what I observe.

I have a component inside ProductPage. I have moved ProductPage.* to a
package different than where the component is; before, they were all
together.
And that's how I started getting the exception below.
According to what's written, the lookup should end up at
ProductPage.properties.
Why it doesn't?

Last cause: Property 'noItemsFound_itemName' not found in property
files. Markup: [markup =
vfs:/content/essc-portal.war/WEB-INF/classes/org/jboss/essc/web/_cp/pageBoxes/NoItemsFoundBox.html

<wicket:message key="noItemsFound_itemName">releases</wicket:message>, index = 
1, current = [Raw markup]]


Thanks,
Ondra


On Sat, 2012-09-29 at 17:47 +0200, Ondrej Zizka wrote:

> Hi,
> 
> http://ci.apache.org/projects/wicket/apidocs/1.5.x/org/apache/wicket/markup/resolver/WicketMessageResolver.html
> says:
> If no message is found, the default body text will remain.
> 
> However, if the message is not found, I get:
> 
> Last cause: Property 'noItemsFound_itemName' not found in property
> files. Markup: [markup =
> vfs:/content/essc-portal.war/WEB-INF/classes/org/jboss/essc/web/_cp/pageBoxes/NoItemsFoundBox.html
> 
> <wicket:message key="noItemsFound_itemName">releases</wicket:message>, index 
> = 1, current = [Raw markup]]
> 
> Is the behavior wrong, or the docs is wrong, or do I miss something?
> 
> Thanks,
> Ondra


Reply via email to