hi,

i traced a bit by adding

        protected void onComponentTag(final ComponentTag tag) {
                System.out.println("ADRESSPANEL " + getModel());
                
                this.visitChildren(new IVisitor() {

                        public Object component(Component component) {
                                System.out.println("ADRESSPANEL " + component + 
" -> " + component.getModel() + " -> " + component.getModelObject());
                                if (component instanceof TextField)
                                        System.out.println("Value= " + 
((TextField) component).getValue());
                                return null;
                        }
                        
                });
                
                super.onComponentTag(tag);
        }

to addresspanel.

component.getModelObject() hast the right values which are expected while 
getValue() delivers old values.

any ideas?


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to