public class AjaxDataSubmitWrapper extends TextField{
 
 //no one overloaded method
 
}
 
 
Page code:
submiter = new AjaxDataSubmitWrapper("submiter", "onclick", params);
 
add(submiter);
 
 
Page html:
<input type="text" wicket:id="submiter"/>
 
 
 
WicketMessage: Markup element at index 7 failed to advance the markup stream



 
[markup = file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/wizard-0.0.1/WEB-INF/classes/com/enterra/wicket/pages/TestPage.html, index = 7, current = '<input type="text" wicket:id="submiter"/>' (line 8, column 1)]
 
 

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head></head><body>

<input type="text" wicket:id="txt" />
<input type="text" wicket:id="submiter"/>

</body>
</html>

 

What I’m doing wrong?

 

 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to