You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2010/06/17 09:33:24 UTC

[jira] Reopened: (WICKET-2631) wicket:message within wicket:head not processed

     [ https://issues.apache.org/jira/browse/WICKET-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn Dashorst reopened WICKET-2631:
--------------------------------------


> 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
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>         Attachments: messageintitle-quickstart.tar.gz
>
>
> 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.