> fully agree IMO This is all very much experimental only. It is the
> first (draft) version of these features and they'll certainly improve.
Hope so. Perhaps the component should remember the position in markup
stream? Perhaps during full render the position could be set on all
components?
that was what we did before but back then we didn't have that finding of the position
Maybe now this part:
int index = markupStream.findComponentIndex(relativePath, getId());
if (index == -1)
{
throw new WicketRuntimeException("Unable to determine markup for component: "
+ this.toString());
}
markupStream.setCurrentIndex(index);
can be cached? Would that index be always the same for a component (except for markup reload)
Then maybe we coiuld cache the markupstream and the index?
johan