Allowing users to override message properties

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Allowing users to override message properties

Stephan Windmüller
Hello!

We want out users to be able to override certain (or all) message keys
for the application permanently so they can customize it to their needs.
Is there something already available in Tapestry to do this?

At first we thought about extending the messages service which asks the
database before consulting the properties, but this would add a database
call for each message.

Regards
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Allowing users to override message properties

Mats Andersson-2
It would be enough to cache all messages in the service and reload
periodically if something has changed.


BR
Mats

____________________________________________
Mats Andersson
Ronsoft AB - Fridhemsvägen 8 - 372 25 Ronneby
Tel. 073-368 79 82
http://www.ronsoft.se
____________________________________________


Stephan Windmüller skrev 2010-11-04 16:23:

> Hello!
>
> We want out users to be able to override certain (or all) message keys
> for the application permanently so they can customize it to their needs.
> Is there something already available in Tapestry to do this?
>
> At first we thought about extending the messages service which asks the
> database before consulting the properties, but this would add a database
> call for each message.
>
> Regards
>   Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]