]
Svetlana mukhina updated RF-25:
-------------------------------
Component/s: docs updated
Suggestion Box doesn't implement AjaxSource
-------------------------------------------
Key: RF-25
URL:
http://jira.jboss.com/jira/browse/RF-25
Project: RichFaces
Issue Type: Bug
Components: docs updated
Affects Versions: 3.0.0
Environment: JSF 1.2.03, Facelets 1.1.11
Reporter: Ilya Shaikovsky
Assigned To: Alexander Francuzov
Fix For: 3.0.1
Can't use rich:suggestionBox inside dataTable because its impossibmle to add
AjaxListener with ForceRender type to the component.
Exception appears.
<rich:suggestionbox width="200" height="200"
for="suggested" var="caps"
suggestionAction="#{bean.autocomplete}">
<a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender"/>
...
com.sun.facelets.tag.TagException: /pages/inputname.xhtml @21,57 <a4j:ajaxListener>
Parent is not of type AjaxContainer, type is:
org.richfaces.component.html.HtmlSuggestionBox@1e7ce87
at
org.ajax4jsf.taglib.html.facelets.AjaxListenerHandler.apply(AjaxListenerHandler.java:116)
...
P.S. Do not pay much attention to the ajaxContainer string, because in the a4j code there
is a check for the AjaxSource instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: