Yes, i use maven quickstart project.
2009/12/15, MattyDE <ufer.mar...@gmail.com>: > > Hi Mariusz , > > is your "HomePage.html" file in the same folder as "HomePage.class"? > > > > marioosh.net wrote: >> >> I have template: >> <html >> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" >>> >> <body> >> <input type="button" wicket:id="ok" value="ok"/> >> </body> >> </html> >> >> and class: >> public class HomePage extends WebPage { >> public HomePage(final PageParameters parameters) { >> add(new Button("ok")); >> } >> } >> >> But i get error: >> Unable to find component with id 'ok' ..... or that the hierarchy >> does not match. >> >> -- >> Pozdrawiam, >> Mariusz >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://old.nabble.com/-newbie--Adding-button---simple-question-tp26793576p26793696.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pozdrawiam, Mariusz --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org