You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MattyDE <uf...@gmail.com> on 2010/05/06 13:47:34 UTC

Wicket:Message DefaultValue is not working?

I try to use:

<th><wicket:message key="Material
Number">Materialnummer</wicket:message></th>

but Unexpected RuntimeException: WicketMessage: Property 'Material Number'
not found in property files.


i thought if no property has been found the Default "Materialnummer" would
be used?

https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html tells the same.

thanks in advance!


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Message-DefaultValue-is-not-working-tp2132484p2132484.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: Wicket:Message DefaultValue is not working?

Posted by MattyDE <uf...@gmail.com>.
Thanks a lot! This works so nice ;)
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Message-DefaultValue-is-not-working-tp2132484p2132553.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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


Re: Wicket:Message DefaultValue is not working?

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
See IResourceSettings.setThrowExceptionOnMissingResource(final boolean
throwExceptionOnMissingResource). I think by default it is set to
true.

Ernesto

On Thu, May 6, 2010 at 1:47 PM, MattyDE <uf...@gmail.com> wrote:
>
> I try to use:
>
> <th><wicket:message key="Material
> Number">Materialnummer</wicket:message></th>
>
> but Unexpected RuntimeException: WicketMessage: Property 'Material Number'
> not found in property files.
>
>
> i thought if no property has been found the Default "Materialnummer" would
> be used?
>
> https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html tells the same.
>
> thanks in advance!
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Message-DefaultValue-is-not-working-tp2132484p2132484.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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