Hi,
If you have an ajax event and then you call target.addComponent on
another component or collection of other components.
What do you mean with "another component"? You should be able to add any
component you want, except AbstractRepeater subclasses (ListView,
RepeatingView, ecc...). These components must be inside a different
container to be updated via Ajax (i.e. you must call addComponent on
this container).
Are there issues with calling target.addComponent on components that
aren't visible or maybe detached from the page?
You can call addComponent on invisible component but you must call
setOutputMarkupPlaceholderTag before adding them (see Component
JavaDoc). I never tried calling addComponent on a detached component...
Or calling target.addComponent more than once on a particular component?
That should lead to a multiple rendering of the component.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]