[richfaces-issues] [JBoss JIRA] Commented: (RF-8000) SuggestionBox and Status conflict

gabrielfc (JIRA) jira-events at lists.jboss.org
Fri Oct 16 22:53:19 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-8000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490217#action_12490217 ] 

gabrielfc commented on RF-8000:
-------------------------------

this is my suggestion box code:

<h:inputText id="codigoEspecialidade" value="#{procedimentoController.procedimento.especialidade.codigo}" size="6">
                                	<a4j:support event="onchange" actionListener="#{especialidadeController.buscarPelaChave}" reRender="nomeEspecialidade" >
                                	    <f:param value="#{procedimentoController.procedimento.especialidade.codigo}" name="codigo"/> 
                                		<f:setPropertyActionListener value="#{especialidadeController.especialidade.nome}" target="#{procedimentoController.procedimento.especialidade.nome}"/>
                                	</a4j:support>
								</h:inputText>
				                <h:inputText value="#{procedimentoController.procedimento.especialidade.nome}" size="40" id="nomeEspecialidade" 
				                			/>
                            	<rich:suggestionbox status="statusComp"  for="nomeEspecialidade" nothingLabel="#{msg['globalMessage.dataNotFound']}"
				                    suggestionAction="#{especialidadeController.autocomplete}" 
				                    fetchValue="#{result.nome}"
				                    var="result">
                    <h:column>
                        <h:outputText value="#{result.codigo}" />
                    </h:column>
                    <h:column>
                        <h:outputText value="#{result.nome}" style="font-style:italic" />
                    </h:column>
                    <a4j:support ajaxSingle="true" event="onselect" reRender="codigoEspecialidade">
                    			<f:setPropertyActionListener value="#{result.codigo}" target="#{procedimentoController.procedimento.especialidade.codigo}"/>
                    </a4j:support>

> SuggestionBox and Status conflict
> ---------------------------------
>
>                 Key: RF-8000
>                 URL: https://jira.jboss.org/jira/browse/RF-8000
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>            Reporter: gabrielfc
>             Fix For: 3.3.2.SR1
>
>
> Hi,
> I have the following code in my template master of my applicantion:
>    <a4j:status id="statusComp" onstart="#{rich:component('modalProcessando')}.show();"
> 	               onstop="#{rich:component('modalProcessando')}.hide();"/>
> 		<rich:modalPanel id="modalProcessando" width="100" height="40">
> 		 	Processing...
> 		</rich:modalPanel>
> And when i extends this template to create my form with a Suggestion Box, this don,t show the list of itens, i think that status show my modal the suggestionbox lost the focus. if i comment this code my suggestion box it,s ok. This is a bug?

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