Do I need to call setOutputMarkupId(true) on each individual child as well?
no, just the top most component you want to be redrawn has to have a markup id. All its decendants will be updated as well. Sven Am 06.12.2011 14:54, schrieb Richard W. Adams:
I know that I need to call AjaxRequestTarget.addComponent() to re-render a component from Ajax, and that I must have previously called component.setOutputMarkupId(true). But the javadocs for AjaxRequestTarget aren't clear on whether only this single component is updated, or whether all its children are updated as well. My intent it to update all the children, too, but I haven't gotten it to work yet. Do I need to call setOutputMarkupId(true) on each individual child as well? ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org