Hi,

You should use the form in a page.
Create a proper page, add the form to it, and use that page as a home page.


On Mon, Nov 25, 2013 at 11:44 AM, gerritqf <[email protected]>wrote:

> Hello usermembers,
>
> I have a question about the startup page for my wicket webapplication.
> I made a Loginform class and a Loginform.html which i want to start my
> application with.
> The Loginform class extends Form.
> Now in the application class it is not possible to point to the
> Loginform.class like this:
>
> public Class<? extends Page> getHomePage()
>         {
>                 return LoginForm.class;
>         }
>
> Because Form of "cannot convert from Class<LoginForm> to Class<? extends
> Page>"
>
> How can i make this work?, or do i have to make a Loginform which extends
> WebPage?
>
> Thanks in advance.
> Gerrit
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to