[richfaces-issues] [JBoss JIRA] Updated: (RF-7464) rich:verbatim tag for serlvet-like capability within Richfaces

Greg Zoller (JIRA) jira-events at lists.jboss.org
Fri Jun 26 18:34:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Zoller updated RF-7464:
----------------------------

    Attachment: verbatim.zip


Unpack this directory into the RF source tree in the 'ui' directory.  Add verbatim to the master pom so it will build and it should build just fine.

When done, your RF library will support a <rich:verbatim> tag where the value is the raw HTML to be put into the dom.  Use like this:

<rich:verbatim value="#{mybean.bigTable}"/>

> rich:verbatim tag for serlvet-like capability within Richfaces
> --------------------------------------------------------------
>
>                 Key: RF-7464
>                 URL: https://jira.jboss.org/jira/browse/RF-7464
>             Project: RichFaces
>          Issue Type: Feature Request
>          Components: component-misc
>    Affects Versions: 3.3.2.CR1
>         Environment: All environments
>            Reporter: Greg Zoller
>             Fix For: 3.3.1
>
>         Attachments: verbatim.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list