Hi:

I am using AjaxFallbackLink.

I have a ListView in a container, and a AjaxFallbackLink per row for delete
the current row. But When I click the link, I find the data is deleted but
the current ListView doesn't refresh. I think that's because the list object
didn't be refreshed, but I do not know where to put my code.

The following is my AjaxFallbackLink code:

                    item.add(new AjaxFallbackLink("removeLink") {

                        @Override
                        public void onClick(AjaxRequestTarget target) {
                            _resourceForm.setEnabled(false);
                            _securityService.removeResource(resource);
                            _resources = _securityService.queryResources();
------------> I update my list model here
                            info(success");
                            target.addComponent(_listContainer);
                            target.addComponent(_resourceForm);
                        }
                    });

Is there something I forget to?

-- 
Thanks!

VVThumb Production

Location:  Shumagang 6H-8, Jinan, Shandong, China 250000
Mobile: +086-15864011231
email: [email protected]
website: http://haulynjason.net
gtalk: [email protected]
skype: saharabear
QQ: 378606292
msn:[email protected] <msn%[email protected]>
yahoo:[email protected] <yahoo%[email protected]>
Twitter: http://twitter.com/saharabear
Linkedin: http://www.linkedin.com/in/haulyn

Haulyn Jason

Reply via email to