usersguide/localization missing doc in Component Message Catalogs
-----------------------------------------------------------------
Key: TAPESTRY-1717
URL: https://issues.apache.org/jira/browse/TAPESTRY-1717
Project: Tapestry
Issue Type: Bug
Components: Documentation
Affects Versions: 4.1
Reporter: Cyrille
To make Tapestry find a messages catalog for a page, the page specification
file must exists.
This is not wrote in the documentation. I spent some time to find the problem
...
This tips should be add to the documentaion, I think in :
http://tapestry.apache.org/tapestry4.1/usersguide/localization.html
chapter : Component Message Catalogs
Example :
If there is a page Home.html, Home.properties will not be used to resolve a
message
Home.html :
<span key="intro-title">blabla</span>
Home.properties :
intro-title=The introduction message
Render will be :
[INTRO-TITLE]
To make it working, we must add an empty Home.page file.
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry
Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification >
</page-specification>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]