Re: How to add new entries to the global message catalog

2009-06-25 Thread Peter Stavrinides

I think Peter wants to edit the message catalog programmatically.
yes, sorry I see now that may not have been obvious


- Original Message -
From: Ulrich Stärk u...@spielviel.de
To: Tapestry users users@tapestry.apache.org
Sent: Wednesday, 24 June, 2009 18:40:47 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: How to add new entries to the global message catalog

I think Peter wants to edit the message catalog programmatically.

On 24.06.2009 17:07 schrieb Thiago H. de Paula Figueiredo:
 On Wed, Jun 24, 2009 at 11:53 AM, Peter
 Stavrinidesp.stavrini...@albourne.com wrote:
 Not right. :) The whole properties file is reloaded.
 Good, glad to be wrong :), so how then do you add (*not update) and remove 
 entries from the global message catalog?
 
 I just edit the properties file and save it. I'm not using any other
 source for the global message catalog besides app*.properties.
 

-
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



How to add new entries to the global message catalog

2009-06-24 Thread P . Stavrinides
Hi,

Is it possible to add and remove entries from the global message catalog? I 
thought of extending AbstractMessages with my own implementation since I 
couldn't find a way, but even if I do this how do I get Tapestry to detect / 
reconstruct the relevant properties map in the registry?

PS: If u think this is a bad idea, then pls offer an alternative suggestion, 
all I really need is property changes that get picked up at runtime (including 
new writes and deletes).

Thanks,
Peter



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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 24, 2009 at 3:47 AM, p.stavrini...@albourne.com wrote:
 Hi,

Hi!

 PS: If u think this is a bad idea, then pls offer an alternative suggestion, 
 all I really need is property changes that get picked up at runtime (including
 new writes and deletes).

Tapestry already does live properties reloading and it works like a charm. :)

-- 
Thiago

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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Peter Stavrinides
 Tapestry already does live properties reloading and it works like a charm. :)
So far as I know only to existing properties in the message catalog, right?

- Original Message -
From: Thiago H. de Paula Figueiredo thiag...@gmail.com
To: Tapestry users users@tapestry.apache.org
Sent: Wednesday, 24 June, 2009 17:19:21 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: How to add new entries to the global message catalog

On Wed, Jun 24, 2009 at 3:47 AM, p.stavrini...@albourne.com wrote:
 Hi,

Hi!

 PS: If u think this is a bad idea, then pls offer an alternative suggestion, 
 all I really need is property changes that get picked up at runtime (including
 new writes and deletes).

Tapestry already does live properties reloading and it works like a charm. :)

-- 
Thiago

-
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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 24, 2009 at 11:36 AM, Peter
Stavrinidesp.stavrini...@albourne.com wrote:
 Tapestry already does live properties reloading and it works like a charm. :)
 So far as I know only to existing properties in the message catalog, right?

Not right. :) The whole properties file is reloaded. New components,
pages and mixins are not live reloaded, unless you change some class
in the same package (trick given by Howard some time ago).

-- 
Thiago

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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Peter Stavrinides
 Not right. :) The whole properties file is reloaded.
Good, glad to be wrong :), so how then do you add (*not update) and remove 
entries from the global message catalog?


- Original Message -
From: Thiago H. de Paula Figueiredo thiag...@gmail.com
To: Tapestry users users@tapestry.apache.org
Sent: Wednesday, 24 June, 2009 17:43:32 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: How to add new entries to the global message catalog

On Wed, Jun 24, 2009 at 11:36 AM, Peter
Stavrinidesp.stavrini...@albourne.com wrote:
 Tapestry already does live properties reloading and it works like a charm. :)
 So far as I know only to existing properties in the message catalog, right?

Not right. :) The whole properties file is reloaded. New components,
pages and mixins are not live reloaded, unless you change some class
in the same package (trick given by Howard some time ago).

-- 
Thiago

-
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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Thiago H. de Paula Figueiredo
On Wed, Jun 24, 2009 at 11:53 AM, Peter
Stavrinidesp.stavrini...@albourne.com wrote:
 Not right. :) The whole properties file is reloaded.
 Good, glad to be wrong :), so how then do you add (*not update) and remove 
 entries from the global message catalog?

I just edit the properties file and save it. I'm not using any other
source for the global message catalog besides app*.properties.

-- 
Thiago

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



Re: How to add new entries to the global message catalog

2009-06-24 Thread Ulrich Stärk

I think Peter wants to edit the message catalog programmatically.

On 24.06.2009 17:07 schrieb Thiago H. de Paula Figueiredo:

On Wed, Jun 24, 2009 at 11:53 AM, Peter
Stavrinidesp.stavrini...@albourne.com wrote:

Not right. :) The whole properties file is reloaded.

Good, glad to be wrong :), so how then do you add (*not update) and remove 
entries from the global message catalog?


I just edit the properties file and save it. I'm not using any other
source for the global message catalog besides app*.properties.



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