2 Replies Latest reply on Aug 1, 2008 8:42 AM by Pierre Raoul

    sum bundles

    marx3 Apprentice

      Is it possible to concatenate message bundles?
      Seam do that for messages when bundle is defined for specified view, concatenating standard_messages and choosen bundle.


      For me the best would be:


      bundle="bundle1,bundle2,bundle3"



      but it doesn't work.
      Any ideas?

        • 1. Re: sum bundles
          marx3 Apprentice

          Maybe there is a way to manually add some properties to 'messages'?

          • 2. Re: sum bundles
            Pierre Raoul Novice

            Have you tried this (see Seam doc):


             You can select a different name for the resource bundle by setting the Seam configuration property named org.jboss.seam.core.resourceLoader.bundleNames. You can even specify a list of resource bundle names to be searched (depth first) for messages.
            
            <core:resource-loader>
                <core:bundle-names>
                    <value>mycompany_messages</value>
                    <value>standard_messages</value>       
                </core:bundle-names>
            </core:resource-loader>