Re: Newbie question: startup wicketapplication with loginform

2013-12-02 Thread Paul Bors
See also the Wicket Guide:
http://wicket.apache.org/guide/guide/chapter3.html#chapter3_3


On Tue, Nov 26, 2013 at 10:36 AM, Seçil Aydın techlove...@gmail.com wrote:

 Hi,
 you can also view the below example code:


 http://www.wicket-library.com/wicket-examples/authentication1/wicket/bookmarkable/org.apache.wicket.examples.authentication1.SignIn?0



 -
 Wicket-Java
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641p4662685.html
 Sent from the Users forum 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




Re: Newbie question: startup wicketapplication with loginform

2013-11-26 Thread Seçil Aydın
Hi,
you can also view the below example code:

http://www.wicket-library.com/wicket-examples/authentication1/wicket/bookmarkable/org.apache.wicket.examples.authentication1.SignIn?0



-
Wicket-Java
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Newbie-question-startup-wicketapplication-with-loginform-tp4662641p4662685.html
Sent from the Users forum 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



Newbie question: startup wicketapplication with loginform

2013-11-25 Thread gerritqf
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 ClassLoginForm 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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Martin Grigorov
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 gerrit.wass...@qfactors.nlwrote:

 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 ClassLoginForm 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: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Newbie question: startup wicketapplication with loginform

2013-11-25 Thread Gerrit Wassink
Ok i will try.Thanks!


Martin Grigorov mgrigo...@apache.org , 25-11-2013 10:55:
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 gerrit.wass...@qfactors.nlwrote: 
 
 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 ClassLoginForm 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: users-unsubscr...@wicket.apache.org 
 For additional commands, e-mail: users-h...@wicket.apache.org