Just a note: http://tapestry.apache.org/localization.html is the newer
version of that page.

On Mon, Feb 21, 2011 at 3:00 PM, Josh Canfield <joshcanfi...@gmail.com> wrote:
>> That's the question, what goes into resources (globally?)
>> i.e. resources/app.properties, etc.
>> Are there any other properties that goes into resources/ root folder?
>> And how does log4j.properties work in case of glassfish then/?
>
> log4j.properties is for log4j and is only included by the tapestry
> archetype as a convenience. When you put things into the resources
> folder they get copied into your compiled output hierarchy along side
> your classes. This is an artifact of the use of a traditional maven
> layout.
>
> Generally in Tapestry property files are used for localization.
>
> http://tapestry.apache.org/tapestry5/guide/localization.html
>
> <quote>
> Application Message Catalog
>
> If the file WEB-INF/AppName.properties exists in the context, it will
> be used as an application-wide message catalog. The AppName is derived
> from the name of the filter inside the web.xml file; this is most
> often just "app", thus WEB-INF/app.properties. The search for the file
> is case sensitive. The properties files may be localized.
> </quote>
>
>
> Josh
>
> On Mon, Feb 21, 2011 at 11:44 AM, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:
>> That's the question, what goes into resources (globally?)
>> i.e. resources/app.properties, etc.
>> Are there any other properties that goes into resources/ root folder?
>> And how does log4j.properties work in case of glassfish then/?
>>
>> On Feb 21, 2011, at 2:19 PM, Thiago H. de Paula Figueiredo wrote:
>>
>>> On Mon, 21 Feb 2011 16:05:29 -0300, Lenny Primak <lpri...@hope.nyc.ny.us> 
>>> wrote:
>>>
>>>> Hi guys,
>>>> So far, I counted two places to put global properties in tapestry:
>>>> - WEB-INF/app.properties
>>>> - resources/log4j.properties
>>>>
>>>> What is the proper place to put global properties, WEB-INF or resources?
>>>
>>> What are these properties? If they are messages used by Tapestry, 
>>> app.properties. If not, resources.
>>>
>>> --
>>> Thiago H. de Paula Figueiredo
>>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, 
>>> and instructor
>>> Owner, Ars Machina Tecnologia da Informação Ltda.
>>> http://www.arsmachina.com.br
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to