Hi all,

On my development box, the following code works fine (I'm using a Wizard):

productCodeField.add(new AbstractValidator() {
                
        @Override
        protected void onValidate(IValidatable validatable) {
                LOG.info("Validating "+validatable);
                if (getProduct(validatable.getValue()) == null) {
                        error(validatable, "NoSuchProduct");
                        LOG.debug("Feedback Messages: " + 
Session.get().getFeedbackMessages());
                }
        }

});

If I enter an invalid code, the error message is correctly displayed, 
and the log correctly shows the message in the FeedbackMessages list.

However, when I deploy the application the Validator is still called, 
and the both LOG lines appear, but the FeedbackPanel never renders on 
the page.

I've tried running locally in DEPLOYMENT mode, and in both Tomcat and 
Jetty but it has made no difference - it always works fine on my 
computer and fails on the live servers.

Has anyone come across this problem before - or can someone suggest a 
place to look to start fixing this?

Many thanks,
Mike Cripps

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to