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

Alexander Dubovsky closed RF-4343.
----------------------------------

    Assignee: Alexander Dubovsky  (was: Tatyana Romanovich)


> inplaceSelect: reRender doesnt's work
> -------------------------------------
>
>                 Key: RF-4343
>                 URL: https://jira.jboss.org/jira/browse/RF-4343
>             Project: RichFaces
>          Issue Type: Bug
>          Components: planning_all
>    Affects Versions: 3.2.1
>         Environment: IE *, Firefox *
>            Reporter: Tarcísio Filó
>            Assignee: Alexander Dubovsky
>             Fix For: 3.3.0
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> After reRender a inplaceSelect component, it is impossible to select an item 
> again. The edit view doesn't work and the component seems to be disabled.
> This is my component in the page:
> <rich:inplaceSelect id="codigoCnae1"
>                                                               
> value="#{emissaoNFSeBean.indicadorAtividadeSelecionada}" layout="block" 
> minSelectWidth="600px" maxSelectWidth="600px" listHeight="400px" 
> listWidth="600px"
>                                                               
> selectWidth="600px" selectOnEdit="true" oneditactivation="if (confirm('Are 
> you sure you
> want to change value?')){return false;}" onselect="alert('fdsafsa');">
>                                                               <f:selectItems 
> value="#{emissaoNFSeBean.tiposAtividades}" />
>                                                               <f:selectItem 
> itemLabel="Outras Atividades" itemValue="0" />
>                                                               <a4j:support 
> event="onviewactivated" 
> action="#{emissaoNFSeBean.selectCnaeCompleteListaServico}" 
> reRender="itemListaServico, indEstimativaParcial, regimeEspecialTributacao, 
> indRegimeEspTrib, panelCnae, critCodAtividade, critDescricao" 
> oncomplete="javascript:openWindowEstParcial();javascript:openAtividade();"/>
>                                                       </rich:inplaceSelect>
> and in this commandLink I set a new value in the itemValue of the 
> inplaceSelect and call a reRender action in my component, and after this, it 
> is impossible to select an item again.
> <a4j:commandLink
>                                                                       
> id="codigo"
>                                                                       
> action="#{emissaoNFSeBean.selecionarAtividadeCnae}"
>                                                                       
> value="#{item.codigoFormatado}" reRender="codigoCnae1, itemListaServico, 
> indEstimativaParcial, regimeEspecialTributacao, indRegimeEspTrib"
>                                                                       
> oncomplete="javascript:openWindowEstParcial(); 
> javascript:Richfaces.hideModalPanel('selecaoCnae');"
>                                                                       
> ></a4j:commandLink>

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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to