Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6275 OFBiz code seems make use of other deprecated OFBiz features
  3. OFBIZ-6281

Many classes in framework/widget are still using html-based renderers, instead of macro-based

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk, Bootstrap theme
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2015, Community Day 3 - 2015, Re-Factor Sprint 1

      Description

      The html renderers had hard-coded output. A new system had been developed, which uses macros; this allowed for swapping the output with something more or less advanced, without having to change the code.

      However, many classes are still using the old rendering system.

        Issue Links

          Activity

          Hide
          doogie Adam Heath added a comment -

          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer;
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:82: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated
          [javac17] writer.append(FoScreenRenderer.getFoStyle(widgetStyle));
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:208: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated
          [javac17] writer.append(FoScreenRenderer.getFoStyle(areaStyle));
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:290: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated
          [javac17] writer.append(FoScreenRenderer.getFoStyle(areaStyle));
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:132: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] ScreenRenderer screens = new ScreenRenderer(writer, null, new HtmlScreenRenderer());
          [javac17] ^
          [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/html/HtmlTreeRenderer.java:337: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated
          [javac17] screenStringRenderer = new HtmlScreenRenderer();
          [javac17] ^

          Show
          doogie Adam Heath added a comment - [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:46: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/macro/MacroScreenRenderer.java:65: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] import org.ofbiz.widget.renderer.html.HtmlScreenRenderer.ScreenletMenuRenderer; [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:82: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated [javac17] writer.append(FoScreenRenderer.getFoStyle(widgetStyle)); [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:208: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated [javac17] writer.append(FoScreenRenderer.getFoStyle(areaStyle)); [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/FoFormRenderer.java:290: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.renderer.fo has been deprecated [javac17] writer.append(FoScreenRenderer.getFoStyle(areaStyle)); [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/fo/ScreenFopViewHandler.java:132: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] ScreenRenderer screens = new ScreenRenderer(writer, null, new HtmlScreenRenderer()); [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/widget/src/org/ofbiz/widget/renderer/html/HtmlTreeRenderer.java:337: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.renderer.html has been deprecated [javac17] screenStringRenderer = new HtmlScreenRenderer(); [javac17] ^
          Hide
          deepak.dixit Deepak Dixit added a comment -

          This has been fixed at Trunk at r#1731366

          Show
          deepak.dixit Deepak Dixit added a comment - This has been fixed at Trunk at r#1731366

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              doogie Adam Heath
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile