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
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