Details
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.
SeeICE-2145, which indicates that we should have components to do this as well as timezone selection.
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
Activity
| 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 | [] |
| Salesforce Case | [] | |
| Fix Version/s | 1.8DR#3 [ 10143 ] | |
| Affects | [Compatibility/Configuration] | |
| Assignee | Ted Goddard [ ted.goddard ] |
| Salesforce Case | [] | |
| Assignee Priority | P2 | |
| Assignee | Ted Goddard [ ted.goddard ] | Deryk Sinotte [ deryk.sinotte ] |
| Assignee | Deryk Sinotte [ deryk.sinotte ] | Mircea Toma [ mircea.toma ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #18281 | Tue Feb 03 13:12:44 MST 2009 | mircea.toma | |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/facelets/D2DSeamFaceletViewHandler.java
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 1.8 [ 10161 ] | |
| Assignee Priority | P2 |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee | Mircea Toma [ mircea.toma ] |

Actually it's the jsf view handler that also has the same method (seam calls it and it comes back to the LocaleSelector method with same name)...kind of confusing.