With the changes of CLEREZZA-78 the rendering mode is passed to the actual renderlet (an not just used for selecting the correct renderlet description). The motivation for this is to allow generic renderlets delegating to other renderlets using the same mode as it has been invoked with. This means for example that we might register the same ScalaServerPage with different modes, the scala server delegates rendering using the render fucntion and forwarding the mode (variable mode), some of the delegated parts will be rendered differently depending on the mode. Previous to this change one would have had to make two variants of the ScalaServerPage.
Incompatible changes: - The org.apache.clerezza.platform.typerendering.Renderlet interface changed, this affects serveral the bundles with "typerendering" in their artifact-id as well as platform content - The compiled scalaserverpages get incompatible, but the cache with this classes should be wiped by refreshing the ScalaServerPages bundle Other changes: - In ScalaServerPages there's now the variable /mode/, a String containg the current rendering mode - in seedsnipe the function /mode()/ returns the mode Cheers, reto https://issues.apache.org/jira/browse/CLEREZZA-78
