1 2 3 Previous Next 31 Replies Latest reply on Aug 9, 2007 4:44 AM by zerg-spirit Go to original post
      • 30. Re: Evaluation of action attibute in s:link
        zerg-spirit

        Hey guys!

        Sorry about the revival, but with the new ResourceBundle implementation in the last Seam CVS, I'm kinda lost.

        I modified my implementation trying to get it working, but somehow I never manage to get the 'ResourceBundle.instance()' to change.
        I can easily load whatever language I want, but once it's loaded, I can't get it to change using the localeSelector like I did before.
        What method/class should I implement to get it to change?

        At the moment, I have made an implementation of ResourceLoader to override the method loadBundle and basically do something like that:

        ResourceBundle bundle = ResourceBundle.getBundle(bundleName,
         Locale.instance(), Thread.currentThread()
         .getContextClassLoader(), DBControl
         .getInstance());

        DBControl being my own controller (which is by the way working fine).
        Actually everything seems to work find behind, but the locale just doesn't change, with org.jboss.seam.core.ResourceBundle.getInstance() being always the first locale I loaded.



        • 31. Re: Evaluation of action attibute in s:link
          zerg-spirit

          I realise I posted in the wrong thread, I'll post it at the right place, and if an admin could delete this, it would be nice=)

          1 2 3 Previous Next