Author: knopp
Date: Sun Jul 29 03:20:03 2007
New Revision: 560706
URL: http://svn.apache.org/viewvc?view=rev&rev=560706
Log:
Set markup ID to satisfy the unit test
Modified:
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
Modified:
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java?view=diff&rev=560706&r1=560705&r2=560706
==============================================================================
---
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
(original)
+++
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
Sun Jul 29 03:20:03 2007
@@ -80,6 +80,9 @@
{
// Construct form with no validation listener
super(id, new CompoundPropertyModel(new Comment()));
+
+ // this is just to make the unit test happy
+ setMarkupId("commentForm");
// Add text entry widget
add(new TextArea("text"));