You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2007/08/11 10:59:41 UTC
svn commit: r564876 -
/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java
Author: jdonnerstag
Date: Sat Aug 11 01:59:40 2007
New Revision: 564876
URL: http://svn.apache.org/viewvc?view=rev&rev=564876
Log:
flag <wicket:xx> tag as auto-tags, meaning that the associated containers are created automatically
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java?view=diff&rev=564876&r1=564875&r2=564876
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java Sat Aug 11 01:59:40 2007
@@ -84,7 +84,7 @@
return xmlTag;
}
- final String namespace = this.markup.getWicketNamespace();
+ final String namespace = markup.getWicketNamespace();
// Identify tags with Wicket namespace
ComponentTag tag;
@@ -95,15 +95,16 @@
// Make it a Wicket component. Otherwise it would be RawMarkup
tag.setId("_" + tag.getName());
+ tag.setAutoComponentTag(true);
+ tag.setModified(true);
// If the tag is not a well-known wicket namespace tag
if (!isWellKnown(xmlTag))
{
// give up
- throw new ParseException("Unknown tag name with Wicket namespace: '"
- + xmlTag.getName()
- + "'. Might be you haven't installed the appropriate resolver?", tag
- .getPos());
+ throw new ParseException("Unknown tag name with Wicket namespace: '" +
+ xmlTag.getName() +
+ "'. Might be you haven't installed the appropriate resolver?", tag.getPos());
}
}
else