Thanks a lot, Juergen. I had copied the html and java code, bypassing the class inhéritence since the parent class was empty. But the parent template was not !
Pierre-Yves Juergen Donnerstag a écrit : > Obviously AjaxTest has inherited markup. Markup inheritance works kind > of like java class inheritence. Hence you need the parents markup as > well. Look at AjaxTest.java and what classes it is derived from and > copy the *.java and *.html as well. E.g. PageablesPage is derived from > BasePage and BasePage.html. > > Juergen > > On 8/7/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I am trynig to run the PageablesPage example after having copied the >> bare minimum to my project. Obviously, something is missing but I can't >> figure what. I get the followinig error message : >> >> Markup of type 'html' for component 'com.volgadev.aloha.web.AjaxTest' >> not found. Enable debug messages for wicket.util.resource to get a list >> of all filenames tried. >> >> Obviously, it is not AjaxTest.html which is missing. The root cause is : >> >> wicket.markup.MarkupNotFoundException: Parent markup of inherited markup >> not found. Component class: com.volgadev.aloha.web.AjaxTest >> >> Surely enabling debug for wicket.util.resource.Resource would help. I >> put a property file in the classpath with the following line : >> >> log4j.logger.wicket.util.resource=DEBUG >> >> but it doesn't change anything. >> >> Does any one has an idea of what markup element is missing or how to get >> log4j to work ? >> >> thanks, >> >> Pierre-Yves >> >> >> ------------------------------------------------------------------------- >> 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 >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
