tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1532) Shouldn't have to create a specification to use localized templates
Date Tue, 05 Jun 2007 22:10:27 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501714
] 

Andreas Andreou commented on TAPESTRY-1532:
-------------------------------------------

what's the problem with just providing Home.html and Home_pt.html ?

> Shouldn't have to create a specification to use localized templates
> -------------------------------------------------------------------
>
>                 Key: TAPESTRY-1532
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1532
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.1.2
>            Reporter: Hugo Palma
>            Priority: Minor
>
> Use case:
> I want to provide an english and portuguese version of my Home page. I'm using annotation
so i don't want/need a page spec. I have two options:
> - Create three templates, Home.html, Home_pt.html and Home_en.html.
> - Create an empty Home.page spec.
> None of these is the ideal solution. I should be able to just create the Home_pt.html
and Home_en.html files.
> My guess is that PageSpecificationResolverImpl doesn't take localization into account
when resolving to a page.

-- 
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