You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mike Barber (JIRA)" <ta...@jakarta.apache.org> on 2006/03/23 18:34:18 UTC

[jira] Created: (TAPESTRY-893) Application Catalog for i18n does not work

Application Catalog for i18n does not work
------------------------------------------

         Key: TAPESTRY-893
         URL: http://issues.apache.org/jira/browse/TAPESTRY-893
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 3.0.3    
 Environment: Windows 2000, Unix
    Reporter: Mike Barber


If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Mike Barber (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371601 ] 

Mike Barber commented on TAPESTRY-893:
--------------------------------------

Yes.  If I have an application called myapp, I have a file in WEB-INF called myapp.application.  I tried myapp.properties, but with no success.

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Closed: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert closed TAPESTRY-893.
----------------------------------

    Resolution: Won't Fix

> Application Catalog for i18n does not work
> ------------------------------------------
>
>                 Key: TAPESTRY-893
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-893
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 3.0.5
>         Environment: Windows 2000, Unix
>            Reporter: Mike Barber
>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

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


Re: [jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Brian K. Wallace" <br...@transmorphix.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there anyway to re-classify this an an enhancement so it's not lost
in the 3.X thread?

Mike Barber (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371610 ] 
> 
> Mike Barber commented on TAPESTRY-893:
> --------------------------------------
> 
> I suspected as much....the page doesn't clearly indicate that 4.0 is the reference version.  Oh well.  From what I understand, coding a custom engine is not a trivial process.
> 
> I retract my claim that this is a bug, but it seems to me that it would not take much to implement in 3.x.  Basically, when you access the page catalog, if the getMessage() fails, just look for an application catalog.  Maybe just a few lines of IO code.  This would allow me to have a master application catalog, and small page catalog that could override a few messages and add a few new messages.
> 
> I coded a workaround in my own code with custom ValidFields and such, but it's really not an acceptable way to go about it.  It requires my fellow devs to do too much, and is a maintenance quagmire.
> 
> If the fix/enhancement is simple (I suspect so), this would be a great improvement to Tapestry 3 (as we can see in Tapestry 4).
> 
>> Application Catalog for i18n does not work
>> ------------------------------------------
>>
>>          Key: TAPESTRY-893
>>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>>      Project: Tapestry
>>         Type: Bug
>>   Components: Framework
>>     Versions: 3.0.3
>>  Environment: Windows 2000, Unix
>>     Reporter: Mike Barber
> 
>> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEIu5AaCoPKRow/gARAmOQAKCyyskg+HLscbyG6/oirwEvLywA/QCdGWI5
4Jqxw7R2ynfhNa9qS4mNsks=
=eUpp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Mike Barber (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371610 ] 

Mike Barber commented on TAPESTRY-893:
--------------------------------------

I suspected as much....the page doesn't clearly indicate that 4.0 is the reference version.  Oh well.  From what I understand, coding a custom engine is not a trivial process.

I retract my claim that this is a bug, but it seems to me that it would not take much to implement in 3.x.  Basically, when you access the page catalog, if the getMessage() fails, just look for an application catalog.  Maybe just a few lines of IO code.  This would allow me to have a master application catalog, and small page catalog that could override a few messages and add a few new messages.

I coded a workaround in my own code with custom ValidFields and such, but it's really not an acceptable way to go about it.  It requires my fellow devs to do too much, and is a maintenance quagmire.

If the fix/enhancement is simple (I suspect so), this would be a great improvement to Tapestry 3 (as we can see in Tapestry 4).

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371597 ] 

Brian K. Wallace commented on TAPESTRY-893:
-------------------------------------------

Are you sure your application properties file is named the same as the application itself? I have one site in particular that has only an applciation property file with no page properties that works correctly.

Any more information on your specific circumstance would be helpful so it can be verified and tested.

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371603 ] 

Brian K. Wallace commented on TAPESTRY-893:
-------------------------------------------

That link is indeed for 4.0 documentation. The link for 3.0.3 documentation is http://jakarta.apache.org/tapestry/3.0.3/doc/TapestryUsersGuide/TapestryUsersGuide.html

[My apologies, I didn't look at the version you reported against in my first reply]

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371600 ] 

Andreas Andreou commented on TAPESTRY-893:
------------------------------------------

Where is this documented? 
Application catalogs were introduced in Tapestry 4.
But there are many ways to simulate this behaviour in 3.0.3, i.e. by using a custom engine.

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Updated: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=all ]

Jesse Kuhnert updated TAPESTRY-893:
-----------------------------------

    Fix Version/s: 3.0.5

> Application Catalog for i18n does not work
> ------------------------------------------
>
>                 Key: TAPESTRY-893
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 3.0.5
>         Environment: Windows 2000, Unix
>            Reporter: Mike Barber
>             Fix For: 3.0.5
>
>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=all ]

Jesse Kuhnert updated TAPESTRY-893:
-----------------------------------

    type: Improvement  (was: Bug)

> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Commented: (TAPESTRY-893) Application Catalog for i18n does not work

Posted by "Mike Barber (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-893?page=comments#action_12371602 ] 

Mike Barber commented on TAPESTRY-893:
--------------------------------------

http://jakarta.apache.org/tapestry/UsersGuide/localization.html


> Application Catalog for i18n does not work
> ------------------------------------------
>
>          Key: TAPESTRY-893
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-893
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.3
>  Environment: Windows 2000, Unix
>     Reporter: Mike Barber

>
> If I remove all page-specific catalogs (.properties files) and have an application catalog (myapplication.properties) in WEB-INF, Tapestry does not detect it.  It is documented as working, but it does not.  I am forced to have page catalogs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org