Description
Body rendering is working now with enabled LinkSubmits.
But if the LinkSubmit is disabled then:
- renderFormComponent() is called when rendering
- rewindFormComponent() is not called when rewinding. This is because AbstractFormComponent.renderComponent() contains the following condition:
if (!isDisabled())
{ rewindFormComponent(writer, cycle); }So in case of disabled LinkSubmits the component's body is not rendered when rewinding which may cause StaleLinkException.
Maybe the isDisabled() check should go to a higher level allowing the components to decide whether they want to perform any operation or not - the same way as during rendering.
BR,
Norbi