Can you file an issue in the issuetracker for this?

On 17-dec-05, at 13:07, Raoul Pierre wrote:


How do you propose to indicate that the properties file should be interpreted in xhtml enabled or disabled mode?

by choosing the right encoder when a template is instanciated by an element, with: - a parameter (L10N_XHTML_ENABLED_RESOURCEBUNDLE?) in config to specify the default behavior of the application (and by default "default", xhtml enabled)
- each element can overwrite this parameter with its own property


That doesn't work since you'll get threading issues. The config is shared throughout the entire application. So if you modify it in the middle of a certain element, another element might modify it again before you even used it.

OK. So don't "overwrite" the config parameter:
- each element will check if a L10N_XHTML_ENABLED_RESOURCEBUNDLE property is available - if not it will check if a L10N_XHTML_ENABLED_RESOURCEBUNDLE parameter is available in config
- if not it will use the actual behavior.


Pierre


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to