[JBoss JIRA] Created: (RF-7435) Can't retrieve value from rich:comboBox
by Leonid Sokolin (JIRA)
Can't retrieve value from rich:comboBox
---------------------------------------
Key: RF-7435
URL: https://jira.jboss.org/jira/browse/RF-7435
Project: RichFaces
Issue Type: Bug
Components: component
Environment: Windows XP Profesional, JavaScript
Reporter: Leonid Sokolin
Attachments: piPublisher.xhtml
I use rich:comboBox in my XHTML file and want to reference its selected value in the embedded JavaScript.
Somehow, it couldn't obtain the value from this combo box, if I use the method like the one below:
document.getElementById('piPublisherForm:comboBox').value;
Method works fine for the text box or hidden field though.
Could you answer this question or point me to the right forum to ask it?
--
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
16 years, 9 months
[JBoss JIRA] Created: (RF-7464) rich:verbatim tag for serlvet-like capability within Richfaces
by Greg Zoller (JIRA)
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
16 years, 9 months