]
TarcÃsio Filó reopened RF-4343:
---------------------------------
Yes I can do it, but should i do what more to specify where is the error, in what page,
what bean ?
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ó
Priority: Blocker
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: