Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-7464

rich:verbatim tag for serlvet-like capability within Richfaces

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 3.3.2.CR1
    • Fix Version/s: None
    • Component/s: component-misc
    • Labels:
      None
    • Environment:

      All environments

    • Estimated Difficulty:
      Low

      Description

      Have you ever needed a servlet-like ability to inject some server-generated HTML directly into the DOM but still want to be within the Richfaces environment? Sure you can use JSF's <f:verbatim> tag but...this tag (at least in my JSF implementation) has some undesirable caching with this tag that makes rerendering come from the cache--not good if your backing server-side data changed!

      The proposed feature is the <rich:verbatim> tag. This works within Richface's environment (so rerendering etc. works just fine) and allows you to insert any server-generated HTML code into the DOM.

      Why would you want to do this? Sometimes you just need to bypass JSF, for example for performance reasons. JSF is particularly performance-challenged when rendering very large tables, as I outlined here: http://seamframework.org/Community/LargeTablePerformance2IgnoreOtherPost

      Using <rich:verbatim> gets around this limitation nicely. As an added advantage, since Richfaces is well-integrated w/Seam your server-side code has full access to Seam's contexts, which a true servlet would not.

      I've got a patch to the 3.3.1.GA source that implements this tag, which I will attach to this ticket if JIRA will let me.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gwzoller Greg Zoller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: