Lack of "super" section cause that kind of a problem. Look at example:


AjaxEditableLabel label = new AjaxEditableLabel(componentId, new
PropertyModel(dtoUser, "loginName")){
                                      @Override
                                      protected void onEdit(AjaxRequestTarget 
target) {
                                        super.onEdit(target);
                                        
log.debug("ListCopies.ListCopies().loginNameColumn.onEdit:
"+dtoUser.getId()+" "+dtoUser.getLoginName()+" "+dtoUser.getFirstName()+"
"+dtoUser.getLastName());
                                      }
                                      @Override
                                      protected void onError(AjaxRequestTarget 
target) {
                                        super.onError(target);
                                        target.addComponent(getFeedbackPanel());
                                        
log.error("ListCopies.ListCopies().loginNameColumn.onError:
"+dtoUser.getId()+" "+dtoUser.getLoginName()+" "+dtoUser.getFirstName()+"
"+dtoUser.getLastName());
                                      }
                                      @Override
                                      public void onSubmit(AjaxRequestTarget 
target){
                                                super.onSubmit(target);
                                                
log.debug("ListCopies.ListCopies().loginNameColumn.onSubmit:
"+dtoUser.getId()+" "+dtoUser.getLoginName());
                                                ((LibraryApplication)
getApplication()).getManageUser().saveObject(dtoUser);
                                      }
                                };





ezegb wrote:
> 
>                                                       
> @SuppressWarnings("unchecked")
>                                                       @Override
>                                                       protected void 
> onSubmit(AjaxRequestTarget target, Form form) 
>                                                       {
>                                                               ProjectProduct 
> projectProduct = (ProjectProduct)
> this.getModelObject(); 
>                                                               
> projectProduct.getAuthor().remove(item.getIndex());
>                                                               
> target.addComponent(authorContainer);
>                                                       }
>                                               
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax-link-doesn%27t-call-event-tp18219220p19326851.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to