[richfaces-issues] [JBoss JIRA] Resolved: (RF-7610) Suggestionbox inputtext onchange

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Jul 28 09:08:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Shaikovsky resolved RF-7610.
---------------------------------

    Resolution: Rejected


https://jira.jboss.org/jira/browse/RF-7527
use search.

> Suggestionbox inputtext onchange 
> ---------------------------------
>
>                 Key: RF-7610
>                 URL: https://jira.jboss.org/jira/browse/RF-7610
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.0, 3.3.1
>         Environment: Firefox 3.0.12
>            Reporter: dennie
>
> Hi, I think there's a problem with the suggestionbox. I have a inputtext which has a suggestionbox connected to it. When I select an item with the keyboard and select it with the enter key everything works as expected. The input field value gets changed and the action is called when the focus is lost. But when I select the item with my mouse the fetchvalue is not set before the onchange action is called. 
> The problem problably is that the focus is transfered when the mouse is used, but it's not consistent for the developer. 
> Example code: 
> <a4j:region immediate="true">
>    <h:inputText value="#{requestObj.value1}" id="input1" >
> 				<a4j:support event="onchange" action="#{requestObj.doAction}"/>
> 		</h:inputText>
> </a4j:region>
> <rich:suggestionbox for="input1" id="inputSuggestion"  
>     fetchValue="#{suggest.number}" immediate="true"
>     suggestionAction="#{suggestionBoxHelper.suggestInput1}" var="suggest">
>   <h:column>
>     <h:outputText value="#{suggest.number}" />
>   </h:column>	
>   <h:column>
>     <h:outputText value="#{suggest.name}" />
>   </h:column>
> </rich:suggestionbox>	

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

        


More information about the richfaces-issues mailing list