Hi Wicket gurus.

I want the behaivor of AJAXchange the models after updatings the selecction
of the make like the example of wicketstuff.org. Im having trouble in the
onUpdate of the DDC, everything is fine till I update the first
dropdownchoice. It spit me an excetption: "Attempt to set model object on
null model of component panelname.myDDC" but im not touching "myDDC in the
ajax request. Please help." 

//SAMPLE CODE:

MyDDC.add(new AjaxFormComponentUpdatingBehavior("onchange"){
                        
                        @Override
                        protected void onUpdate(AjaxRequestTarget target) {
                                
                                target.add(OtherDDC);
                                
                        }
                        
                });
                

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Ajax-DropDownChoice-messing-DDC-Model-S-tp4464119p4464119.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to