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
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to