if you enable stripping of wicket tags (enabled by default in
deployment mode) wicket:message tags wont render.

-igor

On Sun, Sep 14, 2008 at 1:17 PM, Luther Baker <[EMAIL PROTECTED]> wrote:
> Is there a way to put a <wicket:message in the title tag?
>
> This keeps rendering:
>
> <title><wicket:message key="pageTitle">Placeholder
> Text</wicket:message></title>*
> *
> from this:
>
> <title><wicket:message key="pageTitle"/></title>*
> *
> Of course, it displays everything nested between the title tags:
> <wicket:message key="pageTitle">Valid Page Title</wicket:message> in the
> browser caption bar.
>
> The substitution happens just fine - but the <wicket ... text all appears in
> the title.
>
> This page talks
>
> http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html
>
> talks about expanding in the attribute of an input but I don't see syntax to
> replace the whole thing. I tried this but not luck: <wicket:message
> key="pageTitle"/>.
>
> I read somewhere that I can turn off all the "wicket" syntax from showing up
> on the page ... do I need to do that or is there a defined way to use the
> <wicket:message mechanism in the title?
>
> I could also try the Label object in the Java - but hoping to use the
> .properties file.
>
> Thanks,
>
> -Luther
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to