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

2010-08-01 Thread Juergen Donnerstag (JIRA)

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

Juergen Donnerstag resolved WICKET-2631.


Resolution: Invalid

 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

 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
   titlewicket: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.



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

2009-12-22 Thread Juergen Donnerstag (JIRA)

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

Juergen Donnerstag resolved WICKET-2631.


Resolution: Invalid
  Assignee: Juergen Donnerstag

I added some testcases which show that it is working. My previous comment was 
wrong.

 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

 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
   titlewicket: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.