Hi,

I'm currently developing an ajax search text field that updates a DataView. 
I have encountered 2 blocking issues which, I think, might be bugs, but it
could also just be me doing something wrong ;-) (I have created 2 separate
messages)

Following code causes a NotSerializable exception:

AjaxFormComponentUpdatingBehavior ajaxBehavior = new
AjaxFormComponentUpdatingBehavior("onkeydown") {

                        private static final long serialVersionUID = 
6734232774096304005L;

                        @Override
                        protected void onUpdate(AjaxRequestTarget target) {
                                target.addComponent(myComponent);               
                
                        }
                };              
                ajaxBehavior.setThrottleDelay(Duration.ONE_SECOND);

The problem is the 'setThrottleDelay' method.  This method creates an
instance of the 'wicket.ajax.AjaxEventBehavior$ThrottlingSettings' class. 
This inner class however is not serializable and I guess that when the
component is put on the session, Glassfish throws the NotSerializable
exception.

Byeee...
--
View this message in context: 
http://www.nabble.com/ajax-behavior-NotSerializable-exception-t1504611.html#a4079785
Sent from the Wicket - User forum at Nabble.com.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to