On Mon, 02 Jun 2008, liny wrote: > 1. When I enter data into input field and key up, AjaxFormValidatingBehavior > doesn't work. It won't validate input field.
What do you want to happen here? > 2. After input correct info in login page and manual because question 1, I > have to manual press submit button. Then I was redirected to tomcat's > index.jsp! What's wrong with it? I access X page without login, this is > right. But after correct login, I should return to X page, not tomcat's > index.jsp. > > Please tell me what's going on and how to solve it, thanks! > > http://www.nabble.com/file/p17601972/Login.java Login.java It's a bit unclear to me what you're trying to accomplish, but I don't see any way of displaying the Ajax validation error messages. The parent of the FeedbackPanel must be repainted to make it visible (or the FeedbackPanel itself if you set outputMarkupPlaceholderTag true to it). Also note that onkeyup doesn't get triggered by mouse events, OnChangeAjaxBehavior is better in that respect. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
