You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Tam Du (JIRA)" <ji...@apache.org> on 2009/05/15 03:47:45 UTC
[jira] Created: (TAP5-701) Improvement ".properties" file
Improvement ".properties" file
------------------------------
Key: TAP5-701
URL: https://issues.apache.org/jira/browse/TAP5-701
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.0.18, 5.1.0.5
Reporter: Tam Du
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties; WEB-INF/classes/i18n/i18n_vn.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709686#action_12709686 ]
Robert Zeigler commented on TAP5-701:
-------------------------------------
How do you propose to work out the multiple property-file hierarchy?
Ie, suppose you had:
configuration.add(SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
What should be the property key-lookup hierarchy? This becomes very important when dealing with name collision.
If cms.properties and web.properties both contain a property: "foo_name", which key should be used?
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tam Du updated TAP5-701:
------------------------
Description:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
was:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties; WEB-INF/classes/i18n/i18n_vn.properties;");
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709741#action_12709741 ]
Ulrich Stärk commented on TAP5-701:
-----------------------------------
BTW, we already have this: TAP5-223
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709686#action_12709686 ]
Robert Zeigler commented on TAP5-701:
-------------------------------------
How do you propose to work out the multiple property-file hierarchy?
Ie, suppose you had:
configuration.add(SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
What should be the property key-lookup hierarchy? This becomes very important when dealing with name collision.
If cms.properties and web.properties both contain a property: "foo_name", which key should be used?
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709689#action_12709689 ]
Tam Du commented on TAP5-701:
-----------------------------
Generally, if a project is well-organized, it won't have duplicate keys. Developers might insert different prefix in front of each key.
In case of the property key-lookup hierarchy, I suggest that the priority of keys in supported files will decrease (the first property-file has the highest priority). It means that: if cms.properties and web.properties both contain a property "foo_name", the key in web.properties will be used.
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tam Du updated TAP5-701:
------------------------
Description:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
was:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties; WEB-INF/classes/i18n/i18n_vn.properties;");
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709748#action_12709748 ]
Tam Du commented on TAP5-701:
-----------------------------
Dear Ulrich Stärk,
TAP5-233 doesn't support my suggestion. My issue is about the localization and using multi properties files, not about resolving symbols from properties file.
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709689#action_12709689 ]
Tam Du commented on TAP5-701:
-----------------------------
Generally, if a project is well-organized, it won't have duplicate keys. Developers might insert different prefix in front of each key.
In case of the property key-lookup hierarchy, I suggest that the priority of keys in supported files will decrease (the first property-file has the highest priority). It means that: if cms.properties and web.properties both contain a property "foo_name", the key in web.properties will be used.
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tam Du updated TAP5-701:
------------------------
Description:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
was:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709748#action_12709748 ]
Tam Du commented on TAP5-701:
-----------------------------
Dear Ulrich Stärk,
TAP5-233 doesn't support my suggestion. My issue is about the localization and using multi properties files, not about resolving symbols from properties file.
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-701) Improvement ".properties" file
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709741#action_12709741 ]
Ulrich Stärk commented on TAP5-701:
-----------------------------------
BTW, we already have this: TAP5-223
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-701) Improvement ".properties" file
Posted by "Tam Du (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tam Du updated TAP5-701:
------------------------
Description:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
was:
In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
For example:
I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/home.properties; WEB-INF/classes/web.properties;");
> Improvement ".properties" file
> ------------------------------
>
> Key: TAP5-701
> URL: https://issues.apache.org/jira/browse/TAP5-701
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.5, 5.0.18
> Reporter: Tam Du
>
> In the current version of Tapestry framework, I can only configure my project in only one ".properties" file. This is no problem with a simple project but with a complex project which requires other projects. In complex projects, I must copy/paste keys in ".properties" file from one project to another. It makes me hard to maintain and manage my projects as well as my products. So, I hope that Tapestry can support multi ".properties" files in each project (especially in the complex projects).
> For example:
> I have this code to set the value of key APPLICATION_ CATALOG in file í8n.properties
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/i18n/i18n.properties");
> I would like to set the value of key APPLICATION_CATALOG in other file properties, like this:
> configuration.add (SymbolConstants.APPLICATION_CATALOG, "WEB-INF/classes/forum.properties; WEB-INF/classes/shopping.properties; WEB-INF/classes/web.properties; WEB-INF/classes/cms.properties;");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.