Hello,
In our application, we have a resource file which contains all labels of our application. We would like that our client add her own resource file to change some labels. How could we implement the same mechanism of orbeon's properties ? ie , use first the data of the client file relative to the default file ? Thank You. julien |
Administrator
|
Hi Julien,
-- Form Runner, loads resources calling a service that ends up running fr-resources.xpl, which use the fr:resources-patcher processor to "patch" the resources with values of properties, which itself is implemented in Scala. Some code in fr:resources-patcher is specific to Form Runner, i.e. the concept of app/form name and the oxf.fr.resource prefix, hence it being the fr: namespace, but you might be able to reuse this code, or do something similar to handle your use case. Alex On Thu, Mar 26, 2015 at 6:13 PM ricetrac <[hidden email]> wrote: Hello, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thank you for your response. It’s a good help julien De : [hidden email] [mailto:[hidden email]]
De la part de Alessandro Vernet Hi Julien, Form Runner, loads resources calling a service that ends up running fr-resources.xpl, which use the fr:resources-patcher processor to "patch" the resources with values of properties, which itself is implemented in Scala. Some code in fr:resources-patcher
is specific to Form Runner, i.e. the concept of app/form name and the oxf.fr.resource prefix, hence it being the fr: namespace, but you might be able to reuse this code, or do something similar to handle your use case. Alex On Thu, Mar 26, 2015 at 6:13 PM ricetrac <[hidden email]> wrote: Hello, -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |