tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschu...@apache.org
Subject svn commit: r571854 - /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java
Date Sat, 01 Sep 2007 18:53:15 GMT
Author: mschulte
Date: Sat Sep  1 11:53:13 2007
New Revision: 571854

URL: http://svn.apache.org/viewvc?rev=571854&view=rev
Log:
fixes TAPESTRY-1716

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java?rev=571854&r1=571853&r2=571854&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/components/Insert.java
Sat Sep  1 11:53:13 2007
@@ -78,6 +78,9 @@
             writer.begin(getTemplateTagName());
             
             renderInformalParameters(writer, cycle);
+            
+            if (getId() != null && !isParameterBound("id"))
+                renderIdAttribute(writer, cycle);
         }
         
         printText(writer, cycle, insert);



Mime
View raw message