tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyrille (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-1717) usersguide/localization missing doc in Component Message Catalogs
Date Thu, 23 Aug 2007 13:48:31 GMT
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message