You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/07/07 17:48:28 UTC
svn commit: r1143891 - in
/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag:
ColumnRenderer.java SheetRenderer.java
Author: lofwyr
Date: Thu Jul 7 15:48:28 2011
New Revision: 1143891
URL: http://svn.apache.org/viewvc?rev=1143891&view=rev
Log:
make compilable with JSF 1.1
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java?rev=1143891&r1=1143890&r2=1143891&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/ColumnRenderer.java Thu Jul 7 15:48:28 2011
@@ -26,6 +26,7 @@ import org.apache.myfaces.tobago.renderk
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import java.io.IOException;
+import java.util.List;
public class ColumnRenderer extends LayoutComponentRendererBase {
@@ -48,7 +49,7 @@ public class ColumnRenderer extends Layo
* Pure is not needed for <tc:out> and <tc:link>
*/
private boolean isPure(UIColumn column) {
- for (UIComponent child : column.getChildren()) {
+ for (UIComponent child : (List<UIComponent>) column.getChildren()) {
if (!(child instanceof UIOut) && !(child instanceof UILink)) {
return true;
}
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java?rev=1143891&r1=1143890&r2=1143891&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/SheetRenderer.java Thu Jul 7 15:48:28 2011
@@ -478,7 +478,7 @@ public class SheetRenderer extends Layou
* Pure is not needed for <tc:out> and <tc:link>
*/
private boolean isPure(UIColumn column) {
- for (UIComponent child : column.getChildren()) {
+ for (UIComponent child : (List<UIComponent>) column.getChildren()) {
if (!(child instanceof UIOut) && !(child instanceof UILink)) {
return true;
}