Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
how do you submit the form? it seems like you do not add a submit button or submit link into the form.. Ajayi Yinka wrote: Hi, This problem still persist till now. I can really figure out the cause of the problem. Could anyone help me out? This is one of the pages in my application. I have

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
Thanks for your concern. I added it (check the LoginForm class, you will see the onSubmit method). I used the default form submit button. I tried the wicket button before, but the same problem persist. On Thu, Sep 11, 2008 at 5:33 AM, Serkan Camurcuoglu [EMAIL PROTECTED]wrote: how do you submit

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
turning your code into a quickstart project works for me, onSubmit is successfully called.. Did you debug and see the return value of continueToOriginalDestination() ? Ajayi Yinka wrote: Thanks for your concern. I added it (check the LoginForm class, you will see the onSubmit method). I

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
When I debugged the codes, it wasn't getting to the onSubmit method. Maybe you try to do this with the code, don't enter value when the page is first rendered and click the submit button. After that, enter values nto the textfields and click the submit button and check if the onSubmit method is

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
when I try, it works as expected, onError is called whenever data is not entered, and onSubmit is called when I enter both values.. Ajayi Yinka wrote: When I debugged the codes, it wasn't getting to the onSubmit method. Maybe you try to do this with the code, don't enter value when the page

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
Thanks so much, I appreciate this, Now help me remove the onError method from the LoginForm class so that Login.class is not called. Do the same thing again and check the result. check if the page in the setResponsePage is redered. Actually, I am confussed with this problem. thanks so much yinka

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
this message in context: http://www.nabble.com/Components-render-problem-tp19411126p19436483.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
://www.nabble.com/Components-render-problem-tp19411126p19436483.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Components render problem

2008-09-10 Thread Ajayi Yinka
Hi guys, I am a newbie in wicket. I am presently developpng an application using wicket framework. I am having problem in submitting my forms. The form submissionis actually working whenever I enter a value but if no value is put in the textbox, feedback panel will display the error message (I

Re: Components render problem

2008-09-10 Thread Serkan Camurcuoglu
if onSubmit is not called and the form is redisplayed with the values that you've last entered, it seems like the form is not validated successfully.. Ajayi Yinka wrote: Hi guys, I am a newbie in wicket. I am presently developpng an application using wicket framework. I am having problem in

Re: Components render problem

2008-09-10 Thread Ajayi Yinka
I thought as much, it seems I am missing something out in validation process. Please help me check out from this snippet of my codes userId = new TextField(userId, new Model()); userId.setRequired(true); userPassword = new PasswordTextField(userPassword, new Model());

Re: Components render problem

2008-09-10 Thread Ajayi Yinka
hi guys, I have try to get over the problem by calling Login.class in onError method. this seems to cover this bugs, but I am not satistify as the error message is still redisplaying in the next page. I think what i really need is the problems that are associated with validation. On Wed, Sep 10,