ICEfaces
  1. ICEfaces
  2. ICE-2147

Seam LocaleSelector() part of framework does not work with ICEfaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      any Seam/ICEfaces combination
    • Affects:
      Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      We worked around this issue by extending the D2DSeamFaceletViewHandler class from IceFaces and overriding the calculateLocale method to call the LocaleSelector.calculateLocale method from Seam. We retrieve the LocaleSelector from the JSF SessionContext using the name "org.jboss.seam.international.localeSelector". We then configured our new class as the view handler in faces-config.xml and now the LocaleSelector works properly for us.
      Show
      We worked around this issue by extending the D2DSeamFaceletViewHandler class from IceFaces and overriding the calculateLocale method to call the LocaleSelector.calculateLocale method from Seam. We retrieve the LocaleSelector from the JSF SessionContext using the name "org.jboss.seam.international.localeSelector". We then configured our new class as the view handler in faces-config.xml and now the LocaleSelector works properly for us.

      Description

      org.jboss.seam.international.LocaleSelector has method with same name as D2DViewHandler for calculateLocale().

      When trying to use this part of seam framework with ICEfaces, our D2DViewhandler:calculateLocale() gets called and it does entirely something different from the seam version....so just doesn't work.

      See ICE-2145, which indicates that we should have components to do this as well as timezone selection.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Judy Guglielmin
          • Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: