wicket:message within wicket:head not processed
-----------------------------------------------

                 Key: WICKET-2631
                 URL: https://issues.apache.org/jira/browse/WICKET-2631
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.4.1
            Reporter: Ivo Maixner
            Priority: Minor


My pages extend a base page, so they use the wicket:extend tag. For such a page 
to specify its html title, the wicket:head tag has to be used. At the same 
time, my pages require localization, so the page title cannot be hardcoded but 
needs to be loaded from properties files instead, so I have to use the 
wicket:message tag inside the wicket:head tag. Overall, the page looks like 
this:

<wicket:head>
        <title><wicket:message 
key="page_title">[page_title]</wicket:message></title>
</wicket:head>
<wicket:extend>
        ... page content ...
</wicket:extend>

In this setup, the content of the title html tag is passed over to the page 
as-is, i.e. the wicket:message tag is not recognized and processed by Wicket.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to