Use %s for strings, %d for integers (or other numbers).
I'd change this to:
messages.format("view.last.x", VIEW_LIMIT);
On Tue, Oct 28, 2008 at 5:59 AM, Inge Solvoll <inge.tapestry@(protected):
> I'm trying this in T 5.0.13:
>
> messages.format("view.last.x", Integer.toString(VIEW_LIMIT));
>
> In my properties file:
> view.last.x = View last %d
>
> The following exception occurs:
>
> An unexpected application exception has occurred.
>
> Render queue error in Expansion[PropBinding[expansion
> profiles/ChangeLog(toggleViewAllLabel)]]: d !=
java.lang.String>
>
> Any ideas? Am I doing something wrong?
>
> Regards
> Inge
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)