Class RenderControlsUtils

java.lang.Object
com.levigo.jadice.web.server.rendercontrols.RenderControlsUtils

public class RenderControlsUtils extends Object
  • Constructor Details

    • RenderControlsUtils

      public RenderControlsUtils()
  • Method Details

    • attach

      public static void attach(Document document, String serializedJson)
      Attention: it is absolutely MANDATORY to put the property before the Reader.read(java.net.URL) call. If reader#in is called before setting the document property, we will not have the renderControls applied when loading the document on the client

      The attached json string will be used on the client to restore the RenderControls needed to restore settings like rotation etc.