From richfaces-svn-commits at lists.jboss.org Tue May 27 17:19:37 2008 Content-Type: multipart/mixed; boundary="===============0308249535184596707==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r8791 - in trunk: test-applications/jsp/src/main/webapp/pages/Rich and 1 other directory. Date: Tue, 27 May 2008 17:19:37 -0400 Message-ID: --===============0308249535184596707== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: alexsmirnov Date: 2008-05-27 17:19:37 -0400 (Tue, 27 May 2008) New Revision: 8791 Modified: trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchableP= anel.java trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp Log: set encodind to avoid http://jira.jboss.com/jira/browse/RF-3557 replace deprecated classes Modified: trunk/framework/impl/src/main/java/org/richfaces/component/UISwit= chablePanel.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchable= Panel.java 2008-05-27 17:46:43 UTC (rev 8790) +++ trunk/framework/impl/src/main/java/org/richfaces/component/UISwitchable= Panel.java 2008-05-27 21:19:37 UTC (rev 8791) @@ -23,6 +23,7 @@ = import java.util.Iterator; = +import javax.el.ValueExpression; import javax.faces.component.UIComponent; import javax.faces.component.UIInput; import javax.faces.context.FacesContext; @@ -124,9 +125,9 @@ } = //TODO UIInput should update the model, not the switchable panel itself - ValueBinding valueBinding =3D getValueBinding("value"); + ValueExpression valueBinding =3D getValueExpression("value"); if (valueBinding !=3D null) { - valueBinding.setValue(facesContext, newValue); + valueBinding.setValue(facesContext.getELContext(), newValue); setValue(null); setLocalValueSet(false); } else { Modified: trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-05= -27 17:46:43 UTC (rev 8790) +++ trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-05= -27 21:19:37 UTC (rev 8791) @@ -3,6 +3,7 @@ <%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> <%@ taglib uri=3D"http://richfaces.org/a4j" prefix=3D"a4j" %> <%@ taglib uri=3D"http://richfaces.org/rich" prefix=3D"rich" %> +<%@page contentType=3D"text/html; charset=3DUTF-8" %> = --===============0308249535184596707==--