Hi,

I'd like to update a label (though this could just as well be another
component such as  a FeedbackPanel) using ajax from a method that doesn't
give me access to the "AjaxRequestTarget" that usually is the case with ajax
components. Here is an example. 


DojoDropContainer hiredDropContainer = new DojoDropContainer(this,
                        "myDropContainer") {

        @Override
        public void onDrop(DojoDragContainer container, int position) {
                label.setModelObject("Dropped");
        }
};

As expected the label never updates. Usually you have a AjaxRequestTarget to
which you'd add the label. But what should I do in this case?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Update-component-using-ajax-when-no-AjaxRequestTarget-is-available-tf3291870.html#a9156188
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to