Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6042 Make content views bookmarkable and exportable
  3. NXP-6044

Provide RAW and PDF render mode for the widgets used in listing mode.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.1
    • Component/s: Layouts & Widgets
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      The mode "plain" is now the default rendering mode for all widget types, instead of "view".
      New modes 'pdf' and 'csv' have been added both on layout and widgets, and need to be handled by custom widget types if they are used to generate pdf or csv files.
      Modes "list" and "list_and_header" used on directory management pages have been changed into "view_list" and "view_list_with_header" to ensure mapping to the view mode instead of plain.

      Show
      The mode "plain" is now the default rendering mode for all widget types, instead of "view". New modes 'pdf' and 'csv' have been added both on layout and widgets, and need to be handled by custom widget types if they are used to generate pdf or csv files. Modes "list" and "list_and_header" used on directory management pages have been changed into "view_list" and "view_list_with_header" to ensure mapping to the view mode instead of plain.

      Description

      Current widgets rendering contains HTML and JS (and this makes sense since their current rendering target is JSF/HTML).
      With Seam additional tags libs, we can use JSF tags to render PDF (via IText), RSS/ATOM (via yarfraw ) and CSV/Excel (via JXL).

      For these rendering targets we need to widgets rendering to provide either :

      • a RAW/Plain mode so that we only get text
      • a support for specific PDF/XL formating tags

      For that we need to :

      • change some of the widgets used in listing mode to make them easily extandable (i.e. use template widgets)
      • add support for new mode (impact on template and mode bindings)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: