[
https://jira.jboss.org/jira/browse/RF-4343?page=com.atlassian.jira.plugin...
]
TarcÃsio Filó updated RF-4343:
--------------------------------
Description:
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.
was: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.
inplaceSelect: reRender doesnt's work
-------------------------------------
Key: RF-4343
URL:
https://jira.jboss.org/jira/browse/RF-4343
Project: RichFaces
Issue Type: Bug
Components: planning
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.
--
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