You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Mike Cripps <mi...@mxtelecom.com> on 2007/07/27 16:12:36 UTC

Re: [Wicket-user] Strange FeedbackPanel behaviour

I am running it on a cluster of live servers, but we 'stick' the (http) 
session to a server when we create it.  Do I need to do the same for Wicket?

Mike

Igor Vaynberg wrote:
> are you running it on a cluster of live servers? or just one?
> 
> -igor
> 
> 
> On 7/27/07, Mike Cripps <mi...@mxtelecom.com> wrote:
>> 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
>>
> -------------------------------------------------------------------------
> 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


-- 
Mike Cripps <mi...@mxtelecom.com>
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org