You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2007/04/04 23:46:29 UTC

svn commit: r525619 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java

Author: jcompagner
Date: Wed Apr  4 14:46:28 2007
New Revision: 525619

URL: http://svn.apache.org/viewvc?view=rev&rev=525619
Log:
submit link should call super.onComponentTag else the markup id is not outputted when asked for

Modified:
    incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java

Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java?view=diff&rev=525619&r1=525618&r2=525619
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/markup/html/form/SubmitLink.java Wed Apr  4 14:46:28 2007
@@ -155,6 +155,7 @@
 	 */
 	protected void onComponentTag(ComponentTag tag)
 	{
+		super.onComponentTag(tag);
 		// If we're disabled
 		if (!isLinkEnabled())
 		{