[
http://jira.jboss.com/jira/browse/RF-2355?page=all ]
Nick Belaevski resolved RF-2355.
--------------------------------
Resolution: Out of Date
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
SuggestionBox: Ajax single doesn't works.
-----------------------------------------
Key: RF-2355
URL:
http://jira.jboss.com/jira/browse/RF-2355
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Tsikhon Kuprevich
Priority: Critical
Fix For: 3.2.0
This
<rich:messages/>
<h:inputText required="true"/>
<h:inputText value="#{bean.property}" id="test"
size="50" />
<rich:suggestionbox width="200" height="200"
for="test"
suggestionAction="#{bean.autocomplete}" var="cap"
ajaxSingle="true">
<f:param name="index" value="suggestion param"/>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<a4j:support event="onselect"
action="#{bean.action}">
<f:setPropertyActionListener value="#{cap.label}"
target="#{bean.property1}" />
</a4j:support>
</rich:suggestionbox>
Throws a message.
And this
<rich:messages/>
<h:inputText required="true"/>
<a4j:region>
<h:inputText value="#{bean.property}" id="test"
size="50" />
<rich:suggestionbox width="200" height="200"
for="test"
suggestionAction="#{bean.autocomplete}" var="cap"
ajaxSingle="true">
<f:param name="index" value="suggestion param"/>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<a4j:support event="onselect"
action="#{bean.action}">
<f:setPropertyActionListener value="#{cap.label}"
target="#{bean.property1}" />
</a4j:support>
</rich:suggestionbox>
</a4j:region>
works fine.
Should be the same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira