Author: jdonnerstag Date: Sat Mar 19 19:46:45 2011 New Revision: 1083266 URL: http://svn.apache.org/viewvc?rev=1083266&view=rev Log: replaced deprecated ComponentTag.getString with getAttribute
Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java?rev=1083266&r1=1083265&r2=1083266&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java (original) +++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java Sat Mar 19 19:46:45 2011 @@ -727,7 +727,7 @@ public class BaseWicketTester while ((tag = (XmlTag)parser.nextTag()) != null) { if (tag.isOpen() && tag.getName().equals("script") && - "wicket-ajax-base-url".equals(tag.getString("id"))) + "wicket-ajax-base-url".equals(tag.getAttribute("id"))) { parser.next(); return parser.getString().toString().split("\\\"")[1];