You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sl...@apache.org on 2009/04/09 00:43:20 UTC
svn commit: r763439 -
/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java
Author: slessard
Date: Wed Apr 8 22:43:19 2009
New Revision: 763439
URL: http://svn.apache.org/viewvc?rev=763439&view=rev
Log:
MYFACES-2081 - Cleaned the repeat handler, not really fully integrated.
Modified:
myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java
Modified: myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java?rev=763439&r1=763438&r2=763439&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java (original)
+++ myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java Wed Apr 8 22:43:19 2009
@@ -56,7 +56,7 @@
private class TagMetaData extends Metadata
{
- private final String[] attrs;
+ private final String[] _attrs;
public TagMetaData(Class<?> type)
{
@@ -88,7 +88,7 @@
// do nothing
}
- this.attrs = names.toArray(new String[names.size()]);
+ _attrs = names.toArray(new String[names.size()]);
}
public void applyMetadata(FaceletContext ctx, Object instance)
@@ -96,9 +96,9 @@
UIComponent component = (UIComponent) instance;
Map<String, Object> attrs = component.getAttributes();
attrs.put("alias.element", tag.getQName());
- if (this.attrs.length > 0)
+ if (_attrs.length > 0)
{
- attrs.put("alias.attributes", this.attrs);
+ attrs.put("alias.attributes", _attrs);
}
}
}