You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hu...@apache.org on 2004/01/09 04:29:41 UTC
cvs commit: jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/web/faces FacesSetLocaleCommand.java FacesGetLocaleCommand.java
husted 2004/01/08 19:29:41
Modified: chain/src/java/org/apache/commons/chain/web/faces
FacesSetLocaleCommand.java
FacesGetLocaleCommand.java
Log:
Update for current jsf-1.0-beta release.
Revision Changes Path
1.6 +4 -4 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/web/faces/FacesSetLocaleCommand.java
Index: FacesSetLocaleCommand.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/web/faces/FacesSetLocaleCommand.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- FacesSetLocaleCommand.java 18 Oct 2003 05:30:19 -0000 1.5
+++ FacesSetLocaleCommand.java 9 Jan 2004 03:29:41 -0000 1.6
@@ -84,7 +84,7 @@
FacesContext fcontext = (FacesContext)
context.get("context");
- fcontext.setLocale(locale);
+ fcontext.getViewRoot().setLocale(locale);
}
1.6 +4 -4 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/web/faces/FacesGetLocaleCommand.java
Index: FacesGetLocaleCommand.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/web/faces/FacesGetLocaleCommand.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- FacesGetLocaleCommand.java 18 Oct 2003 05:30:19 -0000 1.5
+++ FacesGetLocaleCommand.java 9 Jan 2004 03:29:41 -0000 1.6
@@ -87,7 +87,7 @@
FacesContext fcontext = (FacesContext)
context.get("context");
- return (fcontext.getLocale());
+ return (fcontext.getViewRoot().getLocale());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org