Gohan a écrit :
> 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?
>
Hi,
You're right, it is a mistake, onDrop should give you access to the
AjaxRequestTarget... I just fixed that...
thanks a lot for the report
--
Vincent Demay
http://www.demay-fr.net/blog
> Thanks
>
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user