You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2007/02/05 15:45:11 UTC
svn commit: r503705 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
Author: weber
Date: Mon Feb 5 06:45:10 2007
New Revision: 503705
URL: http://svn.apache.org/viewvc?view=rev&rev=503705
Log:
TOBAGO-252 (Empty string in focusId attribute of tc:page forces the default behavior)
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java?view=diff&rev=503705&r1=503704&r2=503705
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java Mon Feb 5 06:45:10 2007
@@ -400,13 +400,15 @@
super.restoreState(context, values[0]);
this.width = (Integer) values[1];
this.height = (Integer) values[2];
+ this.focusId = (String) values[3];
}
public Object saveState(FacesContext context) {
- Object[] values = new Object[3];
+ Object[] values = new Object[4];
values[0] = super.saveState(context);
values[1] = width;
values[2] = height;
+ values[3] = focusId;
return values;
}
}