[richfaces-issues] [JBoss JIRA] Created: (RF-2355) SuggestionBox: Ajax single doesn't works.

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Feb 29 06:10:58 EST 2008


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: Nick Belaevski
             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

        



More information about the richfaces-issues mailing list