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

Reply via email to