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

        Judy Guglielmin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Workaround Description 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.
        Workaround Exists [Yes]
        Salesforce Case []
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8DR#3 [ 10143 ]
        Affects [Compatibility/Configuration]
        Assignee Ted Goddard [ ted.goddard ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Assignee Ted Goddard [ ted.goddard ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P2
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mircea Toma [ mircea.toma ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: