You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attached a minimal but complete example as [^state-multi-inheritance.zip]. The project already contains the required patches for spring web flow which are attached as [^patch.diff]. The modifications also handle special cases if a flow is inherited multiple times like given in the following example:
example-flow#state inherits from parent-a#state and parent-b#state
parent-a#state inherits from parent-c#state
parent-b#state inherits from parent-c#state
example-flow#state inherits parent-c#state two times but in the flow model the additions from parent-c#state should occur only once.
From a brief look the key concern I have is that view-state has a number of attributes and those cannot be reconciled in case of differences. The classical problem with multiple inheritance.
Johannes Grimm opened SWF-1682 and commented
Currently Spring Web Flow supports multiple inheritance only on a flow level:
Inheritance for states only supports single inheritance:
I would like to propose a patch that enables multiple inheritance for states to enable flow definitions like the following:
I attached a minimal but complete example as [^state-multi-inheritance.zip]. The project already contains the required patches for spring web flow which are attached as [^patch.diff]. The modifications also handle special cases if a flow is inherited multiple times like given in the following example:
example-flow#state
inherits fromparent-a#state
andparent-b#state
parent-a#state
inherits fromparent-c#state
parent-b#state
inherits fromparent-c#state
example-flow#state
inheritsparent-c#state
two times but in the flow model the additions fromparent-c#state
should occur only once.Affects: 2.4.2
Attachments:
The text was updated successfully, but these errors were encountered: