Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5
    • Fix Version/s: 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      The ErrorReport class generates HTML with page styling embedded. Can the styling attributes be externalized to a CSS stylesheet? This would make it simpler to customize the appearance on a customized error page.

      Thanks,
      Paul

        Activity

        Hide
        Bob Schellink added a comment -

        +1 sounds good

        Show
        Bob Schellink added a comment - +1 sounds good
        Hide
        Bob Schellink added a comment -

        Had a quick look. ErrorReport is used by both ErrorPage and VelocityTemplateService. Externalizing CSS will work for ErrorPage as the css link can be added to the page header.

        VelocityTemplateService is trickier because the report is rendered directly to the response. One would have to use Javascript to add the css link to the page header. An example ErrorReport that is streamed directly can be found here:
        http://www.avoka.com/click-examples/general/exception.htm?actionLink=brokenContentLink

        Show
        Bob Schellink added a comment - Had a quick look. ErrorReport is used by both ErrorPage and VelocityTemplateService. Externalizing CSS will work for ErrorPage as the css link can be added to the page header. VelocityTemplateService is trickier because the report is rendered directly to the response. One would have to use Javascript to add the css link to the page header. An example ErrorReport that is streamed directly can be found here: http://www.avoka.com/click-examples/general/exception.htm?actionLink=brokenContentLink

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Zammit
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development