[richfaces-issues] [JBoss JIRA] Commented: (RF-4343) inplaceSelect: reRender doesnt's work

Tarcísio Filó (JIRA) jira-events at lists.jboss.org
Fri Aug 29 14:22:38 EDT 2008


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

Tarcísio Filó commented on RF-4343:
-------------------------------------

it's seem that when i got a select item with a content like "kdjakfjda fkdçjsfçkjdsaç jkçfdajçkdsjfçjdsakfj açjfçkdsjfçkdsjçfka fdsfkçdsafasdfkdjakfjda fkdçjsfçkjdsaç jkçfdajçkdsjfçjdsakfj açjfçkdsjfçkdsj", i get a error that make it disabled, but with a strange comportament, that sometimes work and sometimes not. I will see if i have a default comportament, and if i post it.

thanks.

> inplaceSelect: reRender doesnt's work
> -------------------------------------
>
>                 Key: RF-4343
>                 URL: https://jira.jboss.org/jira/browse/RF-4343
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: IE *, Firefox *
>            Reporter: Tarcísio Filó
>   Original Estimate: 4 days
>  Remaining Estimate: 4 days
>
> 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

       




More information about the richfaces-issues mailing list