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 2006/10/15 13:56:43 UTC
svn commit: r464157 - in
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component:
UIInput.java UIPage.java UISelectMany.java UISelectOne.java
UITreeListbox.java
Author: weber
Date: Sun Oct 15 04:56:42 2006
New Revision: 464157
URL: http://svn.apache.org/viewvc?view=rev&rev=464157
Log:
TOBAGO-157 (Resizing of browser window should result in recalculation of layout, even if the same view is rerendered)
uncomment the layoutBegin() statments
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectMany.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOne.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java?view=diff&rev=464157&r1=464156&r2=464157
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java Sun Oct 15 04:56:42 2006
@@ -107,7 +107,7 @@
public void encodeBegin(FacesContext facesContext) throws IOException {
// TODO change this should be renamed to DimensionUtils.prepare!!!
- //UILayout.getLayout(this).layoutBegin(facesContext, this);
+ UILayout.getLayout(this).layoutBegin(facesContext, this);
super.encodeBegin(facesContext);
}
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=464157&r1=464156&r2=464157
==============================================================================
--- 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 Sun Oct 15 04:56:42 2006
@@ -90,7 +90,7 @@
@Override
public void encodeBegin(FacesContext facesContext) throws IOException {
// TODO change this should be renamed to DimensionUtils.prepare!!!
- //UILayout.getLayout(this).layoutBegin(facesContext, this);
+ UILayout.getLayout(this).layoutBegin(facesContext, this);
super.encodeBegin(facesContext);
}
@@ -211,6 +211,7 @@
public void updatePageState(FacesContext facesContext) {
PageState state = getPageState(facesContext);
+ LOG.info("state = \"" + state + "\"");
if (state != null) {
decodePageState(facesContext, state);
}
@@ -246,6 +247,7 @@
}
return state;
} else {
+ LOG.info("stateBinding = \"" + stateBinding + "\"");
return null;
}
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectMany.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectMany.java?view=diff&rev=464157&r1=464156&r2=464157
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectMany.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectMany.java Sun Oct 15 04:56:42 2006
@@ -35,7 +35,7 @@
public void encodeBegin(FacesContext facesContext) throws IOException {
// TODO change this should be renamed to DimensionUtils.prepare!!!
- //UILayout.getLayout(this).layoutBegin(facesContext, this);
+ UILayout.getLayout(this).layoutBegin(facesContext, this);
super.encodeBegin(facesContext);
}
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOne.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOne.java?view=diff&rev=464157&r1=464156&r2=464157
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOne.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOne.java Sun Oct 15 04:56:42 2006
@@ -34,7 +34,7 @@
public void encodeBegin(FacesContext facesContext) throws IOException {
// TODO change this should be renamed to DimensionUtils.prepare!!!
- //UILayout.getLayout(this).layoutBegin(facesContext, this);
+ UILayout.getLayout(this).layoutBegin(facesContext, this);
super.encodeBegin(facesContext);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java?view=diff&rev=464157&r1=464156&r2=464157
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java Sun Oct 15 04:56:42 2006
@@ -68,7 +68,7 @@
public void encodeBegin(FacesContext facesContext)
throws IOException {
// TODO change this should be renamed to DimensionUtils.prepare!!!
- //UILayout.getLayout(this).layoutBegin(facesContext, this);
+ UILayout.getLayout(this).layoutBegin(facesContext, this);
// debugStates(facesContext);
fixSelectionType();
super.encodeBegin(facesContext);