Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
1.1.5-SNAPSHOT
-
None
-
None
Description
HtmlDataScrollerRenderer.renderScroller modifies the sroller component's structure by adding command links to it. This works only once. However, it is perfectly legal to invoke lifecycle.render several times without calling lifecycle.execute in between (that's what portals to for portlets that have not participated in the current action).
Because the component structure is reused rather than recreated in this case, the added command links from the previous render invocation are still there. Adding the command links again eventually leads to duplicate ids.
Workaround (and probably fix as well): clear list of children at the start of renderScroller.